Initializing help system before first use

XPRSgetcutslack

XPRSgetcutslack


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
int XPRS_CC XPRSgetcutslack(XPRSprob prob, XPRScut cut, double* dslack);
Arguments
prob 
The current problem.
cuts 
Pointer of the cut for which the slack is to be calculated.
dslack 
Double pointer where the value of the slack is returned.
Related topics