Optimization Run Comparison

Compare an optimization run with the previous run

Compares a completed route optimization run that left orders unassigned with the previous applied run of the same store, pick shift and target day. Returns the field-level difference of the solver input, the dropped orders, and the cause classes that match. An expected non-result (no dropped orders, no previous run, no stored solver input) is a 200 with its own outcome.

get/v1/activities/{id}/unassigned-comparison

Request

  • Base URL
    https://api.sandbox.usenash.com
  • Auth
    none declared

Path parameters

idstring required

Activity id

Example:act_123

Response

OK

schema_version'unassigned-comparison/v1'
outcome'compared' | 'no_dropped_orders' | 'no_previous_run' | 'input_missing' required
newly_dropped_order_idsstring[] required
carried_over_order_idsstring[] required
primary_cause'capabilities_violation_only' | 'fewer_vans' | 'vehicle_constraint_tightened' | 'configuration_changed' | 'dropped_order_changed' | 'demand_added' | 'other_orders_changed' | 'demand_removed' | 'vehicle_constraint_loosened' | 'more_vans' | 'no_input_change' required

Cause classes. Declaration order is the order in which the rules apply, except that for an order the previous run routed, a matching fleet rule (fewer_vans, vehicle_constraint_tightened) ranks above capabilities_violation_only.

blind_spotsstring[] required
dimension_unitsobject

Changes

No recorded changes to this operation across all 1 revision of this API.