Purpose
Interrupts the optimizer algorithms.
Synopsis
int XPRS_CC XPRSinterrupt(XPRSprob prob, int reason);
Arguments
prob
|
The current problem.
|
reason
|
The reason for stopping. Possible reasons are:
XPRS_STOP_TIMELIMIT
|
time limit hit;
|
XPRS_STOP_CTRLC
|
control C hit;
|
XPRS_STOP_NODELIMIT
|
node limit hit;
|
XPRS_STOP_ITERLIMIT
|
iteration limit hit;
|
XPRS_STOP_MIPGAP
|
MIP gap is sufficiently small;
|
XPRS_STOP_SOLLIMIT
|
solution limit hit;
|
XPRS_STOP_USER
|
user interrupt.
|
|
Further information
The XPRSinterrupt command can be called from any callback.
Related topics
None.
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.