Initializing help system before first use

CallbackAPI

API for registering callbacks. More...

Public Member Functions

auto  addAfterObjectiveCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add an afterobjective callback.
 
auto  addBarIterationCallback (std::function< void(XpressProblem &, int *)> callback, int prio=0) -> CallbackHandle
  Add a bariteration callback.
 
auto  addBarlogCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a barlog callback.
 
auto  addBeforeObjectiveCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a beforeobjective callback.
 
auto  addChangeBranchObjectCallback (std::function< void(XpressProblem &, xpress::BranchObject *, xpress::BranchObject **)> callback, int prio=0) -> CallbackHandle
  Add a changebranchobject callback.
 
auto  addCheckTimeCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a checktime callback.
 
auto  addComputeRestartCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a computerestart callback.
 
auto  addCutlogCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a cutlog callback.
 
auto  addCutRoundCallback (std::function< void(XpressProblem &, int, int *)> callback, int prio=0) -> CallbackHandle
  Add a cutround callback.
 
auto  addGapNotifyCallback (std::function< void(XpressProblem &, double *, double *, double *, double *)> callback, int prio=0) -> CallbackHandle
  Add a gapnotify callback.
 
auto  addInfnodeCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add an infnode callback.
 
auto  addIntsolCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add an intsol callback.
 
auto  addLplogCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a lplog callback.
 
auto  addMessageCallback (std::function< void(XpressProblem &, char const *, int, int)> callback, int prio=0) -> CallbackHandle
  Add a message callback.
 
auto  addMiplogCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a miplog callback.
 
auto  addMipThreadCallback (std::function< void(XpressProblem &, XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a mipthread callback.
 
auto  addMipThreadDestroyCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a mipthreaddestroy callback.
 
auto  addMsJobEndCallback (std::function< int(XpressProblem &, void *, char const *, int *)> callback, int prio=0) -> CallbackHandle
  Add a msjobend callback.
 
auto  addMsJobStartCallback (std::function< int(XpressProblem &, void *, char const *, int *)> callback, int prio=0) -> CallbackHandle
  Add a msjobstart callback.
 
auto  addMsWinnerCallback (std::function< int(XpressProblem &, void *, char const *)> callback, int prio=0) -> CallbackHandle
  Add a mswinner callback.
 
auto  addNewnodeCallback (std::function< void(XpressProblem &, int, int, int)> callback, int prio=0) -> CallbackHandle
  Add a newnode callback.
 
auto  addNlpCoefEvalErrorCallback (std::function< int(XpressProblem &, int, int)> callback, int prio=0) -> CallbackHandle
  Add a nlpcoefevalerror callback.
 
auto  addNodecutoffCallback (std::function< void(XpressProblem &, int)> callback, int prio=0) -> CallbackHandle
  Add a nodecutoff callback.
 
auto  addNodeLPSolvedCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a nodelpsolved callback.
 
auto  addOptnodeCallback (std::function< void(XpressProblem &, int *)> callback, int prio=0) -> CallbackHandle
  Add an optnode callback.
 
auto  addPreIntsolCallback (std::function< void(XpressProblem &, int, int *, double *)> callback, int prio=0) -> CallbackHandle
  Add a preintsol callback.
 
auto  addPrenodeCallback (std::function< void(XpressProblem &, int *)> callback, int prio=0) -> CallbackHandle
  Add a prenode callback.
 
auto  addPresolveCallback (std::function< void(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a presolve callback.
 
auto  addSlpCascadeEndCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a slpcascadeend callback.
 
auto  addSlpCascadeStartCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a slpcascadestart callback.
 
auto  addSlpCascadeVarCallback (std::function< int(XpressProblem &, int)> callback, int prio=0) -> CallbackHandle
  Add a slpcascadevar callback.
 
auto  addSlpCascadeVarFailCallback (std::function< int(XpressProblem &, int)> callback, int prio=0) -> CallbackHandle
  Add a slpcascadevarfail callback.
 
auto  addSlpConstructCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a slpconstruct callback.
 
auto  addSlpDrColCallback (std::function< int(XpressProblem &, int, int, double, double *, double, double)> callback, int prio=0) -> CallbackHandle
  Add a slpdrcol callback.
 
auto  addSlpIntSolCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a slpintsol callback.
 
auto  addSlpIterEndCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a slpiterend callback.
 
auto  addSlpIterStartCallback (std::function< int(XpressProblem &)> callback, int prio=0) -> CallbackHandle
  Add a slpiterstart callback.
 
auto  addSlpIterVarCallback (std::function< int(XpressProblem &, int)> callback, int prio=0) -> CallbackHandle
  Add a slpitervar callback.
 
auto  addSlpPreUpdateLinearizationCallback (std::function< int(XpressProblem &, int *)> callback, int prio=0) -> CallbackHandle
  Add a slppreupdatelinearization callback.
 
auto  addUserSolNotifyCallback (std::function< void(XpressProblem &, char const *, int)> callback, int prio=0) -> CallbackHandle
  Add an usersolnotify callback.
 
void  removeAfterObjectiveCallback (CallbackHandle const &callback)
  Remove an afterobjective callback.
 
void  removeAfterObjectiveCallbacks ()
  Remove all afterobjective callbacks.
 
void  removeBarIterationCallback (CallbackHandle const &callback)
  Remove a bariteration callback.
 
void  removeBarIterationCallbacks ()
  Remove all bariteration callbacks.
 
void  removeBarlogCallback (CallbackHandle const &callback)
  Remove a barlog callback.
 
void  removeBarlogCallbacks ()
  Remove all barlog callbacks.
 
void  removeBeforeObjectiveCallback (CallbackHandle const &callback)
  Remove a beforeobjective callback.
 
void  removeBeforeObjectiveCallbacks ()
  Remove all beforeobjective callbacks.
 
void  removeChangeBranchObjectCallback (CallbackHandle const &callback)
  Remove a changebranchobject callback.
 
void  removeChangeBranchObjectCallbacks ()
  Remove all changebranchobject callbacks.
 
void  removeCheckTimeCallback (CallbackHandle const &callback)
  Remove a checktime callback.
 
void  removeCheckTimeCallbacks ()
  Remove all checktime callbacks.
 
void  removeComputeRestartCallback (CallbackHandle const &callback)
  Remove a computerestart callback.
 
void  removeComputeRestartCallbacks ()
  Remove all computerestart callbacks.
 
void  removeCutlogCallback (CallbackHandle const &callback)
  Remove a cutlog callback.
 
void  removeCutlogCallbacks ()
  Remove all cutlog callbacks.
 
void  removeCutRoundCallback (CallbackHandle const &callback)
  Remove a cutround callback.
 
void  removeCutRoundCallbacks ()
  Remove all cutround callbacks.
 
void  removeGapNotifyCallback (CallbackHandle const &callback)
  Remove a gapnotify callback.
 
void  removeGapNotifyCallbacks ()
  Remove all gapnotify callbacks.
 
void  removeInfnodeCallback (CallbackHandle const &callback)
  Remove an infnode callback.
 
void  removeInfnodeCallbacks ()
  Remove all infnode callbacks.
 
void  removeIntsolCallback (CallbackHandle const &callback)
  Remove an intsol callback.
 
void  removeIntsolCallbacks ()
  Remove all intsol callbacks.
 
void  removeLplogCallback (CallbackHandle const &callback)
  Remove a lplog callback.
 
void  removeLplogCallbacks ()
  Remove all lplog callbacks.
 
void  removeMessageCallback (CallbackHandle const &callback)
  Remove a message callback.
 
void  removeMessageCallbacks ()
  Remove all message callbacks.
 
void  removeMiplogCallback (CallbackHandle const &callback)
  Remove a miplog callback.
 
void  removeMiplogCallbacks ()
  Remove all miplog callbacks.
 
void  removeMipThreadCallback (CallbackHandle const &callback)
  Remove a mipthread callback.
 
void  removeMipThreadCallbacks ()
  Remove all mipthread callbacks.
 
void  removeMipThreadDestroyCallback (CallbackHandle const &callback)
  Remove a mipthreaddestroy callback.
 
void  removeMipThreadDestroyCallbacks ()
  Remove all mipthreaddestroy callbacks.
 
void  removeMsJobEndCallback (CallbackHandle const &callback)
  Remove a msjobend callback.
 
void  removeMsJobEndCallbacks ()
  Remove all msjobend callbacks.
 
void  removeMsJobStartCallback (CallbackHandle const &callback)
  Remove a msjobstart callback.
 
void  removeMsJobStartCallbacks ()
  Remove all msjobstart callbacks.
 
void  removeMsWinnerCallback (CallbackHandle const &callback)
  Remove a mswinner callback.
 
void  removeMsWinnerCallbacks ()
  Remove all mswinner callbacks.
 
void  removeNewnodeCallback (CallbackHandle const &callback)
  Remove a newnode callback.
 
void  removeNewnodeCallbacks ()
  Remove all newnode callbacks.
 
void  removeNlpCoefEvalErrorCallback (CallbackHandle const &callback)
  Remove a nlpcoefevalerror callback.
 
void  removeNlpCoefEvalErrorCallbacks ()
  Remove all nlpcoefevalerror callbacks.
 
void  removeNodecutoffCallback (CallbackHandle const &callback)
  Remove a nodecutoff callback.
 
void  removeNodecutoffCallbacks ()
  Remove all nodecutoff callbacks.
 
void  removeNodeLPSolvedCallback (CallbackHandle const &callback)
  Remove a nodelpsolved callback.
 
void  removeNodeLPSolvedCallbacks ()
  Remove all nodelpsolved callbacks.
 
void  removeOptnodeCallback (CallbackHandle const &callback)
  Remove an optnode callback.
 
void  removeOptnodeCallbacks ()
  Remove all optnode callbacks.
 
void  removePreIntsolCallback (CallbackHandle const &callback)
  Remove a preintsol callback.
 
void  removePreIntsolCallbacks ()
  Remove all preintsol callbacks.
 
void  removePrenodeCallback (CallbackHandle const &callback)
  Remove a prenode callback.
 
void  removePrenodeCallbacks ()
  Remove all prenode callbacks.
 
void  removePresolveCallback (CallbackHandle const &callback)
  Remove a presolve callback.
 
void  removePresolveCallbacks ()
  Remove all presolve callbacks.
 
void  removeSlpCascadeEndCallback (CallbackHandle const &callback)
  Remove a slpcascadeend callback.
 
void  removeSlpCascadeEndCallbacks ()
  Remove all slpcascadeend callbacks.
 
void  removeSlpCascadeStartCallback (CallbackHandle const &callback)
  Remove a slpcascadestart callback.
 
void  removeSlpCascadeStartCallbacks ()
  Remove all slpcascadestart callbacks.
 
void  removeSlpCascadeVarCallback (CallbackHandle const &callback)
  Remove a slpcascadevar callback.
 
void  removeSlpCascadeVarCallbacks ()
  Remove all slpcascadevar callbacks.
 
void  removeSlpCascadeVarFailCallback (CallbackHandle const &callback)
  Remove a slpcascadevarfail callback.
 
void  removeSlpCascadeVarFailCallbacks ()
  Remove all slpcascadevarfail callbacks.
 
void  removeSlpConstructCallback (CallbackHandle const &callback)
  Remove a slpconstruct callback.
 
void  removeSlpConstructCallbacks ()
  Remove all slpconstruct callbacks.
 
void  removeSlpDrColCallback (CallbackHandle const &callback)
  Remove a slpdrcol callback.
 
void  removeSlpDrColCallbacks ()
  Remove all slpdrcol callbacks.
 
void  removeSlpIntSolCallback (CallbackHandle const &callback)
  Remove a slpintsol callback.
 
void  removeSlpIntSolCallbacks ()
  Remove all slpintsol callbacks.
 
void  removeSlpIterEndCallback (CallbackHandle const &callback)
  Remove a slpiterend callback.
 
void  removeSlpIterEndCallbacks ()
  Remove all slpiterend callbacks.
 
void  removeSlpIterStartCallback (CallbackHandle const &callback)
  Remove a slpiterstart callback.
 
void  removeSlpIterStartCallbacks ()
  Remove all slpiterstart callbacks.
 
void  removeSlpIterVarCallback (CallbackHandle const &callback)
  Remove a slpitervar callback.
 
void  removeSlpIterVarCallbacks ()
  Remove all slpitervar callbacks.
 
void  removeSlpPreUpdateLinearizationCallback (CallbackHandle const &callback)
  Remove a slppreupdatelinearization callback.
 
void  removeSlpPreUpdateLinearizationCallbacks ()
  Remove all slppreupdatelinearization callbacks.
 
void  removeUserSolNotifyCallback (CallbackHandle const &callback)
  Remove an usersolnotify callback.
 
void  removeUserSolNotifyCallbacks ()
  Remove all usersolnotify callbacks.
 

Detailed Description

API for registering callbacks.

Since
44.00

Member Function Documentation

addAfterObjectiveCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addAfterObjectiveCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add an afterobjective callback.

More details about afterobjective callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, afterobjective.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbafterobjective()

addBarIterationCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addBarIterationCallback ( std::function< void(XpressProblem &, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a bariteration callback.

More details about bariteration callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, bariteration.
p_action
Defines a return value controlling barrier:
  • <0: continue with the next iteration;
  • =0: let barrier decide (use default stopping criteria);
  • 1: barrier stops with status not defined;
  • 2: barrier stops with optimal status;
  • 3: barrier stops with dual infeasible status;
  • 4: barrier stops wih primal infeasible status.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbbariteration()

addBarlogCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addBarlogCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a barlog callback.

More details about barlog callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, barlog.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbbarlog()

addBeforeObjectiveCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addBeforeObjectiveCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a beforeobjective callback.

More details about beforeobjective callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, beforeobjective.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbbeforeobjective()

addChangeBranchObjectCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addChangeBranchObjectCallback ( std::function< void(XpressProblem &, xpress::BranchObject *, xpress::BranchObject **)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a changebranchobject callback.

More details about changebranchobject callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
branch
p_newbranch
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbchangebranchobject()

addCheckTimeCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addCheckTimeCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a checktime callback.

More details about checktime callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, checktime.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbchecktime()

addComputeRestartCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addComputeRestartCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a computerestart callback.

More details about computerestart callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, computerestart.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbcomputerestart()

addCutlogCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addCutlogCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a cutlog callback.

More details about cutlog callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, cutlog.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbcutlog()

addCutRoundCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addCutRoundCallback ( std::function< void(XpressProblem &, int, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a cutround callback.

More details about cutround callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, cutround.
ifxpresscuts
An integer set to 1 if the Optimizer will apply a round of cuts after this callback. 0 otherwise.
p_action
An integer return value that specifies the action the Optimizer should take:
  • -1: Continue unchanged. The default action.
  • 0: No further rounds of cuts should be applied on this node.
  • 1: The Optimizer should apply one more round of cutting, regardless of the value of ifxpresscuts
  • 2: The Optimizer should process any changes applied during this callback and fire the callback again, but skip any Optimizer cutting.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbcutround()

addGapNotifyCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addGapNotifyCallback ( std::function< void(XpressProblem &, double *, double *, double *, double *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a gapnotify callback.

More details about gapnotify callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The current problem.
p_relgapnotifytarget
The value the MIPRELGAPNOTIFY control will be set to after this callback. May be modified within the callback in order to set a new notification target.
p_absgapnotifytarget
The value the MIPABSGAPNOTIFY control will be set to after this callback. May be modified within the callback in order to set a new notification target.
p_absgapnotifyobjtarget
The value the MIPABSGAPNOTIFYOBJ control will be set to after this callback. May be modified within the callback in order to set a new notification target.
p_absgapnotifyboundtarget
The value the MIPABSGAPNOTIFYBOUND control will be set to after this callback. May be modified within the callback in order to set a new notification target.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbgapnotify()

addInfnodeCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addInfnodeCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add an infnode callback.

More details about infnode callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, infnode.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbinfnode()

addIntsolCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addIntsolCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add an intsol callback.

More details about intsol callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, intsol.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbintsol()

addLplogCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addLplogCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a lplog callback.

More details about lplog callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, lplog.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcblplog()

addMessageCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMessageCallback ( std::function< void(XpressProblem &, char const *, int, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a message callback.

More details about message callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
msg
A null terminated character array (string) containing the message, which may simply be a new line. The total number of bytes (including NUL terminator) will not exceed XPRS_MAXMESSAGELENGTH. If a message needs to be truncated to meet this limit, the last four bytes in msg are set to "...\0".
msglen
The length of the message string, excluding the null terminator.
msgtype
Indicates the type of output message:
  • 1: information messages;
  • 2: (not used);
  • 3: warning messages;
  • 4: error messages.
A negative value indicates that the Optimizer is about to finish and the buffers should be flushed at this time if the output is being redirected to a file.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmessage()

addMiplogCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMiplogCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a miplog callback.

More details about miplog callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, miplog.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmiplog()

addMipThreadCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMipThreadCallback ( std::function< void(XpressProblem &, XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a mipthread callback.

More details about mipthread callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
threadprob
The new problem for the MIP thread
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmipthread()

addMipThreadDestroyCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMipThreadDestroyCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a mipthreaddestroy callback.

More details about mipthreaddestroy callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmipthreaddestroy()

addMsJobEndCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMsJobEndCallback ( std::function< int(XpressProblem &, void *, char const *, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a msjobend callback.

More details about msjobend callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
jobdata
Job specific user-defined object, as specified by the multistart job creating API functions.
jobdesc
The description of the problem as specified by the multistart job creating API functions.
p_status

User return status variable:

0 - use the default evaluation of the finished job

1 - disregard the result and continue

2 - stop the multistart search

Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmsjobend()

addMsJobStartCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMsJobStartCallback ( std::function< int(XpressProblem &, void *, char const *, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a msjobstart callback.

More details about msjobstart callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
jobdata
Job specific user-defined object, as specified by the multistart job creating API functions.
jobdesc
The description of the problem as specified by the multistart job creating API functions.
p_status

User return status variable:

0 - normal return, solve the job,

1 - disregard this job and continue,

2 - Stop multistart.

Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmsjobstart()

addMsWinnerCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addMsWinnerCallback ( std::function< int(XpressProblem &, void *, char const *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a mswinner callback.

More details about mswinner callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
jobdata
Job specific user-defined object, as specified by the multistart job creating API functions.
jobdesc
The description of the problem as specified by the multistart job creating API functions.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbmswinner()

addNewnodeCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addNewnodeCallback ( std::function< void(XpressProblem &, int, int, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a newnode callback.

More details about newnode callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, newnode.
parentnode
Unique identifier for the parent of the new node.
node
Unique identifier assigned to the new node.
branch
The sequence number of the new node amongst the child nodes of parentnode. For regular branches on a MIP entity this will be either 0 or 1.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbnewnode()

addNlpCoefEvalErrorCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addNlpCoefEvalErrorCallback ( std::function< int(XpressProblem &, int, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a nlpcoefevalerror callback.

More details about nlpcoefevalerror callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
col
The column position of the coefficient.
row
The row position of the coefficient.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbnlpcoefevalerror()

addNodecutoffCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addNodecutoffCallback ( std::function< void(XpressProblem &, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a nodecutoff callback.

More details about nodecutoff callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, nodecutoff.
node
The node id of the node that is cut off. This id cannot be queried from the CURRENTNODE attribute as for other callbacks since this callback is not invoked in the context of the node being cutoff.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbnodecutoff()

addNodeLPSolvedCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addNodeLPSolvedCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a nodelpsolved callback.

More details about nodelpsolved callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, nodelpsolved.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbnodelpsolved()

addOptnodeCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addOptnodeCallback ( std::function< void(XpressProblem &, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add an optnode callback.

More details about optnode callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, optnode.
p_infeasible
The feasibility status. If set to a nonzero value by the user, the current node will be declared infeasible.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcboptnode()

addPreIntsolCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addPreIntsolCallback ( std::function< void(XpressProblem &, int, int *, double *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a preintsol callback.

More details about preintsol callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, preintsol.
soltype
The type of MIP solution that has been found:
  • 0: The continuous relaxation solution to the current node of the tree search, which has been found to be integer feasible.
  • 1: A MIP solution found by a heuristic.
  • 2: A MIP solution provided by the user.
p_reject
Set this to 1 if the solution should be rejected. When soltype is zero, this will also drop the node problem.
p_cutoff

The new cutoff value that the Optimizer will use if the solution is accepted.

If p_cutoff is assigned a value, the new value will be used instead. The cutoff value will not be updated if the solution is rejected.

Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbpreintsol()

addPrenodeCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addPrenodeCallback ( std::function< void(XpressProblem &, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a prenode callback.

More details about prenode callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, prenode.
p_infeasible
The feasibility status. If set to a nonzero value by the user, the current node will be declared infeasible by the Optimizer.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbprenode()

addPresolveCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addPresolveCallback ( std::function< void(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a presolve callback.

More details about presolve callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbpresolve()

addSlpCascadeEndCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpCascadeEndCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpcascadeend callback.

More details about slpcascadeend callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpcascadeend()

addSlpCascadeStartCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpCascadeStartCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpcascadestart callback.

More details about slpcascadestart callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpcascadestart()

addSlpCascadeVarCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpCascadeVarCallback ( std::function< int(XpressProblem &, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpcascadevar callback.

More details about slpcascadevar callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
col
The number of the column which has been cascaded.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpcascadevar()

addSlpCascadeVarFailCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpCascadeVarFailCallback ( std::function< int(XpressProblem &, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpcascadevarfail callback.

More details about slpcascadevarfail callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
col
The number of the column which has been cascaded.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpcascadevarfail()

addSlpConstructCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpConstructCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpconstruct callback.

More details about slpconstruct callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpconstruct()

addSlpDrColCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpDrColCallback ( std::function< int(XpressProblem &, int, int, double, double *, double, double)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpdrcol callback.

More details about slpdrcol callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
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 result 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.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpdrcol()

addSlpIntSolCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpIntSolCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpintsol callback.

More details about slpintsol callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpintsol()

addSlpIterEndCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpIterEndCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpiterend callback.

More details about slpiterend callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpiterend()

addSlpIterStartCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpIterStartCallback ( std::function< int(XpressProblem &)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpiterstart callback.

More details about slpiterstart callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpiterstart()

addSlpIterVarCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpIterVarCallback ( std::function< int(XpressProblem &, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slpitervar callback.

More details about slpitervar callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
col
The number of the column which has been tested for convergence.
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslpitervar()

addSlpPreUpdateLinearizationCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addSlpPreUpdateLinearizationCallback ( std::function< int(XpressProblem &, int *)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add a slppreupdatelinearization callback.

More details about slppreupdatelinearization callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function.
ifrepeat

Indicates the call number, starting at 1.

If returned nonzero, another call to the callback will be scheduled. If returned zero, a final call with ifrepeat set to -1 will be made.

Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbslppreupdatelinearization()

addUserSolNotifyCallback()

auto xpress::objects::XpressProblem::CallbackAPI::addUserSolNotifyCallback ( std::function< void(XpressProblem &, char const *, int)> callback,
int prio = 0 ) -> CallbackHandle
inline

Add an usersolnotify callback.

More details about usersolnotify callbacks can be found in the documentation of the corresponding C callback. The callback function takes the following arguments:

cbprob
The problem passed to the callback function, usersolnotify.
solname
The string name assigned to the solution when it was loaded into the Optimizer using XPRSaddmipsol.
status
One of the following status values:
  • 1: Solution is feasible. (XPRS_USERSOLSTATUS_ACCEPTED_FEASIBLE)
  • 2: Solution is feasible after reoptimizing with fixed MIP entities. (XPRS_USERSOLSTATUS_ACCEPTED_OPTIMIZED)
  • 3: A local search heuristic was applied and a feasible solution discovered. (XPRS_USERSOLSTATUS_SEARCHED_SOL)
  • 4: A local search heuristic was applied but a feasible solution was not found. (XPRS_USERSOLSTATUS_SEARCHED_NOSOL)
  • 5: Solution is infeasible and a local search could not be applied. (XPRS_USERSOLSTATUS_REJECTED_INFEAS_NOSEARCH)
  • 6: Solution is partial and a local search could not be applied. (XPRS_USERSOLSTATUS_REJECTED_PARTIAL_NOSEARCH)
  • 7: Failed to reoptimize the problem with MIP entities fixed to the provided solution. Likely because a time or iteration limit was reached. (XPRS_USERSOLSTATUS_REJECTED_FAILED_OPTIMIZE)
  • 8: Solution is dropped. This can happen if the MIP problem is changed or solved to completion before the solution could be processed. (XPRS_USERSOLSTATUS_DROPPED)
  • 9: The solution is worse than the current MIP cutoff value. (XPRS_USERSOLSTATUS_REJECTED_CUTOFF)
Parameters
callback Callback function.
prio Callback priority.
Returns
A handle that can be used to remove the callback later.
See also
C documentation of XPRSaddcbusersolnotify()

removeAfterObjectiveCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeAfterObjectiveCallback ( CallbackHandle const & callback )
inline

Remove an afterobjective callback.

Parameters
callback The callback to be removed (previously returned by addAfterObjectiveCallback).

removeBarIterationCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeBarIterationCallback ( CallbackHandle const & callback )
inline

Remove a bariteration callback.

Parameters
callback The callback to be removed (previously returned by addBarIterationCallback).

removeBarlogCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeBarlogCallback ( CallbackHandle const & callback )
inline

Remove a barlog callback.

Parameters
callback The callback to be removed (previously returned by addBarlogCallback).

removeBeforeObjectiveCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeBeforeObjectiveCallback ( CallbackHandle const & callback )
inline

Remove a beforeobjective callback.

Parameters
callback The callback to be removed (previously returned by addBeforeObjectiveCallback).

removeChangeBranchObjectCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeChangeBranchObjectCallback ( CallbackHandle const & callback )
inline

Remove a changebranchobject callback.

Parameters
callback The callback to be removed (previously returned by addChangeBranchObjectCallback).

removeCheckTimeCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeCheckTimeCallback ( CallbackHandle const & callback )
inline

Remove a checktime callback.

Parameters
callback The callback to be removed (previously returned by addCheckTimeCallback).

removeComputeRestartCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeComputeRestartCallback ( CallbackHandle const & callback )
inline

Remove a computerestart callback.

Parameters
callback The callback to be removed (previously returned by addComputeRestartCallback).

removeCutlogCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeCutlogCallback ( CallbackHandle const & callback )
inline

Remove a cutlog callback.

Parameters
callback The callback to be removed (previously returned by addCutlogCallback).

removeCutRoundCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeCutRoundCallback ( CallbackHandle const & callback )
inline

Remove a cutround callback.

Parameters
callback The callback to be removed (previously returned by addCutRoundCallback).

removeGapNotifyCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeGapNotifyCallback ( CallbackHandle const & callback )
inline

Remove a gapnotify callback.

Parameters
callback The callback to be removed (previously returned by addGapNotifyCallback).

removeInfnodeCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeInfnodeCallback ( CallbackHandle const & callback )
inline

Remove an infnode callback.

Parameters
callback The callback to be removed (previously returned by addInfnodeCallback).

removeIntsolCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeIntsolCallback ( CallbackHandle const & callback )
inline

Remove an intsol callback.

Parameters
callback The callback to be removed (previously returned by addIntsolCallback).

removeLplogCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeLplogCallback ( CallbackHandle const & callback )
inline

Remove a lplog callback.

Parameters
callback The callback to be removed (previously returned by addLplogCallback).

removeMessageCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMessageCallback ( CallbackHandle const & callback )
inline

Remove a message callback.

Parameters
callback The callback to be removed (previously returned by addMessageCallback).

removeMiplogCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMiplogCallback ( CallbackHandle const & callback )
inline

Remove a miplog callback.

Parameters
callback The callback to be removed (previously returned by addMiplogCallback).

removeMipThreadCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMipThreadCallback ( CallbackHandle const & callback )
inline

Remove a mipthread callback.

Parameters
callback The callback to be removed (previously returned by addMipThreadCallback).

removeMipThreadDestroyCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMipThreadDestroyCallback ( CallbackHandle const & callback )
inline

Remove a mipthreaddestroy callback.

Parameters
callback The callback to be removed (previously returned by addMipThreadDestroyCallback).

removeMsJobEndCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMsJobEndCallback ( CallbackHandle const & callback )
inline

Remove a msjobend callback.

Parameters
callback The callback to be removed (previously returned by addMsJobEndCallback).

removeMsJobStartCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMsJobStartCallback ( CallbackHandle const & callback )
inline

Remove a msjobstart callback.

Parameters
callback The callback to be removed (previously returned by addMsJobStartCallback).

removeMsWinnerCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeMsWinnerCallback ( CallbackHandle const & callback )
inline

Remove a mswinner callback.

Parameters
callback The callback to be removed (previously returned by addMsWinnerCallback).

removeNewnodeCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeNewnodeCallback ( CallbackHandle const & callback )
inline

Remove a newnode callback.

Parameters
callback The callback to be removed (previously returned by addNewnodeCallback).

removeNlpCoefEvalErrorCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeNlpCoefEvalErrorCallback ( CallbackHandle const & callback )
inline

Remove a nlpcoefevalerror callback.

Parameters
callback The callback to be removed (previously returned by addNlpCoefEvalErrorCallback).

removeNodecutoffCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeNodecutoffCallback ( CallbackHandle const & callback )
inline

Remove a nodecutoff callback.

Parameters
callback The callback to be removed (previously returned by addNodecutoffCallback).

removeNodeLPSolvedCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeNodeLPSolvedCallback ( CallbackHandle const & callback )
inline

Remove a nodelpsolved callback.

Parameters
callback The callback to be removed (previously returned by addNodeLPSolvedCallback).

removeOptnodeCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeOptnodeCallback ( CallbackHandle const & callback )
inline

Remove an optnode callback.

Parameters
callback The callback to be removed (previously returned by addOptnodeCallback).

removePreIntsolCallback()

void xpress::objects::XpressProblem::CallbackAPI::removePreIntsolCallback ( CallbackHandle const & callback )
inline

Remove a preintsol callback.

Parameters
callback The callback to be removed (previously returned by addPreIntsolCallback).

removePrenodeCallback()

void xpress::objects::XpressProblem::CallbackAPI::removePrenodeCallback ( CallbackHandle const & callback )
inline

Remove a prenode callback.

Parameters
callback The callback to be removed (previously returned by addPrenodeCallback).

removePresolveCallback()

void xpress::objects::XpressProblem::CallbackAPI::removePresolveCallback ( CallbackHandle const & callback )
inline

Remove a presolve callback.

Parameters
callback The callback to be removed (previously returned by addPresolveCallback).

removeSlpCascadeEndCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpCascadeEndCallback ( CallbackHandle const & callback )
inline

Remove a slpcascadeend callback.

Parameters
callback The callback to be removed (previously returned by addSlpCascadeEndCallback).

removeSlpCascadeStartCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpCascadeStartCallback ( CallbackHandle const & callback )
inline

Remove a slpcascadestart callback.

Parameters
callback The callback to be removed (previously returned by addSlpCascadeStartCallback).

removeSlpCascadeVarCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpCascadeVarCallback ( CallbackHandle const & callback )
inline

Remove a slpcascadevar callback.

Parameters
callback The callback to be removed (previously returned by addSlpCascadeVarCallback).

removeSlpCascadeVarFailCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpCascadeVarFailCallback ( CallbackHandle const & callback )
inline

Remove a slpcascadevarfail callback.

Parameters
callback The callback to be removed (previously returned by addSlpCascadeVarFailCallback).

removeSlpConstructCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpConstructCallback ( CallbackHandle const & callback )
inline

Remove a slpconstruct callback.

Parameters
callback The callback to be removed (previously returned by addSlpConstructCallback).

removeSlpDrColCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpDrColCallback ( CallbackHandle const & callback )
inline

Remove a slpdrcol callback.

Parameters
callback The callback to be removed (previously returned by addSlpDrColCallback).

removeSlpIntSolCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpIntSolCallback ( CallbackHandle const & callback )
inline

Remove a slpintsol callback.

Parameters
callback The callback to be removed (previously returned by addSlpIntSolCallback).

removeSlpIterEndCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpIterEndCallback ( CallbackHandle const & callback )
inline

Remove a slpiterend callback.

Parameters
callback The callback to be removed (previously returned by addSlpIterEndCallback).

removeSlpIterStartCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpIterStartCallback ( CallbackHandle const & callback )
inline

Remove a slpiterstart callback.

Parameters
callback The callback to be removed (previously returned by addSlpIterStartCallback).

removeSlpIterVarCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpIterVarCallback ( CallbackHandle const & callback )
inline

Remove a slpitervar callback.

Parameters
callback The callback to be removed (previously returned by addSlpIterVarCallback).

removeSlpPreUpdateLinearizationCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeSlpPreUpdateLinearizationCallback ( CallbackHandle const & callback )
inline

Remove a slppreupdatelinearization callback.

Parameters
callback The callback to be removed (previously returned by addSlpPreUpdateLinearizationCallback).

removeUserSolNotifyCallback()

void xpress::objects::XpressProblem::CallbackAPI::removeUserSolNotifyCallback ( CallbackHandle const & callback )
inline

Remove an usersolnotify callback.

Parameters
callback The callback to be removed (previously returned by addUserSolNotifyCallback).

The documentation for this class was generated from the following file:
  • xpress_objects.hpp

© 2001-2026 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.