Enumeration & Local Search

Most scheduling problems are NP-hard. We can see them as combinatorial optimisation problems minimising a cost function over feasible schedules .

In most cases, is an additive function where is the cost of job in schedule .

We can either:

1. Enumeration

1.1 Dynamic Programming

Let be a set of jobs and be the minimum cost for the subproblem of scheduling jobs in .

We give label to the job in that is scheduled last, completing at . Dynamic programming finds the minimum cost by considering all possible last jobs :

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:

  1. Branching - partitions feasible solutions into two or more smaller sub-problems.
  2. Bounding - determine which subproblems improve the current solution.

The branching procedure is a search tree. The node (level ) represents the original problem . Branching a node at level creates a set of subproblems at level , each representing a subset of feasible solutions. A subproblem at level fixes the schedule of the last jobs.

In subproblem , is scheduled before .

  1. For each node, a problem specific lower bound is calculated on the lowest possible achievable cost.
  2. Branching is then recursively applied to the node with the smallest lower bound across the entire search tree. (Jumptracking!)
  3. Node that cannot improve the solution are pruned (fathoming).

2. Metaheuristics

Local search: A neighbourhood of the current solution is generated using adjacent pairwise interchange, possibly subject to constraints. We evolve by choosing the next . However, this can get stuck in a local optimum. How do we avoid this?

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 . Then:

  1. Choose at random a neighbour and compute cost change .
  2. If , then is accepted as the next solution .
  3. Otherwise, accept worse solution with probability , where is the temperature.
  4. Temperature is reduced: with .
  5. Algorithm stops when .

Tabu search uses a deterministic search with memory mechanism. Upon reaching solution a worse solution with greater than a given statistic threshold can still be accepted. If no new solution can be accepted, optimization terminates.

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 , called a tabu list, which keeps track of the last job pairs we interchanged. Its maintained as follows: if we replace with schedule , then the pair of jobs interchanged to obtain is added to , evicting the oldest pair if full. For the next iterations, the search is disallowed to swap the same pair of jobs again.

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 subject to and for . There are two main approaches to handle constraints:

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 :

Back to Home