AddConstraint Method

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodAddConstraint(Constraint, String)
Adds constraint to this model instance if it is consistent. If you choose to provide a name, the name of the constraint will be overridden. You need to make sure that the name of the constraint is unique.
Public methodAddConstraint(String, Double, Double, Expression)
Adds a new constraint to this model instance if it is consistent.

See Also