XPRBprobfixMIPEntities(Boolean) Method |
Fix all the global entities.
Fixes the global entities to the values of the last found MIP solution. This
is useful for finding the reduced costs for the continuous variables after the
global variables have been fixed to their optimal values.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic void fixMIPEntities(
bool ifRound
)
Public Sub fixMIPEntities (
ifRound As Boolean
)
Parameters
- ifRound Boolean
-
if all global entities should be rounded to the nearest discrete value in the solution
before being fixed.
ExampleXPRBprob expl2;
expl2 = new XPRBprob("example2");
expl2.mipOptimize();
expl2.fixMIPEntities();
expl2.lpOptimize();
See Also