Hi,
I tested 3 formulations with the Python Fusion API and get very different results for this SDP:
min_{x inPSD(n)} <c,x>: <a,x>=1, 0<=x<=1
1/ define variable x in domain inPSDCone(n) and set 1 constraint (x, inRange(0.0,1.0))
2/ define variable x in domain inPSDCone(n) and set 2 constraints (x, greaterThan(0.0)) and (x, lessThan(1.0))
3/ define variable x in domain [n,n] inRange(0.0,1.0) and set 1 constraint (x, inPSDCone())
For an instance of size n=66, the CPU times are respectively:
1/ 5s, 2/ 33s, 3/ 0.8s
I didn't expect such volatily or is there an explanation ?
In particular, the examples of SDP in the documentation tend to encourage the "bad" formulations 1 or 2 (i.e. declare conic variable).
Thank you very much for your time and answer
Sophie.