Enumeration & Local Search
Most scheduling problems are NP-hard. We can see them as combinatorial optimisation problems minimising a cost function
In most cases,
We can either:
- Approximate methods can offer formal performance guarantees.
- Enumeration methods: an exhaustive search using acculumated knowledge to save time. Returned solutions are optimal.
- Metaheuristics: quickly evolve solutions, typically returning a local optimimum. Validated through experiments.
1. Enumeration
1.1 Dynamic Programming
Let
We give label
i.e. start with the smallest set (1 job) and build up to the full set of jobs, using previously computed results.
1.2 Branch & Bound
This is a common enumeration method consisting of:
- Branching - partitions feasible solutions into two or more smaller sub-problems.
- Bounding - determine which subproblems improve the current solution.
The branching procedure is a search tree. The node (level
In subproblem
, is scheduled before .
- For each node, a problem specific lower bound is calculated on the lowest possible achievable cost.
- Branching is then recursively applied to the node with the smallest lower bound across the entire search tree. (Jumptracking!)
- Node that cannot improve the solution are pruned (fathoming).
2. Metaheuristics
Local search: A neighbourhood
2.1 Simulated Annealing
SA is a metaheuristic that allows exploring the solution space through a random walk, guided towards low cost regions over time.
The tendancy to escape a region around a local optimum is reduced over time by a temperature parameter until convergence.
Start from initial solution
- Choose at random a neighbour
and compute cost change . - If
, then is accepted as the next solution . - Otherwise, accept worse solution
with probability , where is the temperature. - Temperature is reduced:
with . - Algorithm stops when
.
2.2 Tabu Search
Tabu search uses a deterministic search with memory mechanism. Upon reaching solution
It uses a first-accept strategy - accepting the first improving solution found.
Neighbours are enumerated cyclically, moving to a new solution as soon as one is accepted. The search has memory
The aspiration criterion also allows a tabu move if it leads to a solution that is better than the best solution found so far.
3. Constraints
A constraint optimisation problem looks for
Rejection Method skips candidate solutions violating constraints. Works best if feasible solutions are common, but initial schedule is required.
Penalty Function Method maps to an unconstrained optimisation for user specified