Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

for 12 numbers, use 1,2,3,4,5,6,7,8,9,10,11,12 this question should be done with Excel Solver 2. In class we described how to formulate a shortest path problem

image text in transcribedfor 12 numbers, use 1,2,3,4,5,6,7,8,9,10,11,12

this question should be done with Excel Solver

2. In class we described how to formulate a shortest path problem as a linear program. Consider the following graph, which has 12 edges: al b1 a2 b2 bo ao b3 a3 The graph that we saw in class was a directed graph, that is, we could cross the edges only in one direction. Here the edges are undirected and we could cross them in both directions. This can be handled by splitting the undirected edges into pairs of directed edges, pointing in opposite directions. There are then separate variable for crossing each edge from the pair, for example Xa0,al and Xal,a0. a. For the purposes of finding the shortest path from a2 to bo, you may not need to split all the edges to formulation the problem. Explain which edges need to be split and why. b. Assign distances to the edges by placing your 12 numbers from part 0. on the edges starting from the outside cycle, and ending with the inside cycle. Formulate the problem of finding the shortest path from a2 to b0 as a linear program. Solve the problem in Excel. 2. In class we described how to formulate a shortest path problem as a linear program. Consider the following graph, which has 12 edges: al b1 a2 b2 bo ao b3 a3 The graph that we saw in class was a directed graph, that is, we could cross the edges only in one direction. Here the edges are undirected and we could cross them in both directions. This can be handled by splitting the undirected edges into pairs of directed edges, pointing in opposite directions. There are then separate variable for crossing each edge from the pair, for example Xa0,al and Xal,a0. a. For the purposes of finding the shortest path from a2 to bo, you may not need to split all the edges to formulation the problem. Explain which edges need to be split and why. b. Assign distances to the edges by placing your 12 numbers from part 0. on the edges starting from the outside cycle, and ending with the inside cycle. Formulate the problem of finding the shortest path from a2 to b0 as a linear program. Solve the problem in Excel

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions