XPRSsetcbestimate


Purpose
Declares an estimate callback function. If defined, it will be called at each node of the branch and bound tree to determine the estimated degradation from branching the user's global entities.
Synopsis
int XPRS_CC XPRSsetcbestimate(XPRSprob prob, int (XPRS_CC *fbe)(XPRSprob my_prob, void *my_object, int *iglsel, int *iprio, double *degbest, double *degworst, double *curval, int *ifupx, int *nglinf, double *degsum, int *nbr), void *object);
Arguments
prob 
The current problem.
fbe 
The callback function which takes eleven arguments, my_prob, my_object, iglsel, iprio, degbest, degworst, curval, ifupx, nglinf, degsum and nbr, and has an integer return value. This function is called at each node of the Branch and Bound search.
my_prob 
The problem passed to the callback function, fbe.
my_object 
The user-defined object passed as object when setting up the callback with XPRSsetcbestimate.
iglsel 
Selected user global entity (must be non-negative).
iprio 
Priority of selected user global entity.
degbest 
Estimated degradation from branching on selected user entity in preferred direction.
degworst 
Estimated degradation from branching on selected user entity in worst direction.
curval 
Current value of user global entities.
ifupx 
Preferred branch on user global entity (0,...,nbr-1).
nglinf 
Number of infeasible user global entities.
degsum 
Sum of estimated degradations of satisfying all user entities.
nbr 
Number of branches.
object 
A user-defined object to be passed to the callback function, fbe.
Related topics
XPRSsetbranchcuts, XPRSsetcbsepnode, XPRSstorecuts.


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