GRBModel.GetCoeff()

Query the coefficient of variable var in linear constraint constr (note that the result can be zero).

double GetCoeff ( GRBConstr constr,
    GRBVar var )