Utility function to pass control parameters to csdp solver.
csdp.control(axtol = 1e-08,
atytol = 1e-08,
objtol = 1e-08,
pinftol = 1e+08,
dinftol = 1e+08,
maxiter = 100,
minstepfrac = 0.9,
maxstepfrac = 0.97,
minstepp = 1e-08,
minstepd = 1e-08,
usexzgap = 1,
tweakgap = 0,
affine = 0,
printlevel = 1,
perturbobj = 1,
fastmode = 0)
A list with values for all parameters. Any parameters not passed to function are set to default.
Tolerance for primal feasibility.
Tolerance for dual feasibility.
Tolerance for relative duality gap.
Tolerance for primal infeasibility.
Tolerance for dual infeasibility.
Maximum number of iterations used.
Minimum distance to edge of feasibility region for step.
Maximum distance to edge of feasibility region for step.
Failure is declared if primal line search step size is shorter than this parameter.
Failure is declared if dual line search step size is shorter that this parameter.
If 0, then use objective function duality gap.
If 1 (and usexzgap
=0) then "fix" negative duality gaps.
If 1, only use affine primal-dual steps and do not use barrier function.
If 0, no printing, 1 normal printing, higher values result in more debug printing.
Amount of objective permutation used.
If 1, csdp will be faster but also less accurate.
Hector Corrada Bravo, CSDP by Brian Borchers
Parameters are fully described in CSDP user guide. https://github.com/coin-or/Csdp/
params <- csdp.control(axtol=1e-6)
Run the code above in your browser using DataLab