constraint-class | R Documentation |
constraint
is an S4 class for representing a single constraint.
constraint
the numeric index of the constraint.
constraint_id
the character ID of the constraint.
nc
the number of MIP-format constraints translated from this constraint.
mat,dir,rhs
these represent MIP-format constraints. A single MIP-format constraint is associated with a row in mat
, a value in rhs
, and a value in dir
.
the i-th row of mat
represents LHS coefficients to use on decision variables in the i-th MIP-format constraint.
the i-th value of rhs
represents RHS values to use in the i-th MIP-format constraint.
the i-th value of dir
represents the imposed constraint between LHS and RHS.
suspend
TRUE
if the constraint is not to be imposed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.