This method adds an objective, specified by a JSON object containing paramId, type, and value, to the formulation.
paramId
type
value
This page discusses:
MAXIMIZE
MINIMIZE
AVOID
TARGET
Returns a dictionary-like object describing the newly created objective.
paramId is the id attribute on the parameter objects used by methods in the Parameter API.
id