Last chance! 50% off unlimited learning
Sale ends in
C
-routines written by Lobo, Vandenberghe and Boyd (see
reference below).Socp(f, A, b, C, d, N,
x = NULL, z = NULL, w = NULL, control = list())
length(f)==length(x)
L
, defining the size of each constraint.list
-object with the following elements:out_mode
in SocpControl
.TRUE
indicates successful
convergence.abs.tol
-- maximum absolute error in objective
function; guarantees that for any x:$abs(f'*x - f'*x\_opt) <= abs\_tol$.<="" li="">rel.tol
-- maximum relative error in objective
function; guarantees that for any x:$abs(f'*x -
f'*x\_opt)/(f'*x\_opt) <= rel\_tol="" (if="" f'*x\_opt=""> 0)$. Negative
value has special meaning, see target next.target
-- if$rel\_tol<0$, stops="" when$f'*x="" <="" target="" or="" -b'*z="">= target$.max.iter
-- limit on number of algorithm outer iterations.
Most problems can be solved in less than 50 iterations. Called withmax_iter = 0
only checks feasibility ofx
andz
,
(and returns gap and deviation from centrality).rel_tol
is negative and
the primal objective$p$is less than thetarget
.SocpPhase1
, SocpPhase2
, SocpControl