Hostname: page-component-89b8bd64d-dvtzq Total loading time: 0 Render date: 2026-05-08T09:57:39.286Z Has data issue: false hasContentIssue false

Answer set programming as a modeling language for course timetabling

Published online by Cambridge University Press:  25 September 2013

MUTSUNORI BANBARA
Affiliation:
Kobe University, 1-1 Rokko-dai, Nada-ku, Kobe, Hyogo 657-8501, Japan (e-mail: banbara@kobe-u.ac.jp, soh@lion.kobe-u.ac.jp, tamura@kobe-u.ac.jp)
TAKEHIDE SOH
Affiliation:
Kobe University, 1-1 Rokko-dai, Nada-ku, Kobe, Hyogo 657-8501, Japan (e-mail: banbara@kobe-u.ac.jp, soh@lion.kobe-u.ac.jp, tamura@kobe-u.ac.jp)
NAOYUKI TAMURA
Affiliation:
Kobe University, 1-1 Rokko-dai, Nada-ku, Kobe, Hyogo 657-8501, Japan (e-mail: banbara@kobe-u.ac.jp, soh@lion.kobe-u.ac.jp, tamura@kobe-u.ac.jp)
KATSUMI INOUE
Affiliation:
National Institute of Informatics, 2-1-2 Hitotsubashi, Chiyoda-ku, Tokyo 101-8430, Japan (e-mail: inoue@nii.ac.jp)
TORSTEN SCHAUB
Affiliation:
University of Potsdam, August-Bebel-Strasse 89, D-14482 Potsdam, Germany (e-mail: torsten@cs.uni-potsdam.de)

Abstract

The course timetabling problem can be generally defined as the task of assigning a number of lectures to a limited set of timeslots and rooms, subject to a given set of hard and soft constraints. The modeling language for course timetabling is required to be expressive enough to specify a wide variety of soft constraints and objective functions. Furthermore, the resulting encoding is required to be extensible for capturing new constraints and for switching them between hard and soft, and to be flexible enough to deal with different formulations. In this paper, we propose to make effective use of ASP as a modeling language for course timetabling. We show that our ASP-based approach can naturally satisfy the above requirements, through an ASP encoding of the curriculum-based course timetabling problem proposed in the third track of the second international timetabling competition (ITC-2007). Our encoding is compact and human-readable, since each constraint is individually expressed by either one or two rules. Each hard constraint is expressed by using integrity constraints and aggregates of ASP. Each soft constraint S is expressed by rules in which the head is the form of penalty(S,V,C), and a violation V and its penalty cost C are detected and calculated respectively in the body. We carried out experiments on four different benchmark sets with five different formulations. We succeeded either in improving the bounds or producing the same bounds for many combinations of problem instances and formulations, compared with the previous best known bounds.

Information

Type
Regular Papers
Copyright
Copyright © 2013 [MUTSUNORI BANBARA, TAKEHIDE SOH, NAOYUKI TAMURA, KATSUMI INOUE and TORSTEN SCHAUB] 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

Supplementary material: PDF

Banbara et al. supplementary material

Appendix

Download Banbara et al. supplementary material(PDF)
PDF 280.6 KB