Create second-order cone constraint
The secondordercone
function creates a second-order cone
constraint representing the inequality
from the input matrices A
, b
, d
,
and gamma
.
creates a second-order cone constraint object socConstraint
= secondordercone(A
,b
,d
,gamma
)socConstraint
.
Solve problems with second-order cone constraints by using the coneprog
function. To represent multiple cone constraints, pass an array of these constraints to
coneprog
as shown
in the example Several Cone Constraints.