http://en.wikipedia.org/wiki/Shortest_path_problemGiven a directed graph (V, A) with source node s, target node t, and cost wij for each arc (i, j) in A, consider the program with variables xij
- minimize subject to and for all i,
This LP, which is common fodder for operations research courses, has the special property that it is integral
In my opinion there are quite a few things to say about modeling these things (even without discussing algorithms at all):
- Dense vs. sparse
- How to prevent inadmissible arcs to show up in the solution (high cost, fix to zero, don't generate those at all)
- One-directional, bi-directional arcs
- Large networks
- Data input
No comments:
Post a Comment