GRBQuadExpr.size()

Retrieve the number of quadratic terms in the quadratic expression. Use GRBQuadExpr.getLinExpr to retrieve constant or linear terms from the quadratic expression.

int size ( )

    Return value:

    Number of quadratic terms in the expression.