Design classes and methods for a new cost optimization strategy: rerouting rail od pairs to test convenience of removing links.