Algorithms for the quantitative Lock/Key model of cytoplasmic incompatibility