GRBExpr#

GRBExpr#

Abstract base class for the GRBLinExpr and GRBQuadExpr classes. Expressions are used to build objectives and constraints. They are temporary objects that typically have short lifespans.

double getValue()#

Compute the value of an expression for the current solution.

Return value:

Value of the expression for the current solution.