[Return to Solutions Page]

COMP-360 Assignment #1 Solutions

Each question is out of 2.5, for a total of 10 marks overall. For questions about the assignment or about the marking scheme, please contact Theresa at theresa (dot) deering (at) mail.mcgill.ca. View the questions here.

  1. Most people correctly answered unstable for A1 and stable for A2. The only common error was using only one case of instability (either the case where one man is single or the case where both men have partners) when proving A2's stable solution.

  2. Overall I was impressed that most people correctly identified that this problem is just an application of the stable marriage problem.

    For solution, see here.

  3. Not many people managed to handle all the cases to prove P3.

  4. For this question it is not enough to just order the jobs by weight and it is not enough to just order the jobs by time; you need to take both into consideration to get the optimal solution.

    For solution, see here.

[Return to Solutions Page]