5.4 Solution Object

A solution object contains a load plan, together with KPIs for that load plan. When checking it also contains a report of any constraint violations in the supplied load plan.

  1. assignments: an array of assignment objects that gives the allocation of orders and volumes to compartments.
  2. delivery_kpi: an array of delivery KPI objects describing how the generated load plan meets the order volume requirements.
  3. axle_weights: an array of axle weight objects describing the axle weights at each site.
  4. gcm_weights: an array of gcm weight objects describing the GCM at each site.
  5. errors: an array of strings, each of which is a report of a constraint violated by the assignments.
  6. structured_errors: an array of solution error objects, each of which is a report of a constraint violated by the assignments.