14.2.31 Class RangedConstraint

mosek.fusion.RangedConstraint

Represents a ranged constraint. The dual of a ranged constraint is the difference between upper and lower dual. To get them separately use the intermediate objects created with RangedConstraint.LowerBoundCon and RangedConstraint.UpperBoundCon.

Implements:

ModelConstraint

Members:

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.

ModelConstraint.ToString – Create a human readable string representation of the constraint.

RangedConstraint.LowerBoundCon – Obtain the interface to the variable’s lower bound.

RangedConstraint.UpperBoundCon – Obtain the interface to the variable’s upper bound.

RangedConstraint.LowerBoundCon
BoundInterfaceConstraint LowerBoundCon()

Obtain the interface to the variable’s lower bound.

Return:

(BoundInterfaceConstraint)

RangedConstraint.UpperBoundCon
BoundInterfaceConstraint UpperBoundCon()

Obtain the interface to the variable’s upper bound.

Return:

(BoundInterfaceConstraint)