fmincon, nonlinear inequality constraints satisfied, but also minimized
1 view (last 30 days)
Show older comments
I have fmincon running a nonlinear constrained problem, with inequality constraints. I have checked with the derivative checker that everything is fine. The optimization runs, but the constraints are being minimized even though they are below the boundary, and it makes the objective minimization go the wrong direction.
So why does it try to minimize well satisfied constraints, when it also worsens the objective?
1 Comment
MiguelMauricio
on 6 Jun 2014
Hej Mads, could you show us a bit how is your problem? As you say, it should not try to minimize in the constraints direction. Have you checked that both the constraints and the objective function are properly defined?
Answers (0)
See Also
Categories
Find more on Nonlinear Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!