inverse of sdpvar in Yalmip

15 Ansichten (letzte 30 Tage)
Sana Ben Hmouda
Sana Ben Hmouda am 22 Jan. 2018
Beantwortet: Johan Löfberg am 22 Jan. 2018
Hello, I need to implement the inverse of an sdpvar matrix in an LMI (by means of Yalmip toolbox) but an error message indicating that "inv" is not valid for sdpvar matrix appears. Could someone help me please to define the inverse of my sdpvar matrix? (Matlab refuses even a manual implementation od the inverse of my sdpvar)

Antworten (1)

Johan Löfberg
Johan Löfberg am 22 Jan. 2018
Please use the dedicated YALMIP Google groups forum instead
Answer: You basically cannot. Inverse operator is a horrible operator, and YALMIP is mainly about structured optimization. You should primarily try to look at your model, and come up with a clever linearizing variable change. The only way otherwise is to introduce a new variable and add the constraint X*Y==I (which of course will lead to a nasty nonconvex program which you most likely cannot solve anyway)

Kategorien

Mehr zu Numerical Integration and Differential Equations 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