setIncludeVars Method
Set the contstraint type. This method changes the type of a previously defined constraint from ordinary constraint to 'include vars' and vice versa. 'include vars' constraints are non-binding (type N) constraints used only to force loading of their variables into the optimizer. Constraint properties 'model cut', 'delayed constraint', 'indicator constraint' and 'include vars' are mutually exclusive. When changing one of this types to another you must first reset the corresponding type to 0.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- i
-
Type:
SystemBoolean
true for include vars constraint, false for ordinary constraint

XPRBprob expl2; XPRBctr ctrl; expl2 = new XPRBprob("example2"); ctrl = expl2.newCtr("r1"); ctr1.setIncludeVars(true);
