This method sets the formulation based on a JSON object describing the entire formulation.
This page discusses:
formulation
Returns a dictionary-like object containing a list of all objectives keyed to objectives and a list of all constraints keyed to constraints.
objectives
constraints