Optimization using fmincon with respect to 2 variables
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question

Accepted Answer
0 votes
21 Comments
- At the initial iteration (iteration 0), fmincon takes 6435 function evaluations, presumably because that is about how many variables you have and it is estimating a gradient by finite difference steps.
- The initial point has an objective function value of 14.5.
- The feasibility at the initial point is about 2e11, which means that the initial point is infeasible (this is a very large value, so the initial point is nowhere close to feasible).
- The estimated first-order optimality measure at the initial poiint is about 1e6, which again is nowhere close to 0, so the initial point is not only infeasible but is not close to a solution.

- If the lb, ub are inconsisten, or the A, b are inconsistent, or the Aeq, beq are inconsistent ?
- If it has used lb, ub, A, b, Aeq, beq to break down the search space into all polytope subspaces, and it has explored the function value at boundaries and in the centroid of each of the subspaces, and finds no evidence that the nonlinear constraints can be satisfied?
More Answers (0)
Categories
Find more on Choose a Solver in Help Center and File Exchange
Tags
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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)