Down xcurrent xup car 233333 5 1e20 train 1e20 3 7

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

View Full Document Right Arrow Icon
x.down x.current x.up := car 2.33333 5 1e+20 train -1e+20 3 7 truck 0 2 10 ; Figure 1: AMPL session 1
Image of page 3

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

View Full Document Right Arrow Icon
ampl: reset; reset; ampl: model ../taha/toyco.mod; model ../taha/toyco.mod; ampl: solve; solve; CPLEX 11.2.0: sensitivity CPLEX 11.2.0: optimal solution; objective 1360 4 dual simplex iterations (3 in phase I) suffix up OUT; suffix down OUT; suffix current OUT; ampl: display x.lb, x, x.ub, x.rc; display x.lb, x, x.ub, x.rc; : x.lb x x.ub x.rc := car 0 160 Infinity 0 fire 0 140 Infinity 0 train 0 0 Infinity -5 truck 0 0 Infinity 0 ; ampl: display resource.dual, resource.slack; display resource.dual, resource.slack; : resource.dual resource.slack := 1 0 270 2 2.5 0 3 0.5 0 ; ampl: display resource.down, resource.current, resource.up; display resource.down, resource.current, resource.up; : resource.down resource.current resource.up := 1 160 430 1e+20 2 140 460 1000 3 0 420 1380 ; ampl: display x.down, x.current, x.up; display x.down, x.current, x.up; : x.down x.current x.up := fire 4 4 1e+20 train -1e+20 3 8 truck -1e+20 2 2 ; Figure 2: AMPL session 2
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