HW_4_solution - Solution problem 1(questions comments...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Solution problem 1: (questions, comments, suggestions please to Steffen Rebennack, [email protected] ) As in the problem stated, we first transform the linear program into standard form. For this, we have to have equality constraints; hence we introduce the (positive) slack variables s 1 , s 2 and s 3 . They will be the initial basis giving us the following tableau: z x 1 x 2 x 3 s 1 s 2 s 3 RHS z 1 -3 -1 -1 0 0 0 0 s 1 0 1 1 0 1 0 0 6 s 2 0 0 1 1 0 1 0 12 s 3 0 1 1 2 0 0 1 20 We are maximizing, so we want a variable to enter the basis which has a neg- ative entry in row 0 of our tableau. Here, we choose variable x 1 to enter the basis. The minimum ratio test gives us that the variable s 1 leaves the basis. The updated tableau reads then as follows z x 1 x 2 x 3 s 1 s 2 s 3 RHS z 1 0 2 -1 3 0 0 18 x 1 0 1 1 0 1 0 0 6 s 2 0 0 1 1 0 1 0 12 s 3 0 0 0 2 -1 0 1 14 Again, we choose a variable with negative coefficient in row 0. This time, it is the unique choice x 3 . The minimum ratio test give us the leaving variable which is in this case s 3 . After the pivoting step, we get z x 1 x 2 x 3 s 1 s 2 s 3 RHS z 1 0 2 0 2.5 0 0.5 25 x 1 0 1 1 0 1 0 0 6 s 2 0 0 1 0 0.5 1 -0.5 5 x 3 0 0 0 1 -0.5 0 0.5 7 As all the coefficients in row 0 are positive, we have found an optimal solution. Finally, the optimal solution is x 1 = 6 x 2 = 0 x 3 = 7 with the objective function value 25. 1
Image of page 1

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

View Full Document Right Arrow Icon
Solution problem 2: (questions, comments, suggestions please to Zeki Caner Taskin, [email protected] ) We first write the problem in tableu form. z x 1 x 2 x 3 x 4 RHS z 1 -1 3 -1 1 0 x 1 0 1 -1 1 2 15 x 3 0 -2 1 1 -1 0 We first apply Gauss-Jordan elimination to convert the x 1 column to identity.
Image of page 2
Image of page 3
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