Professional Documents
Culture Documents
LP Formulation of SRM and MST
LP Formulation of SRM and MST
Group # 7
Name Ankit Mittal Kaushik Kochar Manas Joshi Maroot Sachdeva K K Tiwari
Road Network for the Gorman Company Shortest Route Problem Road Distances in Miles 17 2 6 15 3 10 Gormans office 3 4 2 5 4 4 6 5 6
LP formulation of Shortest Route Method :The Given problem has 6 nodes 8 edges
Let source node be s, target node be t, and cost be wij for each arc (i, j).
A possible IP formulation of SRM is given as below :Consider the program with variables xij Minimize
s.t
The Given problem has 6 nodes 11 edges Here weights attached to different edges are as follows :Weight Edge W(e) 12 20 13 40 14 30 15 50 16 40 25 40 34 10 35 30 36 30 46 20 56 40
The decision variables for the IP formulation of MST are: x = 1 if edge belongs to E(t) or x=0 otherwise
The constraints of the IP formulation need to enforce that the edges in ET form a tree. A tree satisfies the following three conditions: has n- 1 edges, be connected, be acyclic Any two of these conditions imply the third one.
Here n = 6 xe = 5 V = No. of vertices where (S; S) denotes all edges that go from a node in the set S to another node in the set S. Equation (1c) enforce the constraint that the edges in ET can't form cycles.