Initializing help system before first use

XPRSgetcutmap

XPRSgetcutmap


Purpose
Used to return in which rows a list of cuts are currently loaded into the Optimizer. This is useful for example to retrieve the duals associated with active cuts.
Synopsis
int XPRS_CC XPRSgetcutmap(XPRSprob prob, int ncuts, const XPRScut cuts[], int cutmap[]);
Arguments
prob 
The current problem.
ncuts 
Number of cuts in the cuts array.
cuts 
Pointer array to the cuts for which the row index is requested.
cutmap 
Integer array of length ncuts, where the row indices are returned.
Further information
For cuts currently not loaded into the problem, a row index of -1 is returned.
Related topics