I have been trying to work out the National Resident Matching Program (NRMP) in Excel by using the Stable Marriage algorithm, but it requires equal matchers to matchees etc, the NRMP algorithm allows for unequal matchers to matchees etc e.g. residents to sites.

Has anyone been able to tackle this problem in Excel? I have included the python logic below (Unfortunately I don't know python).

The Logic:
HTML Code: 
HTML Code: 

In Python:

Please Login or Register  to view this content.


Please Login or Register  to view this content.