Represents an AMPL objective. Note that, in case of a scalar objective, all
the properties (corresponding to AMPL suffixes) of the objective instance
can be accessed through methods like
The methods have the same name of the corresponding AMPL suffixes.
See https://www.ampl.com/NEW/suffbuiltin.html for a list of the available
All these methods throw an error if called on an entity which has been deleted
in the underlying intepreter.
To gain access to all the values in an entity (for all instances and all
suffixes for that entities), see
getValues and the