Purpose
 
 
 Set nonlinear callback functions and
 
  procedures.
 
  Synopsis
 
 
 procedure setcallback(cbtype:integer, cb:string)
 
 
  Arguments
 
 
 
  
   | 
     cbtype 
     | 
     Type of the callback:
     
     
      
       | 
         XSLP_CB_ITERSTART 
         | 
         SLP iteration start callback
         |  
       | 
         XSLP_CB_ITEREND 
         | 
         SLP iteration end callback
         |  
       | 
         XSLP_CB_ITERVAR 
         | 
         Nonlinear variable convergence check callback
         |  
       | 
         XSLP_CB_CASCADESTART 
         |  |  
       | 
         XSLP_CB_CASCADEVAR 
         | 
         Variable cascaded callback
         |  
       | 
         XSLP_CB_CASCADEEND 
         |  |  
       | 
         XSLP_CB_START 
         |  |  
       | 
         XSLP_CB_END 
         |  |  
       | 
         XSLP_CB_PRENODE 
         | 
         MISLP node setup callback
         |  
       | 
         XSLP_CB_INTSOL 
         | 
         New integer solution found callback
         |  
       | 
         XSLP_CB_OPTNODE 
         | 
         MISLP node solved and (SLP) optimal callback
         |  
       | 
         XSLP_CB_CONSTRUCT 
         |  |  
       | 
         XSLP_CB_MSJOBSTART 
         | 
         A new multistart job is about to be solved callback
         |  
       | 
         XSLP_CB_MSJOBEND 
         | 
         A multistart job has been solved callback
         |  
       | 
         XSLP_CB_MSWINNER 
         | 
         Winner multistart job callback
         |  | 
  
   | 
     cb 
     | 
     Name of the callback function/procedure; the parameters and the type of the return value (if any) vary depending on the type of the callback:
     
     
      
       | 
         function cb:integer 
         | 
         XSLP_CB_ITERSTART
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_ITEREND
         |  
       | 
         function cb(var:mpvar) : integer 
         | 
         XSLP_CB_ITERVAR
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_CASCADESTART
         |  
       | 
         function cb(var:mpvar):integer 
         | 
         XSLP_CB_CASCADEVAR
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_CASCADEEND
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_START
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_END
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_PRENODE
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_INTSOL
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_OPTNODE
         |  
       | 
         function cb:integer 
         | 
         XSLP_CB_CONSTRUCT
         |  
       | 
         function cb(description:string):integer 
         | 
         XSLP_CB_MSJOBSTART
         |  
       | 
         function cb(description:string):integer 
         | 
         XSLP_CB_MSJOBEND
         |  
       | 
         function cb(description:string):integer 
         | 
         XSLP_CB_MSWINNER
         |  | 
 
 
  Module
 
 
                 
                
                    © 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.