Session_2_slides
Session_2_slides
BMC 515
Manu K. Gupta
Department of Management Studies,
IIT Roorkee.
Session 2
Last lecture
• Course Outline
• Burrito Optimization Game
• Product Mix problems
1
Product mix problem in a sweets shop.
Prakash sweets in Roorkee can make two types of sweets (A and B).
They use two flour and sugar to make A and B.
2
Product mix problem in a sweets shop.
Prakash sweets in Roorkee can make two types of sweets (A and B).
They use two flour and sugar to make A and B.
2
Mathematical Programming formulation
3
Mathematical Programming formulation
3
Mathematical Programming formulation
3
Mathematical Programming formulation
3
Mathematical Programming formulation
3
Mathematical Programming formulation
Decision Variables:
xA : The number of packets to be made of type A
xB : The number of packets to be made of type B
Subject to:
4
Mathematical Programming Formulation
Decision Variables:
xA : The number of packets to be made of type A
xB : The number of packets to be made of type B
Subject to:
4
Demo using Geogebra
max x +y
Subject to:
2x − y ≤ 4 (3)
x + 2y ≤ 4 (4)
2x + y ≥ 1 (5)
x ≥ 0, y ≥ 0
5
Demo using Geogebra
max x +y
Subject to:
2x − y ≤ 4 (3)
x + 2y ≤ 4 (4)
2x + y ≥ 1 (5)
x ≥ 0, y ≥ 0
5
Production Planning Problem1
1 Source: https://medium.com/@rahulpandey.igsa/
opining- on-optimization- 1- a- simple- production- planning- problem- to-learn- first- steps- of- modeling- ccaf6369bf2f
6
Mathematical Programming formulation
7
Mathematical Programming formulation
7
Mathematical Programming formulation
7
Mathematical Programming formulation
7
Mathematical Programming formulation
7
Mathematical Programming formulation
7
Linear Programming Formulation
Decision Variables:
x1 : The number of units to be made of type A
x2 : The number of units to be made of type B
Subject to:
x1 ≤ 4000 (6)
x2 ≤ 3500 (7)
x1 + x2 ≤ 5000 (8)
x1 x2
+ ≤ 1 (9)
8000 4000
x1 ≥ 0,
x2 ≥ 0
8
Linear Programming Formulation
Decision Variables:
x1 : The number of units to be made of type A
x2 : The number of units to be made of type B
Subject to:
x1 ≤ 4000 (6)
x2 ≤ 3500 (7)
x1 + x2 ≤ 5000 (8)
x1 x2
+ ≤ 1 (9)
8000 4000
x1 ≥ 0,
x2 ≥ 0
8
Fact
9
Fact
9
Fact
9
min x12 + x22 − 4x1 − 6x2
x1 ,x2
x1 + x2 ≥ 5 (10)
x1 ≥ 0 (11)
x2 ≥ 0 (12)
10
11
Maximize z = 60x1 − 5x12 + 80x2 − 4x22
subject to:
6x1 + 5x2 ≤ 60,
10x1 + 20x2 ≤ 150,
x1 ≤ 8,
x1 ≥ 0,
x2 ≥ 0.
12
Click here for interactive visualization.
13
14
Thank you!
[email protected]
14