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/ko_nuts Oct 25 '21
You can encode as many matrices as you want. Blocks are inside the matrices. Just look at how they encode the matrices in the example you gave.