Of the ampl book that the dual value or shadow price

Info icon This preview shows pages 2–4. Sign up to view the full content.

View Full Document Right Arrow Icon
of the AMPL book that the dual value, or shadow price, corresponds to the profit gained by having one additional unit on the right-hand side of a constraint. Below is the result if we used [option display precision 0] : 2
Image of page 2

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fall 2010 Optimization I (ORIE 3300/5300) ampl: option display_precision 0; ampl: model prod.mod; data plonk.dat; solve; display X; MINOS 5.5: optimal solution found. 3 iterations, objective 2447.5 X [*] := ADWhite 200 BRed 300 lred 82.50000000000006 ; ampl: display Total_Profit + Limit["BRed"]; Total_Profit + Limit[’BRed’] = 2448.125 ampl: let u["BRed"] := 301; ampl: solve; MINOS 5.5: optimal solution found. 1 iterations, objective 2448.125 Grading scheme: Problem 3 (a) The dual problem: min 7 y 1 + y 2 s.t. 6 y 1 - 6 y 2 4 2 y 1 - y 2 5 - y 1 + 3 y 2 - 5 3 y 1 - 2 y 2 8 y 1 , y 2 free (b) Use complementary slackness to check whether or not each of the following x is an optimal solution to the primal problem: (i) To see if x = [1 , 2 , 3 , 0] T is optimal for the primal problem, we need to (1) check that this is a feasible solution for the primal (plugging in the values to the primal constraints, we easily verify that x is indeed feasible), and (2) find a vector y which satisfies the complementary slackness condition: A T j y = c j whenever x j > 0 . (That is, if x j is positive, then the j th dual constraint is satisfied with equality.) Since x 1 , x 2 , x 3 are positive, then the first, second, and third dual constraint must be satisfied with equality: 6 y 1 - 6 y 2 = 4 2 y 1 - y 2 = 5 - y 1 + 3 y 2 = - 5 . 3
Image of page 3
Fall 2010 Optimization I (ORIE 3300/5300) Solving for y 1 , y 2 using the first two of the equality constraints above, we obtain y 1 = 4 1 3 , y 2 = 3 2 3 . However, this solution does not satisfy the third constraint with equality. So, there does not exists ( y 1 , y 2 ) that is feasible for the dual and satisfies the comple- mentary slackness condition with x . Therefore, we can conclude that the given x is not optimal for the primal problem.
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern