Click or drag to resize

XPRBcutsetType 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: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public int setType(
	int type
)

Parameters

type  Int32
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

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