setFormulation()

This method sets the formulation based on a JSON object describing the entire formulation.

This page discusses:

Arguments

  • formulation: Dictionary-like object defining all constraints and objectives on the case.
  • formulation schema: Formulation Schema

Return Value

Returns a dictionary-like object containing a list of all objectives keyed to objectives and a list of all constraints keyed to constraints.