gt_mechanism_gale_shapley
Finds a proposer-optimal stable matching using deferred acceptance. Accepts proposers and receivers with preferences and optional capacities, and checks for blocking pairs.
Instructions
Stable matching via deferred acceptance. Proposers/receivers each have {id, preferences} (and optional capacity for receivers). Returns a proposer-optimal stable matching plus a blocking-pair sanity check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposers | Yes | ||
| receivers | Yes |