Initializing help system before first use

getVar Method

Gets the value assigned to a variable in a solution. This method retrieves the value assigned to a variable in a (partial) solution.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 36.1.3.0
Syntax
C#
VB
public Nullable<double> getVar(
	XPRBvar var
)

Parameters

var
Type:  BCLXPRBvar
Variable to set

Return Value

Type:  Nullable Double
Examples
XPRBprob expl1 = new XPRBprob("example1"); XPRBvar x1 = expl1.newVar("abc3", BCLconstant.XPRB_UI, 1, 100); XPRBsol sol1 = expl1.newSol(); sol1.setVar(x1,1.0); double val1 = sol1.getVar(x1,value);
See Also

© 2001-2020 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.