fmincon, nonlinear inequality constraints satisfied, but also minimized

2 views (last 30 days)
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?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by