Open raphaellaude opened 1 year ago
Hi Raphael, thanks for the suggestions. That's a good point - your suggestion regarding limited capacity makes sense. Maybe we can implement a rule that terminates the process once all schools are at full capacity. I'm happy for you to work on this and once it's done I can review it :)
Super useful code. I ran into a similar problem applying it to more participants. My solution was to replace )[1:]
on line 62 of deferred_acceptance.py
with )[schools_quota[school]:]
.
A couple of suggestions (happy to work on a PR if you're open to it):
This is the error thrown when you try to run the model w/o enough capacity:
Here's the error when you run the model with school preferences of variable length: