Vous êtes sur la page 1sur 5

LA CONFECTION D'HORAIRES PAR DÉCOMPOSITION

EN SOUS-PROBLÈMES D'AFFECTATION

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE

POUR L'OBTENTION DU GRADE DE DOCTEUR ÈS SCIENCES TECHNIQUES

PAR

Vincent Louis ROBERT- NICOUD


Ingénieur informaticien diplômé EPF
originaire du Locle et de la Chaux-de-Fonds (NE)

acceptée sur proposition du jury:

Prof. A. Hertz, directeur de thèse


Prof. G. Coray, corapporteur
Prof. D. de Werra, corapporteur
Prof. J.A. Feriand, corapporteur
Prof. J.-P. Vial, corapporteur

Lausanne, EPFL
1997
Résumé

La valorisation des ressources humaines et physiques, gage d'efficacité et de rentabilité,


passe de plus en plus par une gestion optimale du temps à disposition. La taiile et la complexité
des problèmes liés à cette valorisation allant croissantes, il est dès lors naturel que de
nombreux planificateurs souhaitent avoir à leur disposition des outils mathématiques et
informatiques puissants pour les aider dans leur tâche. Malheureusement, la plupart des
modèles mathématiques actuels ne permettent que rarement la prise en compte de l'aspect
humain sous-jacent à la confection d'horaires. Comme nous le montrons au travers de
nombreux exemples dans cette thèse, un des meilleurs moyens pour atteindre cet objectif est
sans conteste la décomposition du problème initial en plusieurs sous-problèmes pour lesquels
on connaît une bonne méthode de résolution. Cette approche autorise, en effet, une interaction
accrue entre l'homme et la machine au fil des diverses étapes de la construction de la solution
finale.

Dans ce travail, nous traitons trois problèmes typiques de confection d'horaires fortement
contraints. Pour chacun d'eux, nous présentons une approche originale et rigoureuse pour
réduire la complexité du problème initial grâce à une décomposition en sous-problèmes
connus. Ces trois problèmes, issus de la pratique, ont été choisis de manière à recouvrir les
principaux axes actuels de la recherche sur la confection « automatique » d'horaires, à savoir :
la construction d'horaires scolaires, la gestion des ressources humaines d'une entreprise de
service et la création de calendriers sportifs.

Enfin, nous étudions encore un problème particulier et relativement absent de la littérature


classique en tant que tel : la prise de rendez-vous. En fait, dans la pratique, ce problème peut
revêtir diverses formes que ce soit lors de l'allocation de ressources dans un « gros » ordinateur
ou, plus prosaïquement, lors d'un appel téléphonique à son dentiste. Dans cette dernière partie,
nous nous sommes intéressés à diverses propriétés remarquables des réseaux « potentiels-
tâches » utilisés habituellement pour les problèmes d'ordonnancement de tâches.
Abstract

The valorization of hurnan and material resources, which guarantees efficiency and
profitability, requires an optimal management of the available time. The size and the
complexity of the problems related to this valorization have been regularly increasing. It is
therefore natural for a lot of planners to seek for powerfid mathematical tools to help them in
their tasks. Unfortunately, most of the present mathematical models do not consider the human
aspect related to the timetabiing construction. As shown by several exarnples in this thesis one
of the best ways to reach this objective is to decompose the initiai problem into sub-problems
for which a good solution method is known. Indeed this approach gives the human user an
interesting degree of interaction with the computer throughout the different steps of the
construction of the final solution.

This thesis deals with three typical problems of timetabling construction which are highly
constrained. An original approach to reduce the complexity of the initial problem using a
decomposition into known sub-problems is given for each of them. These three problems were
chosen in order to cover the main axes of the present research in the field of automatic
timetabling, namely : school timetabling, management of human resources in an administrative
team and scheduling in sport.

Finally a very speciai problem which is only indirectly mentioned in the classic literature is
presented : appointment scheduiing. In fact, this problem occurs in different forrns in real life,
such as memory ailocation in a computer or a simple telephone cail to the dentist for an
appointment. This last part discusses some speciai properties of the associated graph of a
Criticai-Path-Method for scheduling.
INTRODUCTION ...........................................................................................................................................
1

1.NOTATIONS ..............................................................................................................................................
5
1.1 CONVENTIONS......................................................................................................................................... 5
ET N O T A ~ O N .....................................................................................................................
1.2 DÉFLXITIONS S 7
2.LES PROBLÈMES D'AFFECTATION SOUS CONTRAINTES ..........................................................9
2.1 INTRODUCI-ION ........................................................................................................................................ 9
2.2 D É ~ r h r n o ..........................................................................................................................................
~s 10
2.3 QUELQUES EXEMPLES IMPORTANTS ......................................................................................................... 12
2.3.1 Problèmes de la classe P ................................................................................................................ 12
2.3.2 Problèmes de la classe NP-DUR .................................................................................................... 14
2.4 MÉTHODES ............................................................................................................................................ 18
2.4.1 La méthode gloutonne .................................................................................................................... 18
2.4.2 Les méthodes de flots ...................................................................................................................... 18
2.4.3 La méthode de recherche arborescente........................................................................................... 20
2.4.4 La méthode de descente .................................................................................................................. 23
2.4.5 La métaheuristique Tabou .............................................................................................................. 24
2.4.6 La méthode potentiels-tâches .......................................................................................................... 29
2.5 C o ~ c ~ u s r........................................................................................................................................
o~s 30
.
3 CONFECTION D'UN HORAIRE SCOLAIRE À OPTIONS ................................................................31
3.1 INTRODUCTION .....................................................................................................................................3 1
3.2 DESCRIPTION DES CONTRAINTES............................................................................................................. 33
3.2.1 Description du problème ................................................................................................................ 33
3.2.2 Contraintes du problème ................................................................................................................ 37
3.2.3 Formalisme et définitions ...............................................................................................................40
3.3 RÉSOLV~ON ........................................................................................................................................ 4 4
3.3.1 Création des pseudo-classes de première année ............................................................................. 46
3.3.2 Création d'une solution initiale ...................................................................................................... 51
3.3.3 Phase d'amélioration...................................................................................................................... 67
3.4 RÉSULTATS ............................................................................................................................................86
3.5 CONCLUSIONS ........................................................................................................................................87

4.1 INTRODUCTION ...................................................................................................................................... 89


4.2 D E S C ~ ODES N CONTRAI^^ ............................................................................................................. 90
4.2.1 Description du problème ................................................................................................................ 90
4.2.2 Contraintes du problème ................................................................................................................ 93
4.2.3 Formalisme et définitions ............................................................................................................... 94
4.3 R É s o ~ m .........................................................................................................................................
o~ 96
4.3.1 Introduction ...................................................................................................................................96
4.3.2 Recherche d'une affectation locale ................................................................................................. 98
4.3.3 Calcul de la durée d'une période sans changement obligatoire..................................................... 108
4.3.4 Réajustement de la solution .......................................................................................................... 109
4.3.5 Quelques remarques sur les absences de courtes durées ............................................................... 119
4.4 RÉSULTATS.......................................................................................................................................... 119
4.5 CONCLUSIONS ...................................................................................................................................... 120
4.5.1 Améliorations ............................................................................................................................... 120
4.5.2 Conclusions.................................................................................................................................. 124
.
5 CONFECTION DE CALENDRIERS SPORTIFS .................................................................................125
5.1 INTRODUCTION .................................................................................................................................... 125
5.2 LACOXFECîïON DU CALENDRIER DE CHAMPIONNAT............................................................................... 126
5.2.1 Description des contraintes .......................................................................................................... 128
5.2.2 Formalisme et définitions ............................................................................................................. 131
5.2.3 Résolution .................................................................................................................................... 131
5.3 RÉSULTATS .......................................................................................................................................... 136
5.4 EXTENSIONS ........................................................................................................................................ 136
5.5 CONCLUSIONS ...................................................................................................................................... 139
.
6 OPTIMISATION DE PRISES DE RENDEZ.VOUS ............................................................................. 141
6.1 INTRODUC~ON .................................................................................................................................... 141
6.2 D E S C ~ ODES N CONTRAIhTES ........................................................................................................... 142
6.2.1 Description du problème .............................................................................................................. 142
6.2.2 Contraintes du problème .............................................................................................................. 144
6.2.3 Formalisme et définition............................................................................................................... 145
6.3 RÉSOLUTION ........................................................................................................................................ 145
6.3.1 Introduction ................................................................................................................................. 145
6.3.2 Modèle ......................................................................................................................................... 146
6.3.3 Comment prendre en compte de nouveaux rendez-vous ................................................................ 151
6.4 CONCLUSIONS ...................................................................................................................................... 188
.
7 CONCLUSIONS..................................................................................................................................... 191
8.BIBLIOGRAPHIE.................................................................................................................................. 193

Vous aimerez peut-être aussi