GRBModel.getObjective()

Retrieve the model objective(s).

GRBExpr getObjective ( )

GRBLinExpr getObjective ( int index )