Problems¶
Part 1 · Problems · 7 chapters · Lecture notes (PDF) · Exercises (PDF) · Catalogue (PDF)
All 32 problems of the course, by family. The central families have a chapter with an overview and one page per problem; for every problem the name leads to the definition, the labels to the chapters that treat it.
Knapsack problems Packing problems Coloring problems Clique problems Routing problems Scheduling problems Lot sizing problems Miscellaneous problems
Knapsack problems¶
Select a subset or a multiset of items of maximum total profit subject to capacity constraints.
Read chapter 2 · Exercises · Slides
0/1 knapsack problem (KP) — Choose a subset of items of maximum total profit whose total weight does not exceed the capacity \(c\).
Formulations Ad hoc algorithms Dynamic programming Heuristics: Constructive · Local search · Metaheuristics MIP heuristics Approximation Exercises: Ch. 2 · Ch. 9 · Ch. 16
Subset sum problem (SSP) — Decide whether a subset of the items has total weight exactly equal to \(c\).
Formulations Dynamic programming Exercises: Ch. 2 · Ch. 9
Bounded knapsack problem (BKP) — Choose how many copies of each item to take, at most \(b_j\) of item \(j\), with maximum total profit within the capacity.
Formulations Dynamic programming Exercises: Ch. 2 · Ch. 9
Unbounded knapsack problem (UKP) — Choose how many copies of each item to take, with no upper bound, with maximum total profit within the capacity.
Formulations Dynamic programming: Unbounded knapsack problem · Coin change problem · Rod cutting problem Exercises: Ch. 2 · Ch. 9
Multidimensional knapsack problem (MDKP) — Choose items of maximum total profit that respect \(k\) capacity constraints, one for each resource.
Multiple knapsack problem (MKP) — Assign items to \(m\) knapsacks, each with its own capacity, so that the total profit of the assigned items is maximum.
Formulations Dynamic programming Exercises: Ch. 2 · Ch. 9
Multiple-choice knapsack problem (MCKP) — Choose exactly one item from each class, with maximum total profit within the capacity.
Formulations Dynamic programming Exercises: Ch. 2 · Ch. 9
Knapsack problem with setups (KPS) — Choose items grouped in classes, where the first item of a class pays a setup cost and a setup weight, with maximum net profit within the capacity.
Packing problems¶
Pack items into the minimum number of bins of equal capacity.
Read chapter 3 · Exercises · Slides
Bin packing problem (BPP) — Pack items of weights \(w_j\) into the minimum number of bins of capacity \(c\).
Formulations Heuristics: Constructive · Local search · Metaheuristics MIP heuristics Approximation Exercises: Ch. 3 · Ch. 7 · Ch. 10
Cutting stock problem (CSP) — Pack \(d_j\) copies of every item type \(j\) into the minimum number of bins of capacity \(c\).
Formulations Exercises: Ch. 3 · Ch. 10
Coloring problems¶
Color the vertices of a graph with the minimum number of colors.
Read chapter 4 · Exercises · Slides
Vertex coloring problem (VCP) — Color the vertices of a graph, with different colors on adjacent vertices, using the minimum number of colors.
Formulations Ad hoc algorithms Heuristics Limits of approximation Exercises: Ch. 4 · Ch. 11 · Ch. 17
Clique problems¶
Find a set of pairwise adjacent vertices of maximum cardinality or weight.
Read chapter 5 · Exercises · Slides
Maximum clique problem (MCP) — Find a clique of a graph, a set of pairwise adjacent vertices, of maximum cardinality.
Formulations Limits of approximation Exercises: Ch. 4 · Ch. 5 · Ch. 12
Maximum stable set problem (MSSP) — Find a stable set of a graph, a set of pairwise non-adjacent vertices, of maximum cardinality.
Formulations Limits of approximation Exercises: Ch. 4 · Ch. 5 · Ch. 12
Vertex-weighted maximum clique problem (VWMCP) — Find a clique of maximum total vertex weight.
Formulations Exercises: Ch. 5 · Ch. 12
Edge-weighted maximum clique problem (EWMCP) — Find a clique of maximum total weight of the edges with both endpoints in it.
Routing problems¶
Find a shortest tour that visits every city exactly once.
Read chapter 6 · Exercises · Slides
Travelling salesman problem (TSP) — Find a tour that visits every city exactly once and returns to the first one, of minimum total distance.
Formulations Heuristics: Constructive · Local search · Metaheuristics MIP heuristics Approximation Exercises: Ch. 6 · Ch. 13
Metric travelling salesman problem (metric TSP) — The TSP with distances that satisfy the triangle inequality \(d_{ij} \le d_{ik} + d_{kj}\).
Asymmetric travelling salesman problem (ATSP) — The TSP with distances that may differ in the two directions, \(d_{ij} \ne d_{ji}\).
Formulations Exercises: Ch. 6 · Ch. 13
Hamiltonian cycle problem (HCP) — Decide whether a graph has a cycle through all its vertices.
Scheduling problems¶
Assign jobs to parallel machines so as to minimize the makespan.
Read chapter 7 · Exercises · Slides
Scheduling on identical parallel machines (P||Cmax) — Assign jobs to \(m\) identical parallel machines so that the makespan, the largest load of a machine, is minimum.
Formulations Heuristics: Constructive · Local search · Metaheuristics MIP heuristics \(P\|C_{\max}\)"> Approximation Exercises: Ch. 7 · Ch. 14
Scheduling on a fixed number of identical machines (Pm||Cmax) — The problem \(P\,||\,C_{\max}\) with a fixed number \(m\) of machines, for example \(m=2\).
Scheduling on parallel machines with different speeds (Q||Cmax) — Assign jobs to parallel machines with different speeds so that the makespan is minimum.
Lot sizing problems¶
Plan the production over a horizon of periods at minimum cost.
Read chapter 8 · Exercises · Slides
Capacitated lot sizing (CLS) — Fix the production of every period within its capacity, so that every demand is satisfied at minimum total cost of setups, production and holding.
Formulations Dynamic programming MIP heuristics Exercises: Ch. 8 · Ch. 15
Uncapacitated lot sizing problem (ULS) — The lot sizing problem without capacities: fix the production of every period at minimum total cost.
Formulations Dynamic programming MIP heuristics Exercises: Ch. 8 · Ch. 15
Capacitated lot sizing with constant capacity (CLS-C) — The CLS with the same capacity \(C\) in all periods.
Lot sizing with several products and setup times (MLS) — Lot sizing of several products that share the capacity of each period, with setup times.
Lot sizing with initial stock (LS-SI) — Lot sizing in which the initial stock of each product is a decision, bought at a unit cost.
Lot sizing with overtime (LS-OT) — Lot sizing with a normal and an overtime capacity, at different unit costs.
Lot sizing with unsatisfied demand (LS-UD) — Lot sizing in which a part of the demand may be left unsatisfied, at a penalty per unit.
Miscellaneous problems¶
Problems with an exact total length or amount, solved by dynamic programming.
Rod cutting problem (RCP) — Cut a rod of length \(n\) into pieces of integer lengths with given profits, so that the total profit is maximum.
Coin change problem (CCP) — Return the amount \(c\) exactly with the minimum number of coins of given denominations.
Characteristics of the central problems¶
The 7 central problems of the course, one per family, side by side.
| Problem | A solution is | Objective | Constraints | Complexity |
|---|---|---|---|---|
| 0/1 knapsack problem (KP) | a subset of items | maximum total profit | total weight at most \(c\) | weakly NP-hard, pseudo-polynomial DP in \(O(nc)\) |
| Bin packing (BPP) | a partition of the items into bins | minimum number of bins | load of each bin at most \(c\) | strongly NP-hard |
| Vertex coloring (VCP) | a partition of the vertices into stable sets | minimum number of colors \(\chi(G)\) | adjacent vertices with different colors | strongly NP-hard |
| Maximum clique (MCP) | a subset of vertices | maximum cardinality \(\omega(G)\) | pairwise adjacent vertices | NP-hard |
| Travelling salesman (TSP) | a cyclic ordering of the cities | minimum tour length | each city visited exactly once | strongly NP-hard |
| Parallel machine scheduling (P||Cmax) | an assignment of jobs to machines | minimum makespan \(C_{\max}\) | each job on one machine, without interruption | strongly NP-hard (\(m\) part of the input) |
| Capacitated lot sizing (CLS) | setup periods and production quantities | minimum setup, production and holding cost | demand satisfied, capacities respected | NP-hard (the uncapacitated case is polynomial) |