Documentation

GRBQuadExpr::getCoeff()


GRBQuadExpr::getCoeff()

Retrieve the coefficient from a single quadratic term of the quadratic expression.

double getCoeff ( int i )

    Arguments:

    i: Index for coefficient of interest.

    Return value:

    Coefficient for the quadratic term at index i in the quadratic expression.