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: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic XPRBvar newVar(
string name
)
Public Function newVar (
name As String
) As XPRBvar
Parameters
- name String
- The string name of the new XPRBvar variable.
Return Value
XPRBvarThe new XPRBvar object.
Examplexbchess.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