Initializing help system before first use

newVar Method (String)

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: 4.8.14.0
Syntax
C#
VB
public XPRBvar newVar(
	string name
)

Parameters

name
Type:  SystemString
The string name of the new XPRBvar variable.

Return Value

Type:  XPRBvar
The new XPRBvar object.
Examples
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