[Paper Review] Variable and Value Ordering When Solving Balanced Academic Curriculum Problems
This paper investigates variable and value ordering heuristics in Constraint Programming (CP) for solving the Balanced Academic Curriculum Problem (BACP), demonstrating that CP with optimized heuristics outperforms Integer Programming (IP) in solving medium- to large-scale BACP instances. The key contribution is showing that strategic variable and value ordering enables CP to find optimal solutions efficiently, even for problems where IP fails to converge within reasonable time.
In this paper we present the use of Constraint Programming for solving balanced academic curriculum problems. We discuss the important role that heuristics play when solving a problem using a constraint-based approach. We also show how constraint solving techniques allow to very efficiently solve combinatorial optimization problems that are too hard for integer programming techniques.
Motivation & Objective
- To address the challenge of designing balanced academic curricula with equitable credit loads across academic periods.
- To evaluate the effectiveness of Constraint Programming (CP) versus Integer Programming (IP) in solving the Balanced Academic Curriculum Problem (BACP).
- To investigate how variable and value ordering heuristics impact the efficiency and optimality of CP solutions in BACP.
- To identify heuristic configurations that enable CP to solve problems too difficult for IP techniques.
Proposed method
- Formalizing the BACP as an Integer Programming model with constraints on credit load, course prerequisites, and minimum/maximum course and credit limits per period.
- Reformulating the BACP using Constraint Programming in the Oz language, modeling course assignments as binary variables with domain constraints.
- Applying variable ordering heuristics that control the sequence in which courses are assigned to periods, testing both course-based and period-based groupings.
- Implementing value ordering heuristics that control the instantiation order of variables (e.g., assigning 1 before 0 to prioritize course assignment).
- Using constraint propagation and search pruning to reduce the search space and accelerate convergence to optimal solutions.
- Benchmarking performance across 8-, 10-, and 12-period curriculum instances using both IP (lp_solve) and CP (Oz) implementations.
Experimental results
Research questions
- RQ1How do different variable ordering strategies affect the performance of Constraint Programming in solving the Balanced Academic Curriculum Problem?
- RQ2Can value ordering heuristics significantly improve the efficiency of CP in solving BACP compared to naive or default ordering?
- RQ3To what extent does Constraint Programming outperform Integer Programming in solving BACP instances, especially when IP fails to converge?
- RQ4What heuristic configurations enable CP to find optimal solutions for BACP instances that are intractable for IP?
Key findings
- Using variable ordering grouped by course led to failure in solving the 8-period BACP instance within 5 hours for the optimal load of 17 credits.
- Switching to value ordering that prioritizes assignment (value 1) over non-assignment (value 0) enabled the system to find optimal solutions in constant time across all problem sizes.
- The optimal solution for the 8-period problem was achieved in 0.1 seconds when using period-based variable ordering and reversed value ordering, whereas IP failed to find the optimum within 1459.7 seconds.
- For the 10-period problem, CP with optimized heuristics found the optimal solution in 0.1 seconds, while IP required 3.6 seconds for the best-quality solution and failed to reach optimality.
- The 12-period problem remained unsolved by IP and required significant time even with CP, but CP with optimized heuristics achieved partial solutions in under 0.5 seconds.
- The combination of period-based variable ordering and reversed value ordering yielded the most consistent and efficient performance across all problem instances.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.