14.2.32 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)