Initializing help system before first use

newVar Method (String, Int32, Double, Double)

Create a new XPRBvar variable in the current problem.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 44.01.01
Syntax
C#
public XPRBvar newVar(
	string name,
	int type,
	double lob,
	double upb
)
VB
Public Function newVar ( 
	name As String,
	type As Integer,
	lob As Double,
	upb As Double
) As XPRBvar

Parameters

name
Type:  System.String
The string name of the new XPRBvar variable.
type
Type:  System.Int32
The type of the variable. Possible values are:
  • BCLconstant.XPRB_PL - Continuous.
  • BCLconstant.XPRB_BV - Binary.
  • BCLconstant.XPRB_UI - General integer.
  • BCLconstant.XPRB_PI - Partial integer.
  • BCLconstant.XPRB_SC - Semi-continuous.
  • BCLconstant.XPRB_SI - Semi-continuous integer.
lob
Type:  System.Double
The double lower bound of the variable.
upb
Type:  System.Double
The double upper bound of the variable.

Return Value

Type:  XPRBvar
The new XPRBvar object.
Examples
xbcontr1.cs, xbexpl.cs and xbportf.cs in the Introductory Examples folder. xbcutstk.cs and xbrecurs.cs in the Advanced Examples folder. folioheur.cs, foliomip1.cs, foliomip2.cs, folioqp.cs, xbcontr1.cs, xbcontr2.cs, xbcutex.cs, xbexpl1.cs, xbexpl1i.cs, xbqprl2.cs and xbexpl3.cs from the User's Guide Examples folder.
See Also

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.