fmincon, nonlinear inequality constraints satisfied, but also minimized

1 visualización (últimos 30 días)
Mads
Mads el 6 de Jun. de 2014
Comentada: MiguelMauricio el 6 de Jun. de 2014
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 comentario
MiguelMauricio
MiguelMauricio el 6 de Jun. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by