Initializing help system before first use

sync Method

Synchronize BCL with the Optimizer. This method resets the BCL problem status.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public int sync(
	int synctype
)

Parameters

synctype
Type:  SystemInt32
The type of synchronisation. Possible values are:
  • BCLconstant.XPRB_XPRS_SOL - Update the BCL solution information with the LP solution currently held in the Optimizer .
  • BCLconstant.XPRB_XPRS_SOLMIP - Update the BCL solution information with the MIP solution currently held in the Optimizer .
  • BCLconstant.XPRB_XPRS_PROB - Force problem reloading.

Return Value

Type:  Int32
0 on success.
Examples
xbelsc.cs in the Advanced Examples folder. xbcontr2.cs in the User's Guide Examples folder.
See Also