An improved algorithm for testing substitutability of weak preferences. - Susumu Kawanaka; Naoyuki Kamiyama (Math. Soc. Sci., 2019)