XPRSsetcbcutmgr


Purpose
Declares a user-defined cut manager routine, called at each node of the Branch and Bound search.
Synopsis
int XPRS_CC XPRSsetcbcutmgr(XPRSprob prob, int (XPRS_CC *fcme)(XPRSprob my_prob, void *my_object), void *object);
Arguments
prob 
The current problem
fcme 
The callback function which takes two arguments, my_prob and my_object, and has an integer return value. This function is called at each node in the Branch and Bound search.
my_prob 
The problem passed to the callback function, fcme.
my_object 
The user-defined object passed as object when setting up the callback with XPRSsetcbcutmgr.
object 
A user-defined object to be passed to the callback function, fcme.
Related Controls
Integer
Number of extra matrix elements to be allowed for.
Number of extra rows to be allowed for.

Further information
1. For maximum efficiency, the space-allocating controls EXTRAROWS, EXTRAELEMS should be specified by the user if their values are known. If this is not done, resizing will occur automatically, but more space may be allocated than the user requires.
2. The cut manager routine will be called repeatedly at each node until it returns a value of 0. The sub-problem is automatically optimized if any cuts are added or deleted.
3. The Xpress‑Optimizer ensures that cuts added to a node are automatically restored at descendant nodes. To do this, all cuts are stored in a cut pool and the Optimizer keeps track of which cuts from the cut pool must be restored at each node.
Related topics
XPRSsetcbcutlog, XPRSsetcbfreecutmgr, XPRSsetcbinitcutmgr.


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