GRBModel.getObjective()

Retrieve the model objective.

Note that the constant and linear portions of the objective can also be retrieved using the ObjCon and Obj attributes.

GRBExpr getObjective ( )