In this problem, we will prove optimality of Dijkstra's algorithm through complementary slackness conditions of a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 eЄE 2 Σe ≥1 for all S C V with s € S, t & S e€8+ (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)] 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 eЄE 2 Σe ≥1 for all S C V with s € S, t & S e€8+ (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)]
Expert Answer:
Answer rating: 100% (QA)
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... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
1. Assume that you are a swap dealer and have just acted as a counterparty in an interest rate swap. The notional principal for the swap was $7.5 million and you are now obligated to make five annual...
-
THE DATA PROJECTOR MARKET Alset recognises that mini data projector demand is growing rapidly, although actual numbers are difficult to obtain. The latest figures show the market is $13 billion...
-
Which do you feel is more important for a new business: the income statement or the statement of ash flow? Why?
-
Explain how to use a normal probability plot to assess normality.
-
Identify the conic that each polar equation represents. Also, give the position of the directrix. 4 2 - 3 sin 0
-
Design Data sold a piece of machinery to HHB Drafting Company. However, after HHB had taken possession of the machine, it discovered damage and revoked the contract. The court found that the...
-
The adjusted trial balance of Eastwood Company and other related information for the year 2012 are presented on the next page. Additional information:1. The LIFO method of inventory value is used.2....
-
4.4.4. The shareholders of Zedzee Pty Ltd are Sufyaan (10 shares), Shahedah (10 shares), Hilton (10 shares) and Sue (10 shares). The directors are Sufyaan and Shahedah. Upon registration, Zedzee...
-
Identify and share brief background information on the leader jeff weiner . Explain why you selected this individual. List the leader's profession, title, and enough additional information for your...
-
Briefly discuss how computing operating leverage could help Cecelia evaluate the risk stemming from cost structure. You might wish to make a table with three columns: Sales levels and profits under...
-
Explain the two fundamental problems related to investing the Social Security trust fund in the stock market.
-
(a) Discuss the following aspects related to sedimentation: (i) Explain the difference between surface overflow rate and hydraulic residence time and the role of each in settling behaviour. (6) (ii)...
-
Describe the challenges faced by African-Americans in the aftermath of World War I
-
Discuss reasons for deteriorating loan portfolio quality. Explain in detail.
-
FIND INVERSE LAPLACE TRANSFORM of 2 60+ 605+s
-
Modify the counter from Exercise 5.44 such that the counter will either increment by 4 or load a new 32-bit value, D, on each clock edge, depending on a control signal Load. When Load = 1, the...
-
Repeat Problem 12.4 with the following data. Given: Specimen diameter = 50 mm; specimen height = 25 mm. Normal force (N) Shear force at fallure (N) Test no. 250 375 450 540 139 209 250 300
-
Refer to Figure 15.52. Using Taylor's stability chart (Figure 15.21), determine the factor of safety, Fs, against sliding for the slopes with the following characteristics: Slope: 2.5H: 1V, ( = 18.8...
-
Repeat Problem 10.1 for the element shown in Figure 10.34. A soil element is shown in Figure 10.33. Determine the following: a. Maximum and minimum principal stresses b. Normal and shear stresses on...
-
On January 2, 2015, MacCloud Co. issued a 4-year, 100,000 note at 6% fixed interest, interest payable semiannually. MacCloud now wants to change the note to a variable-rate note. As a result, on...
-
On January 2, 2015, Parton Company issues a 5-year, $10,000,000 note at LIBOR, with interest paid annually. The variable rate is reset at the end of each year. The LIBOR rate for the first year is...
-
On January 2, 2015, Jones Company purchases a call option for \($300\) on Merchant ordinary shares. The call option gives Jones the option to buy 1,000 shares of Merchant at a strike price of \($50\)...
Study smarter with the SolutionInn App