Description Usage Arguments Value Examples
Function to build constraints.
1 | Constraint(name, expr, iterator = list(), description = "")
|
name |
constraint name. |
expr |
mathematical expression to build the constraints. |
iterator |
iterator to build the collection of constraints. |
description |
constraints description. |
Object of ConstraintClass or ConstraintElementClass class .
1 2 | D <- Var("D")
Constraint("Demand", D <= 2, description = "max demand.")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.