Is it it possible to make fmincon strictly follows the nonlinear constraints?

3 visualizaciones (últimos 30 días)
I have searched and read many articles but didn't find the answer.
I often use the fmincon interior-point algorithm. I understand that fmincon may violates the nonlinear constraints. My question is it it possible to make it STRICTLY follows the nonlinear constraints? The nonlinear constraints HAVE to be followed in my problem.
Is there any way? Thank you very much!
  2 comentarios
Matt J
Matt J el 7 de Mayo de 2023
The nonlinear constraints HAVE to be followed in my problem.
Or else what will happen?
Frank
Frank el 8 de Mayo de 2023
The problem is not physical. For example, (1) energy becomes negative; (2) Snell's law is violated.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Mayo de 2023
No.

Más respuestas (0)

Categorías

Más información sobre Nonlinear Optimization en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by