Initializing help system before first use

beginCB 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: 4.8.14.0
Syntax
C#
VB
public void beginCB(
	XPRSprob optprob
)

Parameters

optprob
Type:  XPRSprob
The Xpress-Optimizer problem

Return Value

Type: 
0 on success.
Examples
XPRBprob expl2;
expl2 = new XPRBprob("example2");
...
expl2.beginCB(mylocaloptprob);
expl2.sync(BCLconstant.XPRB_XPRS_PROB);
xprl2.endCB();
See Also