Purpose
Fix values
of global entitites according to the current solution.
Synopsis
procedure fixglobal
Example
Solve the MIP problem, reload the problem after solving, fix global entities to their solution values, and finally solve the
LP for the continous variables in order to be able to use getrange.
minimize(obj)
loadprob(true, obj)
fixglobal
minimize(XPRS_TOP+XPRS_LIN, obj)
writeln(getrange(XPRS_UPACT,x))
Further information
This procedure fixes the non-continuous
variables to their value of the current solution. A call to this
function is required when performing sensitivity analysis on MIP
problems using
getrange.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.