fmincon, nonlinear inequality constraints satisfied, but also minimized

1 vue (au cours des 30 derniers jours)
Mads
Mads le 6 Juin 2014
Commenté : MiguelMauricio le 6 Juin 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 commentaire
MiguelMauricio
MiguelMauricio le 6 Juin 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?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by