pypsa-meets-earth / network-comparison

GNU General Public License v3.0
2 stars 4 forks source link

implement additional matching algorithms #7

Open jessLryan opened 4 months ago

jessLryan commented 4 months ago

This task is less urgent but nonetheless important. At the moment we have only implemented the hospitals-residents algorithm provided by the matching library. The capacity set for this algorithm is currently one (meaning that there is a one-to-one mapping between the buses). Note that the basic stable marriage algorithm is not suitable here because we expect to have different numbers of buses in each network, and stable marriage would require that these numbers are the same. Hospitals residents is a generalisation of stable marriage which allows for this. We have the following options:

There are many other variants of matching algorithms that we can consider in the future.