DM841 DISCRETE OPTIMIZATION Exercises
Modelling in CP
Marco Chiarandini
Department of Mathematics & Computer Science University of Southern Denmark
Modelling in CP Marco Chiarandini Department of Mathematics & - - PowerPoint PPT Presentation
DM841 D ISCRETE O PTIMIZATION Exercises Modelling in CP Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Generalized Nurse Scheduling Same problem as in the lectures but with number of nurses
Department of Mathematics & Computer Science University of Southern Denmark
◮ One of the two views does not work here anymore. ◮ Coverage constraint can be handled by cardinality constraint
2
3
4
◮ nationality: englishman, spaniard, ukrainian, japanese, Norwegian ◮ pet: dog, snails, fox, horse, (zebra) ◮ cigarettes: Kools, Lucky Strike, Parliaments, Chesterfields, Old Gold ◮ drink: the, cafe, milk, juice, (water) ◮ color: red, green, ivory, yellow, blue.
5
6
7
8
◮ HOSES, LASER, SAILS, SHEET, STEER, ◮ HEEL, HIKE, KEEL, KNOT, LINE, ◮ AFT, ALE, EEL, LEE, TIE.
9
11
12
◮ + to mark the convex edges
◮ − to mark the concave edges
◮ arrows to mark the boundary edges
13
14
15
17
18
By R. A. Nonenmacher - Created by me, GFDL, https://commons.wikimedia.org/w/index.php?curid=4416149 19
20
21
22