Network Interdiction - Pyomo/PyomoGallery GitHub Wiki

The network_interdiction examples directory contains several examples of network interdiction models. From least complicated to most complicated, they are:

  1. Shortest path interdiction
  2. Max flow interdiction
  3. Min cost flow interdiction
  4. 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.