80 likes | 117 Views
Find the shortest path from node s to node t in various test graphs of different sizes. Submit solutions by email with code and report in PDF format. Working in pairs allowed. Use Python for implementation.
E N D
Discrete OptimizationAssignment 1 Shortest paths Slides available online https://project.inria.fr/2015ma2827/
The Shortest Path Problem s Find the shortest path from s to t v0 3 2 Length of path = Σ Length of arcs -1 v1 v4 3 1 2 6 v2 v5 3 5 -3 v3 2 v6 1 7 v7 t
The Shortest Path Problem Find the shortest path from s to t v0 3 2 s Length of path = Σ Length of arcs -1 v1 v4 3 1 2 6 v2 v5 3 5 -3 v3 2 v6 t 1 7 v7
The Shortest Path Problem Find the shortest path from s to t v0 3 2 s Length of path = Σ Length of arcs -1 v1 v4 3 1 2 6 v2 v5 3 5 -3 v3 2 v6 t 1 7 v7
Task • 5 test graphs (from 100 to 100000 nodes) • Compute several shortest paths • Implement any algorithm you like • Some graphs have special properties!
Submission • Submit by e-mail: ecp.ma2827@gmail.com Instructions: https://project.inria.fr/2015ma2827/ • We want solutions to 5 tests, code producing those, report in PDF format • Working in pairs is allowed. Teams should be registered (ecp.ma2827@gmail.com) before 8th April, 2016
Use Python! • We recommend Python 2.7 and Numpy • Third-party implementations of graph algorithms are not allowed • If you desperately need other language then talk to us (ecp.ma2827@gmail.com)