Supply Chain Lab Cross-Docking Scheduler Lab Home
Capacity & Operations

Cross-Docking Scheduler

Six inbound trucks, three dock doors, one morning. Assign each truck to a door - trucks queue FCFS at their door - and chase the exact optimum (all 729 assignments enumerated) on total waiting time. The Gantt shows every idle minute.

How to use it

The dock

Inbound trucks (arrival · unload min)

Auto-schedule

Greedy takes trucks in arrival order and gives each the door that can start it soonest. The optimum is found by checking all 3⁶ = 729 assignments.

–
Makespan (min)
–
Avg flow time
–
Door idle (min)
Unassigned trucks

Solid bar = unloading; hollow leader = the truck waiting at the door after arriving. Numbers are truck IDs.

–
Your total wait
–
Greedy rule
–
Exact optimum

Try these experiments

  1. Beat the greedy rule - it commits early trucks without seeing the whole morning; look for a long truck it placed badly.
  2. Roll days until you find one where greedy is exactly optimal - when arrivals are spread out, myopia costs nothing.
  3. Give one truck a 90-minute unload: where does the optimum park it, and what happens to every truck behind it if you move it?

About this tool

The concept

Cross-docks live or die on door scheduling: freight flows straight from inbound to outbound, so a waiting truck is inventory on wheels.

How it works

This is parallel-machine scheduling with release dates (P|rᵢ|Σw): NP-hard in general, but six trucks on three doors can be enumerated exactly.

Winning strategy

Keep long unloads out of the way of tight arrival clusters, and remember: minimising waiting is not the same as minimising makespan - check both tiles.