This function is the interface to the reference class SOCC for
creating second-oder cone constraints.
socc(F, g, d, f)List with elements: conType, G and h.
Object of class "matrix": The matrix appearing in the
norm-expression on the left-hand side of a second-order cone constraint.
Object of class "numeric": The vector appearing in the
norm-expression on the left-hand side of a second-order cone constraint.
Object of class "numeric": The vector appearing on the
right-hand side of a second-order cone constraint.
Object of class "numeric": The scalar appearing on the
right-hand side of a second-order cone constraint.
A second-order cone constraint is given as \(|| Fx + g ||_2 \le d'x + f\). The matrix \(G\) is created as \(G = [-d, -F]\) and the vector \(h\) is constructed as \(h = [f, g]\).