-
Notifications
You must be signed in to change notification settings - Fork 160
Network Interdiction
neddimitrov edited this page Oct 25, 2016
·
3 revisions
The network_interdiction examples directory contains several examples of network interdiction models. From least complicated to most complicated, they are:
- Shortest path interdiction
- Max flow interdiction
- Min cost flow interdiction
- Multi commodity flow interdiction
Each of the examples is structured in a similar way. There is a main class that contains the Pyomo model. That class takes as input several CSV files, describing the network structure and its associated data, as well as the number of attacks for the interdiction model. Calling the solve solve()
and printSolution()
methods solves the model, and prints the solution in a human legible format.
Each directory includes example input files and an .ipynb
file that contains an example run of the network interdiction model.