skip to main content
research-article
Open Access

Model-based problem solving for university timetable validation and improvement

Authors Info & Claims
Published:01 September 2018Publication History
Skip Abstract Section

Abstract

Abstract

Constraint satisfaction problems can be expressed very elegantly in state-based formal methods such as B. But can such specifications be directly used for solving real-life problems? In other words, can a formal model be more than a design artefact but also be used at runtime for inference and problem solving? We will try and answer this important question in the present paper with regard to the university timetabling problem. We report on an ongoing project to build a curriculum timetable validation tool where we use a formal model as the basis to validate timetables from a student’s perspective and to support incremental modification of timetables. In this article we describe the problem domain, the formalization in B and our approach to execute the formal model in a production system using ProB.

References

  1. AAN12 Achá RANieuwenhuis RCurriculum-based course timetabling with SAT and MaxSATAnn Oper Res201221817191322849510.1007/s10479-012-1081-x1301.90023Google ScholarGoogle ScholarCross RefCross Ref
  2. Abr05 Abrial J-RThe B-book. Assigning programs to meanings2005CambridgeCambridge University Press0915.68015Google ScholarGoogle Scholar
  3. BA08 Ben-Ari MPrinciples of the spin model checker2008BerlinSpringer1142.68044Google ScholarGoogle ScholarCross RefCross Ref
  4. BCD+13 Bendisposto J, Clark J, Dobrikov I, Körner P, Krings S, Ladenberger L, Leuschel M, Plagge D (2013) ProB 2.0 tutorial. In: Proceedings of the 4th Rodin user and developer workshop, TUCS lecture notes. TUCSGoogle ScholarGoogle Scholar
  5. BST+13 Banbara MSoh TTamura NInoue KSchaub TAnswer set programming as a modeling language for course timetablingTheory Pract Log Program2013134–5783798315013710.1017/S14710684130004951286.68040Google ScholarGoogle ScholarCross RefCross Ref
  6. CHE05 Czarnecki KHelsen SEisenecker UFormalizing cardinality-based feature models and their specializationSoftw Process Improv Pract200510172910.1002/spip.213Google ScholarGoogle ScholarCross RefCross Ref
  7. CK05 Cooper TB, Kingston JH (2005) The complexity of timetable construction problems. In: PATAT, LNCS 1153. Springer, Berlin, pp 281–295Google ScholarGoogle Scholar
  8. Cle09 ClearSy. Atelier B, User and Reference Manuals. Aix-en-Provence, France, 2009. http://www.atelierb.eu/Google ScholarGoogle Scholar
  9. CO97 Carlsson M, Ottosson G (1997) An open-ended finite domain constraint solver. In: Glaser HG, Hartel PH, Kuchen H (eds) Proceedings PLILP’97, LNCS 1292. Springer, Berlin, pp. 191–206Google ScholarGoogle Scholar
  10. CRF95 Corne DRoss PFang HEvolving timetablesPract Handb Genet algorithms Appl19951219276Google ScholarGoogle Scholar
  11. DdM06 Dutertre B, Mendonça de Moura L (2006) A fast linear-arithmetic solver for DPLL(T). In: Ball T, Jones RB (eds) Proceedings CAV’06, LNCS 4144. Springer, Berlin, pp 81–94Google ScholarGoogle Scholar
  12. DFGV12 Deharbe D, Fontaine P, Guyot Y, Voisin L (2012) SMT solvers for Rodin. In: Proceedings ABZ’2012, LNCS 7316. Springer, Berlin, pp 194–207Google ScholarGoogle Scholar
  13. DGMS07 Di Gaspero L, McCollum B, Schaerf A (2007) The second international timetabling competition (ITC-2007): curriculum-based course timetabling (Track 3). In: Proceedings of the 14th RCRA workshop on experimental evaluation of algorithms for solving problems with combinatorial explosion, RomeGoogle ScholarGoogle Scholar
  14. dMB08 de Moura LM, Bjørner N (2008) Z3: an efficient SMT solver. In: Ramakrishnan CR, Rehof J (eds) TACAS, LNCS 4963. Springer, Berlin, pp 337–340Google ScholarGoogle Scholar
  15. DOO00 Deris SOmatu SOhta HTimetable planning using the constraint-based reasoningComput Oper Res200027981984010.1016/S0305-0548(99)00051-90957.90078Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. FGG07 Farahbod RGervasi VGlässer UCoreASM: an extensible ASM execution engineFundam Inform2007771–27110323292741118.68544Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Got63 Gotlieb CC (1963) The construction of class-teacher timetables. In: Preprint of the proceedings of the IFIP congress 62/Munich, August 27, pp 22–25Google ScholarGoogle Scholar
  18. Hol04 Holzmann GJThe SPIN model checker—primer and reference manual2004BostonAddison-WesleyGoogle ScholarGoogle Scholar
  19. HSL16 Hansen D, Schneider D, Leuschel M (2016) Using B and ProB for data validation projects. In: Proceedings ABZ 2016, LNCS. Springer, BerlinGoogle ScholarGoogle Scholar
  20. Jac02 Jackson DAlloy: a lightweight object modelling notationACM Trans Softw Eng Methodol20021125629010.1145/505145.505149Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Jac12 Jackson DSoftware abstractions. Logic, language, and analysis2012LondonMIT PressGoogle ScholarGoogle Scholar
  22. JM94 Jaffar JMaher MJConstraint logic programming: a surveyJ Log Program199419-20503581127993410.1016/0743-1066(94)90033-70900.68127Google ScholarGoogle Scholar
  23. KCH+90 Kang KC, Cohen SG, Hess JA, Novak WE, Peterson AS (1990) Feature-oriented domain analysis (FODA) feasibility study. Technical Report CMU/SEI-90-TR-21, Caregie-Mellon University-Software Engineering Insititue, PittsburghGoogle ScholarGoogle Scholar
  24. Lew08 Lewis RA survey of metaheuristic-based techniques for university timetabling problemsOR Spectr2008301167190237294410.1007/s00291-007-0097-01133.90341Google ScholarGoogle ScholarCross RefCross Ref
  25. LFFP11 Leuschel MFalampin JFritz FPlagge DAutomated property verification for large scale B models with ProBFormal Asp Comput2011236683709285377010.1007/s00165-010-0172-1Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. LL10 Lach G, Lübbecke ME (February 2010) Curriculum based course timetabling: new solutions to Udine benchmark instances. Ann Oper Res 194(1):255–272Google ScholarGoogle Scholar
  27. LS14 Leuschel M, Schneider D (2014) Towards B as a high-level constraint modelling language. In: Yamine AA, Klaus-Dieter S (eds) Abstract state machines, alloy, B, TLA, VDM, and Z, volume 8477 of Lecture Notes in computer science. Springer, BerlinGoogle ScholarGoogle Scholar
  28. Mét10 Métayer C (2010) AnimB 0.1.1. http://wiki.event-b.org/index.php/AnimBGoogle ScholarGoogle Scholar
  29. MR12 Müller T, Rudová H (2012) Real-life curriculum-based Timetabling. PATATGoogle ScholarGoogle Scholar
  30. MR14 Müller T, Rudová H (2014) Real-life curriculum-based timetabling with elective courses and course sections. Ann Oper Res 1–18Google ScholarGoogle Scholar
  31. Mül05 Müller T (2005) Constraint-based timetabling. Ph.D. thesis, Charles University in PragueGoogle ScholarGoogle Scholar
  32. PDGKM13 Post GDi Gaspero LKingston JHMcCollum BThe third international timetabling competitionAnn Oper Res20132013171336.90081Google ScholarGoogle Scholar
  33. PL12 Plagge D, Leuschel M (2012) Validating B, Z and TLA+ using ProB and Kodkod. In: Dimitra G, Dominique M (eds) Proceedings FM’2012, LNCS 7436. Springer, Berlin, pp 372–386Google ScholarGoogle Scholar
  34. RM03 Rudová H, Murray K (2003) University course timetabling with soft constraints. In: Edmund B, De Causmaecker P (eds) PATAT IV, LNCS 2740. Springer, Berlin, pp 310–328Google ScholarGoogle Scholar
  35. SH06 Schimmelpfeng KHelber SApplication of a real-world university-course timetabling model solved by integer programmingOR Spect200629478380310.1007/s00291-006-0074-z1168.90670Google ScholarGoogle ScholarCross RefCross Ref
  36. Sha11 Shapiro SC (2011) The jobs puzzle: a challenge for logical expressibility and automated reasoning. In: AAAI spring symposium: logical formalizations of commonsense reasoningGoogle ScholarGoogle Scholar
  37. TCJ08 Torlak E, Chang FS, Jackson D (2008) Finding minimal unsatisfiable cores of declarative specifications. In: Cuéllar J, Maibaum TSE, Sere K (eds) Proceedings FM’2008, pp 326–341Google ScholarGoogle Scholar
  38. TJ07 Torlak E, Jackson D (2007) Kodkod: a relational model finder. In: Grumberg O, Huth M (eds) Proceedings TACAS’07, LNCS 4424. Springer, Berlin, pp 632–647Google ScholarGoogle Scholar
  39. Yeu06 Vincent SHY (2006) Declarative configuration applied to course scheduling. Master’s thesis, Massachusetts Institute of Technology, Massachusetts Institute Of TechnologyGoogle ScholarGoogle Scholar
  40. YML99 Yu Y, Manolios P, Lamport L (1999) Model checking TLA+ specifications. In: Laurence P, Thomas K (eds) Proceedings CHARME’99, LNCS 1703. Springer, pp 54–66Google ScholarGoogle Scholar

Index Terms

  1. Model-based problem solving for university timetable validation and improvement
            Index terms have been assigned to the content through auto-classification.

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in

            Full Access

            • Published in

              cover image Formal Aspects of Computing
              Formal Aspects of Computing  Volume 30, Issue 5
              Sep 2018
              130 pages
              ISSN:0934-5043
              EISSN:1433-299X
              Issue’s Table of Contents

              © British Computer Society 2018

              Publisher

              Springer-Verlag

              Berlin, Heidelberg

              Publication History

              • Published: 1 September 2018
              • Accepted: 3 July 2018
              • Received: 17 March 2016
              Published in fac Volume 30, Issue 5

              Qualifiers

              • research-article

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader