Investigation of algorithms for variants of the Stable Matching Problem