Initializing help system before first use

XSLPsetcbdrcol

XSLPsetcbdrcol


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 *UserFunc) (XSLPprob myProb, void *myObject, int ColIndex, int DrColIndex, double DrColValue, double * NewValue, double VLB, double VUB), void *Object);
Arguments
Prob 
The current SLP problem.
UserFunc 
The function to be called after each column has been cascaded. UserFunc 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.
myProb 
The problem passed to the callback function.
myObject 
The user-defined object passed as Object to XSLPsetcbcascadevar.
ColIndex 
The index of the column for which the determining columns is checked.
DrColIndex 
The index of the determining column for the column that is being updated.
DrColValue 
The value of the determining column in the current SLP iteration.
NewValue 
Used to return the new value for column ColIndex, should it need to be updated, in which case the callback must return a positive value to indicate that this value should be used.
VLB 
The original lower bound of column ColIndex. The callback provides this value as a reference, should the bound be updated or changed during the solution process.
VUB 
The original upper bound of column ColIndex. The callback provides this value as a reference, should the bound be updated or changed during the solution process.
Object 
Address of a user-defined object, which can be used for any purpose. by the function. Object is passed to UserFunc as myObject.
Further information
If set, this callback is called as part of the cascading procedure. Please see Chapter Cascading for more information.
Related topics