Closed JianqiangDing closed 1 year ago
Another question, actually, I don't understand the meaning of this warning. can you explain a little bit to me what is the best way to construct sos constraints in general? and what condition triggers this warning?
I think you completely misunderstood the point/use of sum-of-squares programming as this code makes no sense at all, to the point that I can hardly point at the specific errors as it is so messed up
Saying v<=0 when g(d)>=0 makes no sense when v is a parameter and d independent. It is either positive or negative, and since it has to be negative sometimes, it is thus known to be negative.
since u is a parameter, it makes no sense to model its constraints via sos constructs
I think you simply should not use sos, you are on the wrong track.
thank you for your kind response, I re-check yalmip docs relate to sos, you are right, I misunderstood what is parametric variables in a sos problem such that I provide a toy example makes no sense at all.
thank you for your time, sincerely.
Hi, I am new to yalmip, I am trying to use yalmip to solve a problem with sos constraints using mosek backend, but it failed. Am I wrong somewhere in modeling the problem? Here is the code,
Any suggestion would be helpful. :)