GRBModel::getObjective()

Retrieve the optimization objective(s).

GRBQuadExpr getObjective ( )

GRBLinExpr getObjective ( int index )