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