Initializing help system before first use

problem.getcutslack

problem.getcutslack


Purpose
Used to calculate the slack value of a cut with respect to the current LP relaxation solution. The slack is calculated from the cut itself, and might be requested for any cut (even if it is not currently loaded into the problem).
Synopsis
slack = problem.getcutslack(cut)
Arguments
cuts 
Cut object for which the slack is to be calculated.
slack 
Value of the slack.
Related topics
problem.getcpcutlist, problem.delcpcuts, problem.getcutlist, problem.loadcuts, problem.getcutmap, problem.getcpcuts, Section "Working with the cut manager" of the Xpress Optimizer reference manual.