XPRSaddcbestimate
XPRSaddcbestimate |
int XPRS_CC XPRSaddcbestimate(XPRSprob prob, int (XPRS_CC *f_estimate)(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, int priority);
prob
|
The current problem.
|
f_estimate
|
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,
f_estimate.
|
my_object
|
The user-defined object passed as
object when setting up the callback with
XPRSaddcbestimate.
|
iglsel
|
Selected user global entity. Must be non-negative or -1 to indicate that there is no user global entity candidate for branching. If set to -1, all other arguments, except for
nglinf and
degsum are ignored. This argument is initialized to -1.
|
iprio
|
Priority of selected user global entity. This argument is initialized to a value larger (i.e., lower priority) than the default priority for global entities (see Section
Variable Selection for Branching in Section
Branch and Bound).
|
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. The user separate routine (set up with
XPRSaddcbsepnode) will be called
nbr times in order to create the actual branches.
|
object
|
A user-defined object to be passed to the callback function,
f_estimate.
|
priority
|
An integer that determines the order in which multiple estimate callbacks will be invoked. The callback added with a higher priority will be called before a callback with a lower priority. Set to 0 if not required.
|
© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.