Obligatory Assignment 2, Spring 2012 [pdf format] |
This assignment is a continuation of Assignment 1. It assumes the problem definition as reached in Task 3 of Assignment 1 (hence it includes all elements defined at Task 1, Task 2 and Task 3 and it considers the optimization of the worst preference in the assignment (fairness criterion).
The assignment consists of the following tasks.
Use Table 1 as a skeleton for your comparisons and make sure that you report and comment your conclusions. You should use instances that allow to see differences. You can create challenging instances with the help of Table 2. For example, for the year 2012 a challenging instance can be the constraint satisfaction problem that asks to find a feasible solution that does not assign any student to their sixth preference.
You have to deliver a written report and a script file models.py
containing your implementation. Restrict your written report to max 3
pages.
(This section has remained the same as in Assignment 1. In the data it has been added the year 2012.)
This assignment is to be carried out in GECODE. All scripts mentioned
below can be found at
http://www.imada.sdu.dk/~marco/DM826/Resources/. Download
and uncompress the archive dm826-ass1.tgz
data
models.py
load_data
written in
load_data.py
.main.py
.main.py
.models.py
. It will be copied in
a directory containing the same files as those provided with the
assignment and it will be run on a linux environment.Tips: print the data to understand how things are organized; use the
solution checker in main.py
to cross check your implementation.