Check if there are any pairs of agents who would rather swap houses with each other rather than be with their own two current respective partners.
Useful links