Indication of Safe Transition Paths of Phase Shifter Settings by Greedy Algorithms