Initializing help system before first use

XPRSaddcbslpdrcol

Purpose
Add a user callback used to override the update of variables with small determining column
Topic areas
Synopsis
int XPRS_CC XPRSaddcbslpdrcol(XPRSprob prob, int (XPRS_CC *slpdrcol) (XPRSprob cbprob, void *data, int col, int detcol, double detval, double * p_value, double lb, double ub), void *data, int priority);
Arguments
prob 
The current problem.
slpdrcol 
The function to be called during cascading for each variable with a determining column slpdrcol returns an integer value. If the return value is positive, it will indicate that the value has been fixed, and cascading should be omitted for the variable. A negative value indicates that a previously fixed value has been relaxed. If no action is taken, a 0 return value should be used.
cbprob 
The problem passed to the callback function.
data 
The user-defined object passed as data to XPRSaddcbslpcascadevar.
col 
The index of the column for which the determining columns is checked.
detcol 
The index of the determining column for the column that is being updated.
detval 
The value of the determining column in the current SLP iteration.
p_value 
Used to return the new value for column col, should it need to be updated, in which case the callback must return a positive value to indicate that this value should be used.
lb 
The original lower bound of column col. The callback provides this value as a reference, should the bound be updated or changed during the solution process.
ub 
The original upper bound of column col. The callback provides this value as a reference, should the bound be updated or changed during the solution process.
data 
Address of a user-defined object, which can be used for any purpose. by the function. data is passed to slpdrcol as data.
priority 
An integer that determines the order in which callbacks of this type 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.
Further information
If set, this callback is called as part of the cascading procedure. Please see Chapter Cascading for more information.
Related topics

© 2001-2025 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.