Initializing help system before first use

setType Method

Set the cut row type. This method changes the type of a previously defined cut to inequality or equation.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int setType(
	int type
)

Parameters

type
Type:  SystemInt32
The type to set the XPRBcut relation to. Possible values:
  • BCLconstant.XPRB_L - Less than or equal to (inequality).
  • BCLconstant.XPRB_G - Greater than or equal to (inequality).
  • BCLconstant.XPRB_E - Equal to (equation).

Return Value

Type:  Int32
0 on success, 1 on failure.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBcut cut = new XPRBcut(); ... cut.setType(BCLconstant.XPRB_G);
See Also