Download presentation
Presentation is loading. Please wait.
Published byMagnus Stokes Modified over 9 years ago
2
Goals and aims To introduce Linear Programming To find a knowledge on graphical solution for LP problems To solve linear programming problems using excel. Requirements To drop all your mental luggage outside the class To stop me immediately if you feel any difficulty Goals, Aims, and Requirements
3
You have a set of logos 8 small bricks 6 large bricks These are your “raw materials”. You have to produce tables and chairs out of these logos. These are your “products”. The Lego Production Problem
4
Weekly supply of raw materials: 6 Large Bricks 8 Small Bricks Products: Table Chair Profit = $20/TableProfit = $15/Chair The Lego Production Problem
5
X1 is the number of Chairs X2 is the number of Tables Large brick constraint X1+2X2 <= 6 Small brick constraint 2X1+2X2 <= 8 Objective function is to Maximize 15X1+20 X2 X1>=0 X2>= 0 Problem Formulation
6
0 Graphical Solution to the Prototype Problem 123456 1 2 3 4 5 Chairs Tables X1 + 2 X2 = 6 Large Bricks
7
0 Graphical Solution to the Prototype Problem 123456 1 2 3 4 5 Chairs Tables 2 X1 + 2 X2 = 8 Small Bricks
8
0 Graphical Solution to the Prototype Problem 123456 1 2 3 4 5 Chairs Tables X1 + 2 X2 = 6 Large Bricks 2 X1 + 2 X2 = 8 Small Bricks
9
0 Graphical Solution to the Prototype Problem 123456 1 2 3 4 5 Chairs Tables X1 + 2 X2 = 6 Large Bricks 2 X1 + 2 X2 = 8 Small Bricks
10
Z = 15 X1 + 20 X2 Lets draw it for 15 X1 + 20 X2 = 30 In this case if # of chair = 0, then # of table = 30/20 = 1.5 if # of table = 0, then # of chair = 30/15 = 2 The Objective Function
11
0 Graphical Solution to the Prototype Problem 123456 1 2 3 4 5 Chairs Tables X1 + 2 X2 = 6 Large Bricks 2 X1 + 2 X2 = 8 Small Bricks
12
We can make Product1 and or Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one unit of Resource1, nothing of Resource2, and three units of resource3. Product2 needs nothing from Resource1, two units of Resource2, and two units of resource3. Net profit of product 1 and Product2 are 3 and 5, respectively. Formulate the Problem Solve it graphically Solve it using excel. A second example
13
Objective Function Z = 3 x 1 +5 x 2 Constraints Resource 1 x 1 4 Resource 2 2x 2 12 Resource 3 3 x 1 + 2 x 2 18 Nonnegativity x 1 0, x 2 0 Problem 2 : Original version Product 1 needs 1 unit of resource 1, and 3 units of resource 3. Product 2 needs 2 units of resource 2 and 2 units of resource 3 There are 4 units of resource 1, 12 units of resource 2, and 18 units of resource 3
14
12345678910 1 2 3 4 5 6 7 8 9 x 2 x 1 Max Z = x 1 + x 2 Subject to x 1 4 2x 2 12 3 x 1 + 2 x 2 18 x 1 0, x 2 0 Problem 2 : Original version
15
12345678910 1 2 3 4 5 6 7 8 9 x 2 x 1 Max Z = x 1 + x 2 Subject to x 1 4 2x 2 12 3 x 1 + 2 x 2 18 x 1 0, x 2 0 Problem 2
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.