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

3 vues (au cours des 30 derniers jours)
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 commentaires
Matt J
Matt J le 7 Mai 2023
The nonlinear constraints HAVE to be followed in my problem.
Or else what will happen?
Frank
Frank le 8 Mai 2023
The problem is not physical. For example, (1) energy becomes negative; (2) Snell's law is violated.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Mai 2023
No.

Plus de réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by