NCsetSolver

description:

NCsetSolver(solvername) sets the solver to be used for SDP in NCsos, NCmin, NCdiff, NCisConvex0, NCcycSos, NCcycMin, NCisCycConvex, NCcycOpt, fac_reduct ... and overrides the value set in the global option file NCparam.m. NCsetSolver, when called with no arguments returns the current solver.

arguments:

no arguments or a string for SDP solver (currently SeDuMi, SDPA-M and SDPT3 are supported)

output:

new or current solver

possible usage:

NCsetSolver, NCsetSolver(solvername)

example:

>> NCsetSolver('sedumi')

ans = SeDuMi

>> NCsetSolver('sdpa')

ans = SDPA

>> NCsetSolver('sdpt3')

ans = SDPT3

>> NCsetSolver('sdpt3-v3')

ans = SDPT3-v3