Duality-complementary slackness-linear programming


Question 1: Duality

Recall the max flow problem:

1907_duality.jpg

max x2t + x3t
xs1 = x12 + x13
xs2 + x12 = x2t
x13 = x3t

0 ≤ xs1 ≤ 2
0 ≤ xs2 ≤ 3
0 ≤ x12 ≤ 3
0 ≤ x13 ≤ 4
0 ≤ x2t ≤ 2
0 ≤ x3t ≤ 1

A) Write the dual of the above max-flow problem.

B) Solve both problems with AMPL, and for each print the values of the variables and the values of the dual variables (if a problem has a constraint c1, its dual value can be displayed with the command “display c1.dual;”). Verify that the numbers correspond between primal and dual, and that the optimal solution of the primal and the dual is in accordance with duality.

C) Show the minimum cut that results from solving the dual problems.

D) Consider replacing the objective function in the max cut problem with max xs1 + xs2 which gives an equivalent formulation of the max-flow problem. How does the dual formulation change? Explain why it is equivalent to the first dual problem.

Question 2: Complementary slackness and duality

Consider the following LP problem:

min x1 + 3x2 + x3 − x4
s.t. x1 + x2 + x3 + x4 ≥ 0
x1 + x2 − x3 − x4 ≥ 1
x2, x3 ≥ 0 x1, x4 ≤ 0.

A) Unique primal-dual solutions.

• Find a feasible solution (by trying a few guesses) and compute its associated value of the objective function, zprimal.

• Write the dual.

• Find a feasible solution to the dual (just pick one) and compute its associated value of the objective function, zdual, and check, according to weak duality, that it is not less than zprimal.

• Solve the dual through the graphical method.

• After finding the optimal value of the dual variables, use complementary slackness to find the optimal value of the primal variables.

• Solve both primal and dual problems in AMPL. Print out the solutions.

B) Multiple primal solutions.

• Change the right hand side of the second constraint to -1. How would the dual change?

• Solve the new dual problem graphically.

• Again use complementarity to derive the primal solution. Do you get a unique primal solution or do you get more than one? Can you find all primal optimal solutions? (Hint: all feasible solutions that satisfy complementarity are optimal).

• Solve both primal and dual problems in AMPL. Print out the solutions.

• For the primal problem which of the multiple solutions do you obtain? Can you modify the primal problem a little to obtain a different solution from the optimal set?

Question 3: Linear Programming

Consider the following optimization problem:

min x
s.t. x ≥ max{a1, a2, . . . , an}

Rewrite this problem as a Linear Programming Problem. What is the solution of this problem? Write the dual of this problem. From duality theory and complementary slackness give a simple formula for the optimal solution of the dual.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Duality-complementary slackness-linear programming
Reference No:- TGS01167

Expected delivery within 24 Hours