You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
lsqnonlin optimization: large condition number of Jacobian matrix at all iterations, but full rank
Accepted Answer
39 Comments
Well, there's nothing enforcing your convexity constraint at the moment. So, whether you include them or not doesn't seem to make a difference.
The constraints on the parameters are implemented in A*x<b. A and b are passed to lsqnonlin. Some (not all) rows of A depend on x(2) and x(9).
If you have a PDE to satisfy, I think it should be implemented as a nonlinear constraint.
Maybe worth do try that in the future. I agree with you that probably the pde solver is the bottleneck currently.
Just shortly: if I can manage to implement my pde as a nonlinear conatraint, what is the purpose of the objective function then? Right now, the objective is called with a point in parameter space and the pde solver returns gsim and J at that point. But if the pde solver is not there anymore, how do I feed lsqnonlin with gsim and J?
More Answers (1)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)