GRBModel.GetQConstr()

Retrieve the left-hand side expression from a quadratic constraint. The result is returned as a GRBQuadExpr object.

GRBQuadExpr GetQConstr ( GRBQConstr qconstr )

    Arguments:

    qconstr: The quadratic constraint of interest.

    Return value:

    A GRBQuadExpr object that captures the left-hand side of the quadratic constraint.