Initializing help system before first use

assign Method

Assigns an XPRBrelation relation as the current XPRBcut.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public int assign(
	XPRBrelation cut
)

Parameters

cut
Type:  BCLXPRBrelation
The XPRBrelation to assign as a new cut.

Return Value

Type:  Int32
0 on success, 1 on failure.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBcut cut = new XPRBcut(); XPRBvar var = new XPRBvar("Variable"); ... cut.assign(var <= 2.5);
See Also