A Scalable Sweep Algorithm for the cumulative Constraint - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

A Scalable Sweep Algorithm for the cumulative Constraint

Résumé

This paper presents a sweep based algorithm for the cumulative constraint, which can operate in filtering mode as well as in greedy assignment mode. Given n tasks, this algorithm has a worst-case time complexity of O(n^2). In practice, we use a variant with better average-case complexity but worst-case complexity of O(n 2 logn), which goes down to O(n log n) when all tasks have unit duration, i.e. in the bin-packing case. Despite its worst-case time complexity, this algorithm scales well in practice, even when a significant number of tasks can be scheduled in parallel. It handles up to 1 million tasks in one single cumulative constraint in both Choco and SICStus.
Fichier non déposé

Dates et versions

hal-00754043 , version 1 (20-11-2012)

Identifiants

Citer

Arnaud Letort, Nicolas Beldiceanu, Mats Carlsson. A Scalable Sweep Algorithm for the cumulative Constraint. 18th International Conference on Principles and Practice of Constraint Programming (CP'12), Oct 2012, Quebec, Canada. pp.439-454, ⟨10.1007/978-3-642-33558-7_33⟩. ⟨hal-00754043⟩
204 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More