How to formulate a non convex equality constraint for fmincon?

1 Ansicht (letzte 30 Tage)
Viswanath Hariharan
Viswanath Hariharan am 1 Mai 2018
Kommentiert: Torsten am 2 Mai 2018
I have an equality constraint that needs to be formulated into fmincon.
v'*Mp*v - v'*Mn*v - Pf = 0.
where Pf is a scalar variable, v is a variable vector, Mp and Mn are symmetric positive semi-definite matrices but -v'*Mn*v is a concave function. As a result, formulating the above equation as it is isn't working.
How do I formulate this constraint in MATLAB for fmincon?
  1 Kommentar
Torsten
Torsten am 2 Mai 2018
"fmincon" does not take care of concavity or convexity of the functions involved. Thus I don't know why entering your formula as a nonlinear constraint in "nonlcon" should not work.
Best wishes
Torsten.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by