setTerm(XPRBvar, XPRBvar, Double) Method
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
public XPRBexpr setTerm( XPRBvar var1, XPRBvar var2, double val )
Public Function setTerm ( var1 As XPRBvar, var2 As XPRBvar, val As Double ) As XPRBexpr
Parameters
- var1 XPRBvar
- The XPRBvar which forms one part of the new term.
- var2 XPRBvar
- The XPRBvar which forms the other part of the new term.
- val Double
- The new term coefficient.
Return Value
XPRBexprThe XPRBexpr containing the new term.
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBvar var3 = new XPRBvar("Variable3"); XPRBexpr exp = new XPRBexpr(4.2 * var * var2); ... exp.setTerm(var, var3, 3.67);
© 2001-2025 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.