Click or drag to resize

XPRBprobnewVar(String) Method

Create a new XPRBvar variable in the current problem. The lower bound is set to zero, the upper bound to BCLconstant.XPRB_INFINITY and the type to BCLconstant.XPRB_PL (continuous).

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public XPRBvar newVar(
	string name
)

Parameters

name  String
The string name of the new XPRBvar variable.

Return Value

XPRBvar
The new XPRBvar object.
Example
xbchess.cs, xbcoco.cs, xbcoco1.cs, xbcoco2.cs, xbcoco3.cs, xbdelvr.cs, xbexpl.cs, xbpurch.cs, xbworkrng.cs and xbworks.cs in the Introductory Examples folder. xbels.cs, xbelsc.cs, xbfixbv.cs and xbrecurs.cs in the Advanced Examples folder. foliodata.cs, folioinit.cs, foliolp.cs, xbcutex.cs, xbexpl1.cs and xbqprl2.cs from the User's Guide Examples folder.
See Also