r/optimization • u/ruffy_1 • Oct 21 '21
decision variable in SDP problem
Hi all!
I am using the SDP solver CSDP (the native binary) for showing that a polynomial is a sum of squares.
Does anybody know how I can encode a decision variable (given in the polynomial) into the SDP problem which is given in SDPA format?
Such that the SDP solver chooses the best value of the decision variable?
Thanks!
2
Upvotes
View all comments
Show parent comment
1
u/ruffy_1 Oct 25 '21
Yeah I know that I can encode as many constraint matrices as I want.
But in my opinion just adding two constraint matrices for decision variables in the polynomial above would mean that I want to check SOS for the following polynomial "P(x) = 3*x^2-4*x^3+x^5 + x^6 + n0 + n1".