Clear Filters
Clear Filters

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

1 view (last 30 days)
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 Comments
Matt J
Matt J on 7 May 2023
The nonlinear constraints HAVE to be followed in my problem.
Or else what will happen?
Frank
Frank on 8 May 2023
The problem is not physical. For example, (1) energy becomes negative; (2) Snell's law is violated.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 7 May 2023
No.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!