Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. (Extra credit, up to 10 points) In this question, we'll consider a different type of best path problem. Suppose we have as input G

4. (Extra credit, up to 10 points) In this question, we'll consider a different type of "best path" problem. Suppose we have as input G = (V,E) where V = {1,2,...,N} consists of a set of cities and E a set of roads connecting those cities. These roads, however, are littered with bandits. For each edge (i, j) E, you have an estimate p(i, j) of the probability that you can travel from city i to city j successfully (i.e., without being robbed). The probability2 of being not being robbed along a path

(i1, i2), (i2, i3), ..., (ik1, ik)

is the product of the probabilities of not being robbed on each road in the path:

p(i1,i2)p(i2,i3)p(ik1,ik).

You want to find the best path from 1 to N, where "best path" means the maximum probability of getting from 1 to N without being robbed3. This is different from our normal shortest-path problem in two key ways: we're trying to maximize something instead of minimize something, and along a route we multiply edge probabilities rather than add edge lengths. Argue that we can still model this problem as a shortest path problem by being clever about the edge lengths, and moreover, we can do so with edge lengths being nonnegative.

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_2

Step: 3

blur-text-image_3

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

Transportation A Global Supply Chain Perspective

Authors: John J. Coyle, Robert A. Novak, Brian Gibson, Edward J. Bard

8th edition

9781305445352, 1133592961, 130544535X, 978-1133592969

More Books

Students also viewed these Mathematics questions