Mip001 Problema 1
Mip001 Problema 1
Mip001 Problema 1
a) Solve the following problem assuming positive continuous variables using the simplex method and starting
from the initial vertex (x,y)=(0,0)
Max x+y
-x+2y ≤8
2x+y≤12
x,y≥0
b) Solve the problem graphically and apply the branch and bound method to obtain the optimal MIP solution.
MIP001 : SIMPLEX Y LINEAL ENTERA
a) Solve the following problem assuming positive continuous variables using the simplex method and starting
from the initial vertex (x,y)=(0,0)
Max x+y
-x+2y +h1 = 8
2x+y + h2=12
x,y,h1,h2≥0
h1 h2 x y h1 x h2 y y x h2 h1
B N B N B N
1 0 -1 2 Max 1 -1 0 2 Max 2 -1 0 1 Max
0 1 2 1 0 2 1 1 1 2 1 0
CB CN CB CN
CB CN
0,0 0 1 1 0 1 0 1
1 1 0 0
of 0 of 6 of 8,8
B-1N B-1N
B-1N
x y b/y h2 y b/y
h2 h1 b/y
-1 2 8 -1 -8 h1 0,5 2,5 14 2,5 5,6 h1
0,2 0,4 5,6 0 y
2 1 12 2 6 h2 0,5 0,5 6 0,5 12 x
0,4 -0,2 3,2 0 x
Max x+y
-x+2y +h1 = 8
2x+y + h2=12
x,y,h1,h2≥0
Z=8,8
(x,y)=(3,2 , 5,6)
x≤3 x≥4
Z=8,5 Z=8
(x,y)=(3 , 5,5) (x,y)=(4 , 4)
y≤5 y≥6
Z=8 No factible
(x,y)=(3 , 5)