GRBModel.GetObjective()

Retrieve the model objective(s).

GRBExpr GetObjective ( )

GRBLinExpr GetObjective ( int index )