How to formulate a non convex equality constraint for fmincon?

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

"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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

질문:

2018년 5월 1일

댓글:

2018년 5월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by