Weighted Objective Functions — An Interactive Transport Planning Model
Change what the planner is told to value, and watch the “best” route plan change with it. An objective function is a policy decision disguised as arithmetic.
Open simulation →Simulation
Destroy part of a respectable route plan, repair it, and see whether a better structure emerges.
Suggested exploration: about 5 minutes.
Run a destroy-and-repair step, then change how much of the plan is removed.
What to look for: Rebuilding a larger part of the plan explores changes that small local swaps may miss.
Large Neighbourhood Search improves a route by temporarily destroying part of an existing solution and then repairing it. That larger intervention lets the optimiser escape the local traps where small route changes stop producing useful improvements.
The simulator uses a Wakefield depot and a set of illustrative Yorkshire deliveries. It is designed to make the central idea visible: a plan can look good locally while its structure prevents a better overall arrangement from being discovered.
Choose a destroy operator to decide which deliveries are removed from the current plan. Then choose a repair strategy to decide how those deliveries are inserted again. Run the scenario repeatedly and watch the current, best, and initial route scores change.
The important question is not whether every iteration improves the score. A useful search sometimes accepts a worse intermediate arrangement because it creates a route structure from which a better solution can be found.
My Name Is Earl optimisation series
A Wakefield depot serves deliveries across Yorkshire. The current plan is deliberately damaged, then repaired to see whether a better set of routes emerges.
The initial plan is the baseline. Run an iteration to see whether destroying and repairing part of the plan finds a shorter set of routes.
Large Neighbourhood Search is a useful model for decision-support software because it exposes the trade-off between preserving a familiar plan and exploring a better one. A routing tool should help planners understand what was changed, why the new arrangement was considered, and whether the improvement survives the operational constraints that matter in practice.
Run a destroy-and-repair step, then change how much of the plan is removed.
Change one input at a time and compare the result with the starting state so the effect of that choice remains visible.
Rebuilding a larger part of the plan explores changes that small local swaps may miss.
Destroy-and-repair behaviour is simplified and uses a small route set. Production performance depends on removal operators, repair heuristics, constraints, adaptive weights and runtime limits.
Read: Large Neighbourhood Search for Logistics Routes: Earl Breaks the Plan →
Explore the complete Transport Optimisation Explained series
Foundational sources for the concepts explored in this model:
Read the article explaining how this model applies those ideas