Documentos de Académico
Documentos de Profesional
Documentos de Cultura
LINEAR PROGRAMMING
Example 2
I = x + 0.8y
x + y 1000
2x + y 1500
3x + 2y 2400
x + y 800
Maximise
subject to
I
I - x - 0.8y
x + y + s1
+ s2
2x + y
3x + 2y
+ s3
x+ y
- s4
Maximise
where
subject to
LINEAR PROGRAMMING
I
I - x - 0.8y
x + y + s1
+ s2
2x + y
3x + 2y
+ s3
x+ y
- s4
Maximise
where
subject to
Stage 1
=
=
=
=
=
0
1000
1500
2400
800
A ( = a1)
A + x + y - s4
I
I - x - 0.8y
x + y + s1
2x + y
+ s2
3x + 2y
+ s3
x+ y
- s 4 + a1
Minimise
where
Maximise
where
subject to
= 0
= 1000
= 1500
= 2400
= 800
Example 2
Stage 2
= 800
=
=
=
=
=
0
1000
1500
2400
800
SIMPLEX TABLEAU
s1
s2
s3
s4
a1
LINEAR PROGRAMMING
RHS
-1
800
-1
-0.8
1000
1500
Example 2
Maximise I = x + 0.8y
subject to x + y 1000
2x + y 1500
3x + 2y 2400
x + y 800
y
96 0
80 0
64 0
48 0
Initial artificial
solution
32 0
2400
-1
800
I = 0
16 0
at (0, 0)
x
0
0
160
320
48 0
64 0
80 0
9 60
STAGE 1 : PIVOT 1
STAGE 1 : PIVOT 1
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
-1
800
-1
800
-1
-0.8
-1
-0.8
0 1000
0 1000
1000/1
0 1500
0 1500
1500/2
2400
2400 2400/3
-1
800
-1
800
800/1
STAGE 1 : PIVOT 1
STAGE 1 : PIVOT 1
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
-1
800
0.5
-0.5
-1
50
-1
-0.8
-1
-0.8
0 1000
0 1000
0.5
0.5
750
0.5
0.5
750
2400
2400
-1
800
-1
800
STAGE 1 : PIVOT 1
10
STAGE 1 : PIVOT 1
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
0.5
-0.5
-1
50
0.5
-0.5
-1
50
-0.3
0.5
750
-0.3
0.5
750
0 1000
0.5
-0.5
250
0.5
0.5
750
0.5
0.5
750
2400
2400
-1
800
-1
800
11
STAGE 1 : PIVOT 1
12
STAGE 1 : PIVOT 1
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
0.5
-0.5
-1
50
0.5
-0.5
-1
50
-0.3
0.5
750
-0.3
0.5
750
0.5
-0.5
250
0.5
-0.5
250
0.5
0.5
750
0.5
0.5
750
0.5
-1.5
150
0.5
-1.5
150
-1
800
0.5
-0.5
-1
50
13
STAGE 1 : PIVOT 1
s1
s2
s3
s4
14
LINEAR PROGRAMMING
a1 RHS
0.5
-0.5
-1
50
-0.3
0.5
750
0.5
-0.5
250
0.5
0.5
750
Example 2
Maximise I = x + 0.8y
subject to x + y 1000
2x + y 1500
3x + 2y 2400
x + y 800
y
96 0
80 0
64 0
48 0
Artificial solution
after
Stage 1, pivot 1:
32 0
0.5
-1.5
150
0.5
-0.5
-1
50
16 0
I = 750
x
0
0
160
320
48 0
64 0
80 0
at (750, 0)
9 60
15
STAGE 1 : PIVOT 2
16
STAGE 1 : PIVOT 2
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
0.5
-0.5
-1
50
0.5
-0.5
-1
50
-0.3
0.5
750
-0.3
0.5
750
0.5
-0.5
250
0.5
-0.5
250
250/0.5
0.5
0.5
750
0.5
0.5
750
750/0.5
0.5
-1.5
150
0.5
-1.5
150
150/0.5
0.5
-0.5
-1
50
0.5
-0.5
-1
50
50/0.5
17
STAGE 1 : PIVOT 2
18
STAGE 1 : PIVOT 2
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
0.5
-0.5
-1
50
-1
-0.3
0.5
750
-0.3
0.5
750
0.5
-0.5
250
0.5
-0.5
250
0.5
0.5
750
0.5
0.5
750
0.5
-1.5
150
0.5
-1.5
150
-1
-2
100
-1
-2
100
19
STAGE 1 : PIVOT 2
20
STAGE 1 : PIVOT 2
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
-1
-1
0.2
0.2
0.5
-0.5
250
0.5
0.5
750
0.5
0.5
750
0.5
-1.5
150
0.5
-1.5
150
-1
-2
100
-1
-2
100
21
STAGE 1 : PIVOT 2
22
STAGE 1 : PIVOT 2
s1
s2
s3
s4
a1 RHS
s1
s2
s3
s4
a1 RHS
-1
-1
0.2
0.2
-1
200
-1
200
-1 700
-1
700
0.5
-1.5
150
-1
-1 100
-1
-2
100
-1
-2
100
23
STAGE 1 : PIVOT 2
s1
s2
s3
s4
0
a1 RHS
-1
0.2
-1
200
-1
700
24
LINEAR PROGRAMMING
Example 2
Maximise I = x + 0.8y
subject to x + y 1000
2x + y 1500
3x + 2y 2400
x + y 800
y
96 0
80 0
64 0
48 0
Feasible solution
after
Stage 1, pivot 2:
32 0
-1
-1
100
-1
-2
100
16 0
x
0
0
160
320
48 0
64 0
80 0
9 60
I = 780
at (700, 100)
A = a1 = 0
25
STAGE 2 : PIVOT 1
26
STAGE 2 : PIVOT 1
s1
s2
s3
s4
RHS
s1
s2
s3
s4
RHS
0.2
-0.6
780
0.2
-0.6
780
200
200
200/1
700
700
700/1
-1
100
-1
100
100/1
-1
-2
100
-1
-2
100
27
STAGE 2 : PIVOT 1
28
STAGE 2 : PIVOT 1
s1
s2
s3
s4
RHS
s1
0.2
-0.6
780
200
700
-1
100
-1
-2
100
s2
s3
s4
RHS
840
200
700
-1
100
-1
-2
100
-0.4 0.6
29
STAGE 2 : PIVOT 1
s1
s2
30
STAGE 2 : PIVOT 1
s3
s4
RHS
s1
-0.4 0.6
840
-1
100
700
-1
100
-1
-2
100
s2
s3
s4
RHS
-0.4 0.6
840
-1
100
-1
600
-1
100
-1
-2
100
31
STAGE 2 : PIVOT 1
s1
s2
32
STAGE 2 : PIVOT 1
s3
s4
RHS
s1
-0.4 0.6
840
-1
100
-1
600
-1
100
-3
300
s2
s3
s4
RHS
-0.4 0.6
840
-1
100
-1
600
-1
100
-3
300
33
LINEAR PROGRAMMING
Maximise I = x + 0.8y
subject to x + y 1000
2x + y 1500
3x + 2y 2400
x + y 800
y
96 0
80 0
64 0
34
STAGE 2 : PIVOT 2
Example 2
s1
s2
s3
s4
RHS
-0.4 0.6
840
-1
100
Feasible solution
after
Stage 2, pivot 1:
-1
600
-1
100
I = 840
-3
300
48 0
32 0
16 0
x
0
0
160
320
48 0
64 0
80 0
at (600, 300)
9 60
35
STAGE 2 : PIVOT 2
s1
s2
36
STAGE 2 : PIVOT 2
s3
s4
RHS
s1
-0.4 0.6
840
-1
100
100/1
-1
600
600/2
-1
100
-3
300
s2
s3
s4
RHS
-0.4 0.6
840
-1
100
-1
600
-1
100
-3
300
37
STAGE 2 : PIVOT 2
38
STAGE 2 : PIVOT 2
s1
s2
s3
s4
RHS
s1
s2
s3
s4
RHS
0.4
0.2
880
0.4
0.2
880
-1
100
-1
100
-1
600
-2
400
-1
100
-1
100
-3
300
-3
300
39
STAGE 2 : PIVOT 2
40
STAGE 2 : PIVOT 2
s1
s2
s3
s4
RHS
s1
s2
s3
s4
RHS
0.4
0.2
880
0.4
0.2
880
-1
100
-1
100
-2
400
-2
400
200
200
-3
300
-1
600
41
STAGE 2 : PIVOT 2
s1
s2
s3
s4
RHS
42
LINEAR PROGRAMMING
Maximise I = x + 0.8y
subject to x + y 1000
2x + y 1500
3x + 2y 2400
x + y 800
y
96 0
80 0
0.4
0.2
880
-1
100
-2
400
Example 2
64 0
48 0
Optimal solution
after
Stage 2, pivot 2:
32 0
200
-1
600
16 0
x
0
0
160
320
48 0
64 0
80 0
9 60
I = 880
at (400, 600)