XPRSgetcpcuts


Purpose
Returns cuts from the cut pool. A list of cut pointers in the array mindex must be passed to the routine. The columns and elements of the cut will be returned in the regions pointed to by the mcols and dmatval parameters. The columns and elements will be stored contiguously and the starting point of each cut will be returned in the region pointed to by the mstart parameter.
Synopsis
int XPRS_CC XPRSgetcpcuts(XPRSprob prob, XPRScut mindex[], int ncuts, int size, int mtype[], char qrtype[], int mstart[], int mcols[], double dmatval[], double drhs[]);
Arguments
prob 
The current problem.
mindex 
Array of length ncuts containing the pointers to the cuts.
ncuts 
Number of cuts to be returned.
size 
Maximum number of column indices of the cuts to be returned.
mtype 
Integer array of length at least ncuts where the cut types will be returned.
qrtype 
Character array of length at least ncuts where the sense of the cuts (L, G, or E) will be returned.
mstart 
Integer array of length at least ncuts+1 containing the offsets into the mcols and dmatval arrays. The last element indicates where cut ncuts+1 would start.
mcols 
Integer array of length size where the column indices of the cuts will be returned.
dmatval 
Double array of length size where the matrix values will be returned.
drhs 
Double array of length at least ncuts where the right hand side elements for the cuts will be returned.
Related topics
XPRSgetcpcutlist, XPRSgetcutlist, Working with the Cut Manager.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.