Presentation is loading. Please wait.

Presentation is loading. Please wait.

LINGO LAB 4.

Similar presentations


Presentation on theme: "LINGO LAB 4."— Presentation transcript:

1 LINGO LAB 4

2 Example : Solve the following LP problem MAX 4X1+2X2+3X3+6X4-4X5-11X6 3X1+X2+5X3+2X4-2X5-X6 ≤ 9 -X1+X2+X3+2X4-3X6 ≤ 3 2X1-X2-4X3+X4+X5-X6 ≤ -2 X1,X2,X3,X4,X5and X6 are binary variables

3

4

5 Min 2x1+2.8x2+3x3+2.1x4+3.2x5+4.2x6 S.T x1+x2+x3>=1500 x4+x5+x6>=1200 2(x1+x2+x3)-(x4+x5+x6)=0 0<=x1<= <=x2<= <=x3 0<=x4<= <=x5<= <=x5 x1,x2,x3,x4,x5,x6>=0

6

7

8 Max 6500x1+7000x2+2250x3+2500x4 S.T 700x1+800x2+300x3+350x4<= x1+550x2+150x3+200x4<= x1+350x2+100x3+170x4<=400 x1+x2>=1 -x3+x4<=1 x1,x2,x3,x4=(0,1)

9

10

11 The Maximum Flow Problem

12

13

14

15 IENG 212 LAB QUIZ COMES UP ON 22 DECEMBER, 2017 AT IENG LAB 1 8:30 – 10:20 Please note that there is no time for make-up lab quiz


Download ppt "LINGO LAB 4."

Similar presentations


Ads by Google