Modified MCPP Solver

Figured I'd need to do directed cycle elimination anyways in
Yaoyuenyong, might as well do Pearn and Chou's Modified MCPP method.
Also added machinery to clear edges in a graph:  speeds up perf a
little, and is notationally convenient.