(X,y,Z,stat) = optimize P
(X,y,Z,stat) = optimize(P,y0)
This method solves a semidefinite programming problem. There is an interface to the solvers CSDP, SDPA and MOSEK. The default solver is CSDP, which is preinstalled with Macaulay2. Alternatively, there is rudimentary dual interior point method implemented entirely in Macaulay2 language.
|
|
|
References: Convex Optimization, Boyd, Vandenberghe, Cambridge University Press (2004), pp. 618-619, pp. 463-466.
The "M2" solver might fail if the dual problem is not strictly feasible. It also does not return the primal solution.
The object optimize is a method function with options.