Click or drag to resize

XPRBexprgetSol Method

Evaluates the XPRB expression.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public double getSol()

Return Value

Double
The double solution to the expression.
Example
C#
XPRBprob prob = new XPRBprob("NewProb");
XPRBvar var = new XPRBvar("Variable");
XPRBexpr exp = new XPRBexpr(4.2*var + 3.6);
...
double result = exp.getSol();
See Also