constraint-class {TestDesign} | R Documentation |
Class 'constraint': a single constraint
Description
constraint
is an S4 class for representing a single constraint.
Slots
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 inrhs
, and a value indir
.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.
[Package TestDesign version 1.6.1 Index]