XpressProblem.CallbackAPI
- java.lang.Object
-
- com.dashoptimization.objects.XpressProblem.CallbackAPI
-
- Enclosing class:
- XpressProblem
public static final class XpressProblem.CallbackAPI extends java.lang.Object
API for adding and removing callbacks to this problem.
-
-
Nested Class Summary
Modifier and Type Class Description static interface
XpressProblem.CallbackAPI.AfterObjectiveCallback
Interface to captureafterobjective
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.BarIterationCallback
Interface to capturebariteration
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.BarLogCallback
Interface to capturebarlog
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.BeforeObjectiveCallback
Interface to capturebeforeobjective
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.BeforeSolveCallback
Interface to capturebeforesolve
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.ChangeBranchObjectCallback
Interface to capturechgbranchobject
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.CheckTimeCallback
Interface to capturechecktime
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.ComputeRestartCallback
Interface to capturecomputerestart
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.CutLogCallback
Interface to capturecutlog
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.DestroyMTCallback
Interface to capturedestroymt
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.GapNotifyCallback
Interface to capturegapnotify
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.InfNodeCallback
Interface to captureinfnode
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.IntSolCallback
Interface to captureintsol
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.LpLogCallback
Interface to capturelplog
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.MessageCallback
Interface to capturemessage
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.MipLogCallback
Interface to capturemiplog
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.MipThreadCallback
Interface to capturemipthread
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.MsJobEndCallback
Interface to capturemsjobend
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.MsJobStartCallback
Interface to capturemsjobstart
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.MsWinnerCallback
Interface to capturemswinner
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.NewnodeCallback
Interface to capturenewnode
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.NlpCoefEvalErrorCallback
Interface to capturenlpcoefevalerror
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.NodeCutoffCallback
Interface to capturenodecutoff
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.NodeLPSolvedCallback
Interface to capturenodelpsolved
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.OptNodeCallback
Interface to captureoptnode
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.PreIntsolCallback
Interface to capturepreintsol
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.PreNodeCallback
Interface to captureprenode
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.PresolveCallback
Interface to capturepresolve
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpCascadeEndCallback
Interface to captureslpcascadeend
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpCascadeStartCallback
Interface to captureslpcascadestart
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpCascadeVarCallback
Interface to captureslpcascadevar
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpCascadeVarFailCallback
Interface to captureslpcascadevarfail
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpConstructCallback
Interface to captureslpconstruct
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpDrColCallback
Interface to captureslpdrcol
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpIntSolCallback
Interface to captureslpintsol
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpIterEndCallback
Interface to captureslpiterend
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpIterStartCallback
Interface to captureslpiterstart
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpIterVarCallback
Interface to captureslpitervar
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.SlpPreUpdateLinearizationCallback
Interface to captureslppreupdatelinearization
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.StrongBranchSolveCallback
Interface to capturestrongbranchsolve
events in anXpressProblem
.static interface
XpressProblem.CallbackAPI.UserSolNotifyCallback
Interface to captureusersolnotify
events in anXpressProblem
.
-
Method Summary
-
-
-
Method Detail
-
addLpLogCallback
public void addLpLogCallback(XpressProblem.CallbackAPI.LpLogCallback cb) throws XPRSexception
Add alplog
callback. This is a shortcut for callbackaddLpLogCallback(LpLogCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addLpLogCallback
public void addLpLogCallback(XpressProblem.CallbackAPI.LpLogCallback cb, int priority) throws XPRSexception
Add alplog
callback.- Parameters:
-
cb
- The callback function. If you passnull
then alllplog
callbacks will be removed. -
priority
- Callback priority. If more than onelplog
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeLpLogCallback
public void removeLpLogCallback(XpressProblem.CallbackAPI.LpLogCallback cb) throws XPRSexception
Remove alplog
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then alllplog
callbacks are removed. - Throws:
-
XPRSexception
-
removeLpLogCallbacks
public void removeLpLogCallbacks() throws XPRSexception
Remove alllplog
callbacks.- Throws:
-
XPRSexception
-
addMipLogCallback
public void addMipLogCallback(XpressProblem.CallbackAPI.MipLogCallback cb) throws XPRSexception
Add amiplog
callback. This is a shortcut for callbackaddMipLogCallback(MipLogCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addMipLogCallback
public void addMipLogCallback(XpressProblem.CallbackAPI.MipLogCallback cb, int priority) throws XPRSexception
Add amiplog
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allmiplog
callbacks will be removed. -
priority
- Callback priority. If more than onemiplog
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeMipLogCallback
public void removeMipLogCallback(XpressProblem.CallbackAPI.MipLogCallback cb) throws XPRSexception
Remove amiplog
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allmiplog
callbacks are removed. - Throws:
-
XPRSexception
-
removeMipLogCallbacks
public void removeMipLogCallbacks() throws XPRSexception
Remove allmiplog
callbacks.- Throws:
-
XPRSexception
-
addCutLogCallback
public void addCutLogCallback(XpressProblem.CallbackAPI.CutLogCallback cb) throws XPRSexception
Add acutlog
callback. This is a shortcut for callbackaddCutLogCallback(CutLogCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addCutLogCallback
public void addCutLogCallback(XpressProblem.CallbackAPI.CutLogCallback cb, int priority) throws XPRSexception
Add acutlog
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allcutlog
callbacks will be removed. -
priority
- Callback priority. If more than onecutlog
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeCutLogCallback
public void removeCutLogCallback(XpressProblem.CallbackAPI.CutLogCallback cb) throws XPRSexception
Remove acutlog
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allcutlog
callbacks are removed. - Throws:
-
XPRSexception
-
removeCutLogCallbacks
public void removeCutLogCallbacks() throws XPRSexception
Remove allcutlog
callbacks.- Throws:
-
XPRSexception
-
addBarLogCallback
public void addBarLogCallback(XpressProblem.CallbackAPI.BarLogCallback cb) throws XPRSexception
Add abarlog
callback. This is a shortcut for callbackaddBarLogCallback(BarLogCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addBarLogCallback
public void addBarLogCallback(XpressProblem.CallbackAPI.BarLogCallback cb, int priority) throws XPRSexception
Add abarlog
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allbarlog
callbacks will be removed. -
priority
- Callback priority. If more than onebarlog
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeBarLogCallback
public void removeBarLogCallback(XpressProblem.CallbackAPI.BarLogCallback cb) throws XPRSexception
Remove abarlog
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allbarlog
callbacks are removed. - Throws:
-
XPRSexception
-
removeBarLogCallbacks
public void removeBarLogCallbacks() throws XPRSexception
Remove allbarlog
callbacks.- Throws:
-
XPRSexception
-
addOptNodeCallback
public void addOptNodeCallback(XpressProblem.CallbackAPI.OptNodeCallback cb) throws XPRSexception
Add aoptnode
callback. This is a shortcut for callbackaddOptNodeCallback(OptNodeCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addOptNodeCallback
public void addOptNodeCallback(XpressProblem.CallbackAPI.OptNodeCallback cb, int priority) throws XPRSexception
Add aoptnode
callback.- Parameters:
-
cb
- The callback function. If you passnull
then alloptnode
callbacks will be removed. -
priority
- Callback priority. If more than oneoptnode
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeOptNodeCallback
public void removeOptNodeCallback(XpressProblem.CallbackAPI.OptNodeCallback cb) throws XPRSexception
Remove aoptnode
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then alloptnode
callbacks are removed. - Throws:
-
XPRSexception
-
removeOptNodeCallbacks
public void removeOptNodeCallbacks() throws XPRSexception
Remove alloptnode
callbacks.- Throws:
-
XPRSexception
-
addPreNodeCallback
public void addPreNodeCallback(XpressProblem.CallbackAPI.PreNodeCallback cb) throws XPRSexception
Add aprenode
callback. This is a shortcut for callbackaddPreNodeCallback(PreNodeCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addPreNodeCallback
public void addPreNodeCallback(XpressProblem.CallbackAPI.PreNodeCallback cb, int priority) throws XPRSexception
Add aprenode
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allprenode
callbacks will be removed. -
priority
- Callback priority. If more than oneprenode
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removePreNodeCallback
public void removePreNodeCallback(XpressProblem.CallbackAPI.PreNodeCallback cb) throws XPRSexception
Remove aprenode
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allprenode
callbacks are removed. - Throws:
-
XPRSexception
-
removePreNodeCallbacks
public void removePreNodeCallbacks() throws XPRSexception
Remove allprenode
callbacks.- Throws:
-
XPRSexception
-
addInfNodeCallback
public void addInfNodeCallback(XpressProblem.CallbackAPI.InfNodeCallback cb) throws XPRSexception
Add ainfnode
callback. This is a shortcut for callbackaddInfNodeCallback(InfNodeCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addInfNodeCallback
public void addInfNodeCallback(XpressProblem.CallbackAPI.InfNodeCallback cb, int priority) throws XPRSexception
Add ainfnode
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allinfnode
callbacks will be removed. -
priority
- Callback priority. If more than oneinfnode
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeInfNodeCallback
public void removeInfNodeCallback(XpressProblem.CallbackAPI.InfNodeCallback cb) throws XPRSexception
Remove ainfnode
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allinfnode
callbacks are removed. - Throws:
-
XPRSexception
-
removeInfNodeCallbacks
public void removeInfNodeCallbacks() throws XPRSexception
Remove allinfnode
callbacks.- Throws:
-
XPRSexception
-
addNodeCutoffCallback
public void addNodeCutoffCallback(XpressProblem.CallbackAPI.NodeCutoffCallback cb) throws XPRSexception
Add anodecutoff
callback. This is a shortcut for callbackaddNodeCutoffCallback(NodeCutoffCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addNodeCutoffCallback
public void addNodeCutoffCallback(XpressProblem.CallbackAPI.NodeCutoffCallback cb, int priority) throws XPRSexception
Add anodecutoff
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allnodecutoff
callbacks will be removed. -
priority
- Callback priority. If more than onenodecutoff
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeNodeCutoffCallback
public void removeNodeCutoffCallback(XpressProblem.CallbackAPI.NodeCutoffCallback cb) throws XPRSexception
Remove anodecutoff
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allnodecutoff
callbacks are removed. - Throws:
-
XPRSexception
-
removeNodeCutoffCallbacks
public void removeNodeCutoffCallbacks() throws XPRSexception
Remove allnodecutoff
callbacks.- Throws:
-
XPRSexception
-
addIntSolCallback
public void addIntSolCallback(XpressProblem.CallbackAPI.IntSolCallback cb) throws XPRSexception
Add aintsol
callback. This is a shortcut for callbackaddIntSolCallback(IntSolCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addIntSolCallback
public void addIntSolCallback(XpressProblem.CallbackAPI.IntSolCallback cb, int priority) throws XPRSexception
Add aintsol
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allintsol
callbacks will be removed. -
priority
- Callback priority. If more than oneintsol
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeIntSolCallback
public void removeIntSolCallback(XpressProblem.CallbackAPI.IntSolCallback cb) throws XPRSexception
Remove aintsol
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allintsol
callbacks are removed. - Throws:
-
XPRSexception
-
removeIntSolCallbacks
public void removeIntSolCallbacks() throws XPRSexception
Remove allintsol
callbacks.- Throws:
-
XPRSexception
-
addPreIntsolCallback
public void addPreIntsolCallback(XpressProblem.CallbackAPI.PreIntsolCallback cb) throws XPRSexception
Add apreintsol
callback. This is a shortcut for callbackaddPreIntsolCallback(PreIntsolCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addPreIntsolCallback
public void addPreIntsolCallback(XpressProblem.CallbackAPI.PreIntsolCallback cb, int priority) throws XPRSexception
Add apreintsol
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allpreintsol
callbacks will be removed. -
priority
- Callback priority. If more than onepreintsol
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removePreIntsolCallback
public void removePreIntsolCallback(XpressProblem.CallbackAPI.PreIntsolCallback cb) throws XPRSexception
Remove apreintsol
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allpreintsol
callbacks are removed. - Throws:
-
XPRSexception
-
removePreIntsolCallbacks
public void removePreIntsolCallbacks() throws XPRSexception
Remove allpreintsol
callbacks.- Throws:
-
XPRSexception
-
addMessageCallback
public void addMessageCallback(XpressProblem.CallbackAPI.MessageCallback cb) throws XPRSexception
Add amessage
callback. This is a shortcut for callbackaddMessageCallback(MessageCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addMessageCallback
public void addMessageCallback(XpressProblem.CallbackAPI.MessageCallback cb, int priority) throws XPRSexception
Add amessage
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allmessage
callbacks will be removed. -
priority
- Callback priority. If more than onemessage
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeMessageCallback
public void removeMessageCallback(XpressProblem.CallbackAPI.MessageCallback cb) throws XPRSexception
Remove amessage
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allmessage
callbacks are removed. - Throws:
-
XPRSexception
-
removeMessageCallbacks
public void removeMessageCallbacks() throws XPRSexception
Remove allmessage
callbacks.- Throws:
-
XPRSexception
-
addMipThreadCallback
public void addMipThreadCallback(XpressProblem.CallbackAPI.MipThreadCallback cb) throws XPRSexception
Add amipthread
callback. This is a shortcut for callbackaddMipThreadCallback(MipThreadCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addMipThreadCallback
public void addMipThreadCallback(XpressProblem.CallbackAPI.MipThreadCallback cb, int priority) throws XPRSexception
Add amipthread
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allmipthread
callbacks will be removed. -
priority
- Callback priority. If more than onemipthread
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeMipThreadCallback
public void removeMipThreadCallback(XpressProblem.CallbackAPI.MipThreadCallback cb) throws XPRSexception
Remove amipthread
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allmipthread
callbacks are removed. - Throws:
-
XPRSexception
-
removeMipThreadCallbacks
public void removeMipThreadCallbacks() throws XPRSexception
Remove allmipthread
callbacks.- Throws:
-
XPRSexception
-
addDestroyMTCallback
public void addDestroyMTCallback(XpressProblem.CallbackAPI.DestroyMTCallback cb) throws XPRSexception
Add adestroymt
callback. This is a shortcut for callbackaddDestroyMTCallback(DestroyMTCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addDestroyMTCallback
public void addDestroyMTCallback(XpressProblem.CallbackAPI.DestroyMTCallback cb, int priority) throws XPRSexception
Add adestroymt
callback.- Parameters:
-
cb
- The callback function. If you passnull
then alldestroymt
callbacks will be removed. -
priority
- Callback priority. If more than onedestroymt
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeDestroyMTCallback
public void removeDestroyMTCallback(XpressProblem.CallbackAPI.DestroyMTCallback cb) throws XPRSexception
Remove adestroymt
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then alldestroymt
callbacks are removed. - Throws:
-
XPRSexception
-
removeDestroyMTCallbacks
public void removeDestroyMTCallbacks() throws XPRSexception
Remove alldestroymt
callbacks.- Throws:
-
XPRSexception
-
addNewnodeCallback
public void addNewnodeCallback(XpressProblem.CallbackAPI.NewnodeCallback cb) throws XPRSexception
Add anewnode
callback. This is a shortcut for callbackaddNewnodeCallback(NewnodeCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addNewnodeCallback
public void addNewnodeCallback(XpressProblem.CallbackAPI.NewnodeCallback cb, int priority) throws XPRSexception
Add anewnode
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allnewnode
callbacks will be removed. -
priority
- Callback priority. If more than onenewnode
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeNewnodeCallback
public void removeNewnodeCallback(XpressProblem.CallbackAPI.NewnodeCallback cb) throws XPRSexception
Remove anewnode
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allnewnode
callbacks are removed. - Throws:
-
XPRSexception
-
removeNewnodeCallbacks
public void removeNewnodeCallbacks() throws XPRSexception
Remove allnewnode
callbacks.- Throws:
-
XPRSexception
-
addBarIterationCallback
public void addBarIterationCallback(XpressProblem.CallbackAPI.BarIterationCallback cb) throws XPRSexception
Add abariteration
callback. This is a shortcut for callbackaddBarIterationCallback(BarIterationCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addBarIterationCallback
public void addBarIterationCallback(XpressProblem.CallbackAPI.BarIterationCallback cb, int priority) throws XPRSexception
Add abariteration
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allbariteration
callbacks will be removed. -
priority
- Callback priority. If more than onebariteration
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeBarIterationCallback
public void removeBarIterationCallback(XpressProblem.CallbackAPI.BarIterationCallback cb) throws XPRSexception
Remove abariteration
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allbariteration
callbacks are removed. - Throws:
-
XPRSexception
-
removeBarIterationCallbacks
public void removeBarIterationCallbacks() throws XPRSexception
Remove allbariteration
callbacks.- Throws:
-
XPRSexception
-
addPresolveCallback
public void addPresolveCallback(XpressProblem.CallbackAPI.PresolveCallback cb) throws XPRSexception
Add apresolve
callback. This is a shortcut for callbackaddPresolveCallback(PresolveCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addPresolveCallback
public void addPresolveCallback(XpressProblem.CallbackAPI.PresolveCallback cb, int priority) throws XPRSexception
Add apresolve
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allpresolve
callbacks will be removed. -
priority
- Callback priority. If more than onepresolve
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removePresolveCallback
public void removePresolveCallback(XpressProblem.CallbackAPI.PresolveCallback cb) throws XPRSexception
Remove apresolve
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allpresolve
callbacks are removed. - Throws:
-
XPRSexception
-
removePresolveCallbacks
public void removePresolveCallbacks() throws XPRSexception
Remove allpresolve
callbacks.- Throws:
-
XPRSexception
-
addChangeBranchObjectCallback
public void addChangeBranchObjectCallback(XpressProblem.CallbackAPI.ChangeBranchObjectCallback cb) throws XPRSexception
Add achgbranchobject
callback. This is a shortcut for callbackaddChangeBranchObjectCallback(ChangeBranchObjectCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addChangeBranchObjectCallback
public void addChangeBranchObjectCallback(XpressProblem.CallbackAPI.ChangeBranchObjectCallback cb, int priority) throws XPRSexception
Add achgbranchobject
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allchgbranchobject
callbacks will be removed. -
priority
- Callback priority. If more than onechgbranchobject
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeChangeBranchObjectCallback
public void removeChangeBranchObjectCallback(XpressProblem.CallbackAPI.ChangeBranchObjectCallback cb) throws XPRSexception
Remove achgbranchobject
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allchgbranchobject
callbacks are removed. - Throws:
-
XPRSexception
-
removeChangeBranchObjectCallbacks
public void removeChangeBranchObjectCallbacks() throws XPRSexception
Remove allchgbranchobject
callbacks.- Throws:
-
XPRSexception
-
addComputeRestartCallback
public void addComputeRestartCallback(XpressProblem.CallbackAPI.ComputeRestartCallback cb) throws XPRSexception
Add acomputerestart
callback. This is a shortcut for callbackaddComputeRestartCallback(ComputeRestartCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addComputeRestartCallback
public void addComputeRestartCallback(XpressProblem.CallbackAPI.ComputeRestartCallback cb, int priority) throws XPRSexception
Add acomputerestart
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allcomputerestart
callbacks will be removed. -
priority
- Callback priority. If more than onecomputerestart
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeComputeRestartCallback
public void removeComputeRestartCallback(XpressProblem.CallbackAPI.ComputeRestartCallback cb) throws XPRSexception
Remove acomputerestart
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allcomputerestart
callbacks are removed. - Throws:
-
XPRSexception
-
removeComputeRestartCallbacks
public void removeComputeRestartCallbacks() throws XPRSexception
Remove allcomputerestart
callbacks.- Throws:
-
XPRSexception
-
addNodeLPSolvedCallback
public void addNodeLPSolvedCallback(XpressProblem.CallbackAPI.NodeLPSolvedCallback cb) throws XPRSexception
Add anodelpsolved
callback. This is a shortcut for callbackaddNodeLPSolvedCallback(NodeLPSolvedCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addNodeLPSolvedCallback
public void addNodeLPSolvedCallback(XpressProblem.CallbackAPI.NodeLPSolvedCallback cb, int priority) throws XPRSexception
Add anodelpsolved
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allnodelpsolved
callbacks will be removed. -
priority
- Callback priority. If more than onenodelpsolved
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeNodeLPSolvedCallback
public void removeNodeLPSolvedCallback(XpressProblem.CallbackAPI.NodeLPSolvedCallback cb) throws XPRSexception
Remove anodelpsolved
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allnodelpsolved
callbacks are removed. - Throws:
-
XPRSexception
-
removeNodeLPSolvedCallbacks
public void removeNodeLPSolvedCallbacks() throws XPRSexception
Remove allnodelpsolved
callbacks.- Throws:
-
XPRSexception
-
addGapNotifyCallback
public void addGapNotifyCallback(XpressProblem.CallbackAPI.GapNotifyCallback cb) throws XPRSexception
Add agapnotify
callback. This is a shortcut for callbackaddGapNotifyCallback(GapNotifyCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addGapNotifyCallback
public void addGapNotifyCallback(XpressProblem.CallbackAPI.GapNotifyCallback cb, int priority) throws XPRSexception
Add agapnotify
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allgapnotify
callbacks will be removed. -
priority
- Callback priority. If more than onegapnotify
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeGapNotifyCallback
public void removeGapNotifyCallback(XpressProblem.CallbackAPI.GapNotifyCallback cb) throws XPRSexception
Remove agapnotify
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allgapnotify
callbacks are removed. - Throws:
-
XPRSexception
-
removeGapNotifyCallbacks
public void removeGapNotifyCallbacks() throws XPRSexception
Remove allgapnotify
callbacks.- Throws:
-
XPRSexception
-
addUserSolNotifyCallback
public void addUserSolNotifyCallback(XpressProblem.CallbackAPI.UserSolNotifyCallback cb) throws XPRSexception
Add ausersolnotify
callback. This is a shortcut for callbackaddUserSolNotifyCallback(UserSolNotifyCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addUserSolNotifyCallback
public void addUserSolNotifyCallback(XpressProblem.CallbackAPI.UserSolNotifyCallback cb, int priority) throws XPRSexception
Add ausersolnotify
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allusersolnotify
callbacks will be removed. -
priority
- Callback priority. If more than oneusersolnotify
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeUserSolNotifyCallback
public void removeUserSolNotifyCallback(XpressProblem.CallbackAPI.UserSolNotifyCallback cb) throws XPRSexception
Remove ausersolnotify
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allusersolnotify
callbacks are removed. - Throws:
-
XPRSexception
-
removeUserSolNotifyCallbacks
public void removeUserSolNotifyCallbacks() throws XPRSexception
Remove allusersolnotify
callbacks.- Throws:
-
XPRSexception
-
addBeforeSolveCallback
public void addBeforeSolveCallback(XpressProblem.CallbackAPI.BeforeSolveCallback cb) throws XPRSexception
Add abeforesolve
callback. This is a shortcut for callbackaddBeforeSolveCallback(BeforeSolveCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addBeforeSolveCallback
public void addBeforeSolveCallback(XpressProblem.CallbackAPI.BeforeSolveCallback cb, int priority) throws XPRSexception
Add abeforesolve
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allbeforesolve
callbacks will be removed. -
priority
- Callback priority. If more than onebeforesolve
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeBeforeSolveCallback
public void removeBeforeSolveCallback(XpressProblem.CallbackAPI.BeforeSolveCallback cb) throws XPRSexception
Remove abeforesolve
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allbeforesolve
callbacks are removed. - Throws:
-
XPRSexception
-
removeBeforeSolveCallbacks
public void removeBeforeSolveCallbacks() throws XPRSexception
Remove allbeforesolve
callbacks.- Throws:
-
XPRSexception
-
addBeforeObjectiveCallback
public void addBeforeObjectiveCallback(XpressProblem.CallbackAPI.BeforeObjectiveCallback cb) throws XPRSexception
Add abeforeobjective
callback. This is a shortcut for callbackaddBeforeObjectiveCallback(BeforeObjectiveCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addBeforeObjectiveCallback
public void addBeforeObjectiveCallback(XpressProblem.CallbackAPI.BeforeObjectiveCallback cb, int priority) throws XPRSexception
Add abeforeobjective
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allbeforeobjective
callbacks will be removed. -
priority
- Callback priority. If more than onebeforeobjective
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeBeforeObjectiveCallback
public void removeBeforeObjectiveCallback(XpressProblem.CallbackAPI.BeforeObjectiveCallback cb) throws XPRSexception
Remove abeforeobjective
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allbeforeobjective
callbacks are removed. - Throws:
-
XPRSexception
-
removeBeforeObjectiveCallbacks
public void removeBeforeObjectiveCallbacks() throws XPRSexception
Remove allbeforeobjective
callbacks.- Throws:
-
XPRSexception
-
addAfterObjectiveCallback
public void addAfterObjectiveCallback(XpressProblem.CallbackAPI.AfterObjectiveCallback cb) throws XPRSexception
Add aafterobjective
callback. This is a shortcut for callbackaddAfterObjectiveCallback(AfterObjectiveCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addAfterObjectiveCallback
public void addAfterObjectiveCallback(XpressProblem.CallbackAPI.AfterObjectiveCallback cb, int priority) throws XPRSexception
Add aafterobjective
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allafterobjective
callbacks will be removed. -
priority
- Callback priority. If more than oneafterobjective
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeAfterObjectiveCallback
public void removeAfterObjectiveCallback(XpressProblem.CallbackAPI.AfterObjectiveCallback cb) throws XPRSexception
Remove aafterobjective
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allafterobjective
callbacks are removed. - Throws:
-
XPRSexception
-
removeAfterObjectiveCallbacks
public void removeAfterObjectiveCallbacks() throws XPRSexception
Remove allafterobjective
callbacks.- Throws:
-
XPRSexception
-
addCheckTimeCallback
public void addCheckTimeCallback(XpressProblem.CallbackAPI.CheckTimeCallback cb) throws XPRSexception
Add achecktime
callback. This is a shortcut for callbackaddCheckTimeCallback(CheckTimeCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addCheckTimeCallback
public void addCheckTimeCallback(XpressProblem.CallbackAPI.CheckTimeCallback cb, int priority) throws XPRSexception
Add achecktime
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allchecktime
callbacks will be removed. -
priority
- Callback priority. If more than onechecktime
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeCheckTimeCallback
public void removeCheckTimeCallback(XpressProblem.CallbackAPI.CheckTimeCallback cb) throws XPRSexception
Remove achecktime
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allchecktime
callbacks are removed. - Throws:
-
XPRSexception
-
removeCheckTimeCallbacks
public void removeCheckTimeCallbacks() throws XPRSexception
Remove allchecktime
callbacks.- Throws:
-
XPRSexception
-
addSlpCascadeEndCallback
public void addSlpCascadeEndCallback(XpressProblem.CallbackAPI.SlpCascadeEndCallback cb) throws XPRSexception
Add aslpcascadeend
callback. This is a shortcut for callbackaddSlpCascadeEndCallback(SlpCascadeEndCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpCascadeEndCallback
public void addSlpCascadeEndCallback(XpressProblem.CallbackAPI.SlpCascadeEndCallback cb, int priority) throws XPRSexception
Add aslpcascadeend
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpcascadeend
callbacks will be removed. -
priority
- Callback priority. If more than oneslpcascadeend
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpCascadeEndCallback
public void removeSlpCascadeEndCallback(XpressProblem.CallbackAPI.SlpCascadeEndCallback cb) throws XPRSexception
Remove aslpcascadeend
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpcascadeend
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpCascadeEndCallbacks
public void removeSlpCascadeEndCallbacks() throws XPRSexception
Remove allslpcascadeend
callbacks.- Throws:
-
XPRSexception
-
addSlpCascadeStartCallback
public void addSlpCascadeStartCallback(XpressProblem.CallbackAPI.SlpCascadeStartCallback cb) throws XPRSexception
Add aslpcascadestart
callback. This is a shortcut for callbackaddSlpCascadeStartCallback(SlpCascadeStartCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpCascadeStartCallback
public void addSlpCascadeStartCallback(XpressProblem.CallbackAPI.SlpCascadeStartCallback cb, int priority) throws XPRSexception
Add aslpcascadestart
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpcascadestart
callbacks will be removed. -
priority
- Callback priority. If more than oneslpcascadestart
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpCascadeStartCallback
public void removeSlpCascadeStartCallback(XpressProblem.CallbackAPI.SlpCascadeStartCallback cb) throws XPRSexception
Remove aslpcascadestart
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpcascadestart
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpCascadeStartCallbacks
public void removeSlpCascadeStartCallbacks() throws XPRSexception
Remove allslpcascadestart
callbacks.- Throws:
-
XPRSexception
-
addSlpCascadeVarCallback
public void addSlpCascadeVarCallback(XpressProblem.CallbackAPI.SlpCascadeVarCallback cb) throws XPRSexception
Add aslpcascadevar
callback. This is a shortcut for callbackaddSlpCascadeVarCallback(SlpCascadeVarCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpCascadeVarCallback
public void addSlpCascadeVarCallback(XpressProblem.CallbackAPI.SlpCascadeVarCallback cb, int priority) throws XPRSexception
Add aslpcascadevar
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpcascadevar
callbacks will be removed. -
priority
- Callback priority. If more than oneslpcascadevar
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpCascadeVarCallback
public void removeSlpCascadeVarCallback(XpressProblem.CallbackAPI.SlpCascadeVarCallback cb) throws XPRSexception
Remove aslpcascadevar
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpcascadevar
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpCascadeVarCallbacks
public void removeSlpCascadeVarCallbacks() throws XPRSexception
Remove allslpcascadevar
callbacks.- Throws:
-
XPRSexception
-
addSlpCascadeVarFailCallback
public void addSlpCascadeVarFailCallback(XpressProblem.CallbackAPI.SlpCascadeVarFailCallback cb) throws XPRSexception
Add aslpcascadevarfail
callback. This is a shortcut for callbackaddSlpCascadeVarFailCallback(SlpCascadeVarFailCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpCascadeVarFailCallback
public void addSlpCascadeVarFailCallback(XpressProblem.CallbackAPI.SlpCascadeVarFailCallback cb, int priority) throws XPRSexception
Add aslpcascadevarfail
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpcascadevarfail
callbacks will be removed. -
priority
- Callback priority. If more than oneslpcascadevarfail
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpCascadeVarFailCallback
public void removeSlpCascadeVarFailCallback(XpressProblem.CallbackAPI.SlpCascadeVarFailCallback cb) throws XPRSexception
Remove aslpcascadevarfail
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpcascadevarfail
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpCascadeVarFailCallbacks
public void removeSlpCascadeVarFailCallbacks() throws XPRSexception
Remove allslpcascadevarfail
callbacks.- Throws:
-
XPRSexception
-
addSlpConstructCallback
public void addSlpConstructCallback(XpressProblem.CallbackAPI.SlpConstructCallback cb) throws XPRSexception
Add aslpconstruct
callback. This is a shortcut for callbackaddSlpConstructCallback(SlpConstructCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpConstructCallback
public void addSlpConstructCallback(XpressProblem.CallbackAPI.SlpConstructCallback cb, int priority) throws XPRSexception
Add aslpconstruct
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpconstruct
callbacks will be removed. -
priority
- Callback priority. If more than oneslpconstruct
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpConstructCallback
public void removeSlpConstructCallback(XpressProblem.CallbackAPI.SlpConstructCallback cb) throws XPRSexception
Remove aslpconstruct
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpconstruct
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpConstructCallbacks
public void removeSlpConstructCallbacks() throws XPRSexception
Remove allslpconstruct
callbacks.- Throws:
-
XPRSexception
-
addSlpIntSolCallback
public void addSlpIntSolCallback(XpressProblem.CallbackAPI.SlpIntSolCallback cb) throws XPRSexception
Add aslpintsol
callback. This is a shortcut for callbackaddSlpIntSolCallback(SlpIntSolCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpIntSolCallback
public void addSlpIntSolCallback(XpressProblem.CallbackAPI.SlpIntSolCallback cb, int priority) throws XPRSexception
Add aslpintsol
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpintsol
callbacks will be removed. -
priority
- Callback priority. If more than oneslpintsol
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpIntSolCallback
public void removeSlpIntSolCallback(XpressProblem.CallbackAPI.SlpIntSolCallback cb) throws XPRSexception
Remove aslpintsol
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpintsol
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpIntSolCallbacks
public void removeSlpIntSolCallbacks() throws XPRSexception
Remove allslpintsol
callbacks.- Throws:
-
XPRSexception
-
addSlpIterEndCallback
public void addSlpIterEndCallback(XpressProblem.CallbackAPI.SlpIterEndCallback cb) throws XPRSexception
Add aslpiterend
callback. This is a shortcut for callbackaddSlpIterEndCallback(SlpIterEndCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpIterEndCallback
public void addSlpIterEndCallback(XpressProblem.CallbackAPI.SlpIterEndCallback cb, int priority) throws XPRSexception
Add aslpiterend
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpiterend
callbacks will be removed. -
priority
- Callback priority. If more than oneslpiterend
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpIterEndCallback
public void removeSlpIterEndCallback(XpressProblem.CallbackAPI.SlpIterEndCallback cb) throws XPRSexception
Remove aslpiterend
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpiterend
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpIterEndCallbacks
public void removeSlpIterEndCallbacks() throws XPRSexception
Remove allslpiterend
callbacks.- Throws:
-
XPRSexception
-
addSlpIterStartCallback
public void addSlpIterStartCallback(XpressProblem.CallbackAPI.SlpIterStartCallback cb) throws XPRSexception
Add aslpiterstart
callback. This is a shortcut for callbackaddSlpIterStartCallback(SlpIterStartCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpIterStartCallback
public void addSlpIterStartCallback(XpressProblem.CallbackAPI.SlpIterStartCallback cb, int priority) throws XPRSexception
Add aslpiterstart
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpiterstart
callbacks will be removed. -
priority
- Callback priority. If more than oneslpiterstart
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpIterStartCallback
public void removeSlpIterStartCallback(XpressProblem.CallbackAPI.SlpIterStartCallback cb) throws XPRSexception
Remove aslpiterstart
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpiterstart
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpIterStartCallbacks
public void removeSlpIterStartCallbacks() throws XPRSexception
Remove allslpiterstart
callbacks.- Throws:
-
XPRSexception
-
addSlpIterVarCallback
public void addSlpIterVarCallback(XpressProblem.CallbackAPI.SlpIterVarCallback cb) throws XPRSexception
Add aslpitervar
callback. This is a shortcut for callbackaddSlpIterVarCallback(SlpIterVarCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpIterVarCallback
public void addSlpIterVarCallback(XpressProblem.CallbackAPI.SlpIterVarCallback cb, int priority) throws XPRSexception
Add aslpitervar
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpitervar
callbacks will be removed. -
priority
- Callback priority. If more than oneslpitervar
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpIterVarCallback
public void removeSlpIterVarCallback(XpressProblem.CallbackAPI.SlpIterVarCallback cb) throws XPRSexception
Remove aslpitervar
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpitervar
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpIterVarCallbacks
public void removeSlpIterVarCallbacks() throws XPRSexception
Remove allslpitervar
callbacks.- Throws:
-
XPRSexception
-
addSlpDrColCallback
public void addSlpDrColCallback(XpressProblem.CallbackAPI.SlpDrColCallback cb) throws XPRSexception
Add aslpdrcol
callback. This is a shortcut for callbackaddSlpDrColCallback(SlpDrColCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpDrColCallback
public void addSlpDrColCallback(XpressProblem.CallbackAPI.SlpDrColCallback cb, int priority) throws XPRSexception
Add aslpdrcol
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslpdrcol
callbacks will be removed. -
priority
- Callback priority. If more than oneslpdrcol
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpDrColCallback
public void removeSlpDrColCallback(XpressProblem.CallbackAPI.SlpDrColCallback cb) throws XPRSexception
Remove aslpdrcol
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslpdrcol
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpDrColCallbacks
public void removeSlpDrColCallbacks() throws XPRSexception
Remove allslpdrcol
callbacks.- Throws:
-
XPRSexception
-
addMsJobStartCallback
public void addMsJobStartCallback(XpressProblem.CallbackAPI.MsJobStartCallback cb) throws XPRSexception
Add amsjobstart
callback. This is a shortcut for callbackaddMsJobStartCallback(MsJobStartCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addMsJobStartCallback
public void addMsJobStartCallback(XpressProblem.CallbackAPI.MsJobStartCallback cb, int priority) throws XPRSexception
Add amsjobstart
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allmsjobstart
callbacks will be removed. -
priority
- Callback priority. If more than onemsjobstart
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeMsJobStartCallback
public void removeMsJobStartCallback(XpressProblem.CallbackAPI.MsJobStartCallback cb) throws XPRSexception
Remove amsjobstart
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allmsjobstart
callbacks are removed. - Throws:
-
XPRSexception
-
removeMsJobStartCallbacks
public void removeMsJobStartCallbacks() throws XPRSexception
Remove allmsjobstart
callbacks.- Throws:
-
XPRSexception
-
addMsJobEndCallback
public void addMsJobEndCallback(XpressProblem.CallbackAPI.MsJobEndCallback cb) throws XPRSexception
Add amsjobend
callback. This is a shortcut for callbackaddMsJobEndCallback(MsJobEndCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addMsJobEndCallback
public void addMsJobEndCallback(XpressProblem.CallbackAPI.MsJobEndCallback cb, int priority) throws XPRSexception
Add amsjobend
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allmsjobend
callbacks will be removed. -
priority
- Callback priority. If more than onemsjobend
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeMsJobEndCallback
public void removeMsJobEndCallback(XpressProblem.CallbackAPI.MsJobEndCallback cb) throws XPRSexception
Remove amsjobend
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allmsjobend
callbacks are removed. - Throws:
-
XPRSexception
-
removeMsJobEndCallbacks
public void removeMsJobEndCallbacks() throws XPRSexception
Remove allmsjobend
callbacks.- Throws:
-
XPRSexception
-
addMsWinnerCallback
public void addMsWinnerCallback(XpressProblem.CallbackAPI.MsWinnerCallback cb) throws XPRSexception
Add amswinner
callback. This is a shortcut for callbackaddMsWinnerCallback(MsWinnerCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addMsWinnerCallback
public void addMsWinnerCallback(XpressProblem.CallbackAPI.MsWinnerCallback cb, int priority) throws XPRSexception
Add amswinner
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allmswinner
callbacks will be removed. -
priority
- Callback priority. If more than onemswinner
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeMsWinnerCallback
public void removeMsWinnerCallback(XpressProblem.CallbackAPI.MsWinnerCallback cb) throws XPRSexception
Remove amswinner
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allmswinner
callbacks are removed. - Throws:
-
XPRSexception
-
removeMsWinnerCallbacks
public void removeMsWinnerCallbacks() throws XPRSexception
Remove allmswinner
callbacks.- Throws:
-
XPRSexception
-
addNlpCoefEvalErrorCallback
public void addNlpCoefEvalErrorCallback(XpressProblem.CallbackAPI.NlpCoefEvalErrorCallback cb) throws XPRSexception
Add anlpcoefevalerror
callback. This is a shortcut for callbackaddNlpCoefEvalErrorCallback(NlpCoefEvalErrorCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addNlpCoefEvalErrorCallback
public void addNlpCoefEvalErrorCallback(XpressProblem.CallbackAPI.NlpCoefEvalErrorCallback cb, int priority) throws XPRSexception
Add anlpcoefevalerror
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allnlpcoefevalerror
callbacks will be removed. -
priority
- Callback priority. If more than onenlpcoefevalerror
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeNlpCoefEvalErrorCallback
public void removeNlpCoefEvalErrorCallback(XpressProblem.CallbackAPI.NlpCoefEvalErrorCallback cb) throws XPRSexception
Remove anlpcoefevalerror
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allnlpcoefevalerror
callbacks are removed. - Throws:
-
XPRSexception
-
removeNlpCoefEvalErrorCallbacks
public void removeNlpCoefEvalErrorCallbacks() throws XPRSexception
Remove allnlpcoefevalerror
callbacks.- Throws:
-
XPRSexception
-
addSlpPreUpdateLinearizationCallback
public void addSlpPreUpdateLinearizationCallback(XpressProblem.CallbackAPI.SlpPreUpdateLinearizationCallback cb) throws XPRSexception
Add aslppreupdatelinearization
callback. This is a shortcut for callbackaddSlpPreUpdateLinearizationCallback(SlpPreUpdateLinearizationCallback,int)
with a priority of 0 (zero).- Parameters:
-
cb
- The callback to add. - Throws:
-
XPRSexception
-
addSlpPreUpdateLinearizationCallback
public void addSlpPreUpdateLinearizationCallback(XpressProblem.CallbackAPI.SlpPreUpdateLinearizationCallback cb, int priority) throws XPRSexception
Add aslppreupdatelinearization
callback.- Parameters:
-
cb
- The callback function. If you passnull
then allslppreupdatelinearization
callbacks will be removed. -
priority
- Callback priority. If more than oneslppreupdatelinearization
callback is registered then for one event all the callbacks are invoked in order of decreasing priority. - Throws:
-
XPRSexception
-
removeSlpPreUpdateLinearizationCallback
public void removeSlpPreUpdateLinearizationCallback(XpressProblem.CallbackAPI.SlpPreUpdateLinearizationCallback cb) throws XPRSexception
Remove aslppreupdatelinearization
callback.- Parameters:
-
cb
- The callback to be removed. If this isnull
then allslppreupdatelinearization
callbacks are removed. - Throws:
-
XPRSexception
-
removeSlpPreUpdateLinearizationCallbacks
public void removeSlpPreUpdateLinearizationCallbacks() throws XPRSexception
Remove allslppreupdatelinearization
callbacks.- Throws:
-
XPRSexception
-
-
© 2001-2024 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.