14.2.6 Class ConicConstraint¶
- mosek.fusion.ConicConstraint¶
This class represents a conic constraint of the form
\[Ax-b \in \K\]where \(\K\) is a cone. Then class is never explicitly instantiated, but is created using
Model.Constraint
by specifying a conic domain.Note that a conic constraint in Fusion is always dense in the sense that all member constraints are created in the underlying optimization problem immediately.
- Implements:
- Members:
ConicConstraint.ToString – Create a human readable string representation of the constraint.
Constraint.Dual – Get the dual solution values of the constraint.
Constraint.GetModel – Return the model that the constraint belongs to.
Constraint.GetND – Return the number of dimensions in the constraint shape.
Constraint.GetShape – Return the constraint’s shape.
Constraint.GetSize – Return the total number of elements in the constraint.
Constraint.Index – Get a single element from a constraint.
Constraint.Level – Get the primal solution values of the constraint.
Constraint.Slice – Create a slice constraint.
Constraint.Update – Update part of a constraint.
ModelConstraint.Remove – Remove the constraint from the model.
- ConicConstraint.ToString¶
string ToString()
Create a human readable string representation of the constraint.
- Return:
(
string
)