Initializing help system before first use

XSLPsetcbdrcol, XPRSsetcbslpdrcol

Purpose
Set a user callback used to override the update of variables with small determining column
Synopsis
int XPRS_CC XSLPsetcbdrcol(XSLPprob prob, int (XPRS_CC *drcol) (XSLPprob prob, void *data, int col, int detcol, double detval, double * p_value, double lb, double ub), void *data);
Arguments
prob 
The current SLP problem.
drcol 
The function to be called after each column has been cascaded. drcol 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.
prob 
The problem passed to the callback function.
data 
The user-defined object passed as data to XSLPsetcbcascadevar.
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 drcol as data.
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.