Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this problem, we will prove optimality of Dijkstra's algorithm through complementary slackness conditions of a carefully chosen linear program. (a) Consider computing a

In this problem, we will prove optimality of Dijkstra's algorithm through complementary slackness conditions

In this problem, we will prove optimality of Dijkstra's algorithm through complementary slackness conditions of a carefully chosen linear program. (a) Consider computing a shortest s-t path in a directed graph G(V, E) with non-negative edge costs ce for each edge e E. Prove that every simple s-t path of G corresponds to a 0-1 feasible solution of the following linear program with the same object function value: subject to: min E cete e eE 2 e 1 for all S C V with s S, t & S e8+ (S) xe 0 for all e E. Note that 8+(S) denotes the edges sticking out of the set S. Formally, 8+(S) = {(u v) E: ue S, v S}. (b) What is the dual of this linear program? (c) What are the complementary slackness conditions? (d) Let P be the shortest s-t path returned by Dijkstra's algorithm. Prove that the solution to the linear program in (a) corresponding to P is an optimal solution, by exhibit- ing a dual feasible solution to the dual program in (b) such that complementary slackness conditions hold. [Hint: it is enough to use only dual variables of the form ys for subsets SCV correspond to the first i vertices processed by Dijkstra's algorithm. (for some i)]

Step by Step Solution

3.40 Rating (153 Votes )

There are 3 Steps involved in it

Step: 1

Step 1 a To prove that every simple st path of G corresponds to a 01 feasible solution of the given linear program we need to show that for every simp... 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

Principles of Geotechnical Engineering

Authors: Braja M.Das

8th edition

978-1285499963, 1285499964, 1133108660, 978-1133108665

More Books

Students also viewed these Programming questions

Question

=+a) Explain what statistically significant means in this context.

Answered: 1 week ago