Click or drag to resize

XPRBprobbeginCB Method

Start working with BCL within an Optimizer callback. This method precedes any call to BCL functionality within an Optimizer callback. It updates the BCL problem information for working with the local Optimizer subproblem and resets the BCL problem status. This method blocks access to the BCL problem until it is released by a matching call to endCB.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public void beginCB(
	XPRSprob optprob
)

Parameters

optprob  XPRSprob
The Xpress-Optimizer problem

Return Value

0 on success.
Example
C#
XPRBprob expl2;
expl2 = new XPRBprob("example2");
...
expl2.beginCB(mylocaloptprob);
expl2.sync(BCLconstant.XPRB_XPRS_PROB);
xprl2.endCB();
See Also