Академический Документы
Профессиональный Документы
Культура Документы
Exceptions for
Linear
Programming
Audio 122 05:00
In the Linear Programming there are 4 exceptions,
cannot happen in the real life
FIGURE
A Problem with No Feasible Solution
- From the graph there is 2 regions, when
we draw the line of the objective function
curve ,
- we discover that there is a missing
boundary
- We have 2 regions now, this is infeasible
It wont work, there is something wrong in
the information : either of these formulas
is wrong > , < is wrong
- Either the X will be > 7 , or the X will be <
4
- This is infeasible region ,
2 Prof. Maged Morcos
Quantitative Analysis lecture 3 Date: 24/1/2017
FIGURE 10.13
Solution Region that is Unbounded to the Right
- ----
X = 0 Y = -2 ( In the negative
sign area )
We draw the line up to the positive area .
Then the feasible region appears.
We should work in the positive area, either
there is a production or no
Linear Programming
The Graphical Method
1) Problem Description
RMC, Inc. is a firm that produces chemical-based
products. In a particular process three raw
materials are used to produce two products.
The material requirements per ton are shown
below.
Product Material 1 Material 2 Material 3
Fuel 2 3
5 2/5 0 5 3/5
additive
Solvent 1 1 3
2 1/2 5 1/5 10
base
- Profit = 40 X + 30 Y
Profit Region -
Determining the optimal solution
algebraically
- Is not needed, we need to solve it graphically only.
- Algebra will be done by the computer
later on .
1
0X+ 5 Y+ 1 S2 =5
3 3
5 X + 10 Y + 1 S3 = 21
X, Y, S1, S2, S3 0
- How will find the S :
From the graph ( dont interfer in the
QA, take it from the
graph)
X= 25 Y= 20
:
Tons Unus
Material Tons required
Availa ed
s (X = 25 , Y =20)
ble Tons
2
Material 5 1
+ 2 (20) = 20 20 0
1
(25)
Material 0 1
+ 5 (20) = 4 5 1
2 (25)
3
Material 3 10 3/10
5 (25) + = 21 21 0
3
(20)
Sensitivity analysis
Conceptual Part
- I told the Finance manager that the contribution
to profit of Product 1 & Product 2 started to
change
Slope of Line
Slope of Line B Objective Slope of Line A
Function
-2 -C1/C2 -4/5
2 1
X + Y 20 3 3 C 1 + C 2 Y = 1600
5 2 X + Y 21
5 10
1 2 3 3
Y= X +20 Y= X +21 /10Y
2 5 10 5 C2 Y = - C1+ 1600
2 X 2 2 X 20 3 X 10 10 X 21
Y= X+ Y= X+
1 X5 1X 1 3X5 3X1
(2X2) (2X
40 ) ( 3 X 10 ) ( 10
X 21 / 3 )
4 Y=
30
X +70
Y= - C1/C 2
Y= X + 40
5 15 +1600/C2
( 1X5 ) (3X5)
Y - 2 X + 70
Slope of Line B
- ( - ) means it has a slope
- Times X ( this is the tangent , the angel)
( ) X -
- Now we need the Objective function (40 & 30) ,
because they are unknown, we will call them
Parameter (Coefficient
- Coefficient of X + Coefficient of Y = 1600
X Y
C1 C2
- C1 X + C2 Y = 1600
- C2 Y = - C1 X + 1600
C 1 1600
Y= X+
- C2 C2
Slope of Line
Slope of Line B Objective Slope of Line A
Function
-2 -C1/C2 -4/5
C1 C 1 4
2
C2 C2 5
C1 C 1 4
2
30 30 5
C 124
- 60 - C1
C1 60 C1 24
24 C1 60
- When You do sensitivity analysis, You fix
everything and you change only one
22 Prof. Maged Morcos
Quantitative Analysis lecture 3 Date: 24/1/2017
- To get the C2
Slope of Line
Slope of Line B Objective Slope of Line A
Function
-2 -C1/C2 -4/5
C1 C 1 4
2
C2 C2 5
40 40 4
2
C2 C2 5
C 250
- 20 - C2
C2 80 C2 50
20 C2 50
- What the benifit of getting these results?
Problem Description
Notes:
- What type of constraints that he has?
Sailboat $ 50
Cabin Cruiser $ 70
Captain $ 100
Capacity
-
Maximize Profit
Max P = 50 X + 70 Y + 100 Z
- This problem cannot be drawn, (X, Y, Z).
1) Free Format
Max P = 50 X + 70 Y + 100 Z
- Subject to the following constraints:
C1 : X + Y + Z 10 Captian
C2 : X + 2Y + 3 Z 18 Crew
C3 : X 4 Sails Boat
C4 : Y 8 Cabin
Cruiser
C5 : Z 3 Luxury
Yacht
C6: X , Y , Z 0
- the computer will tell us, bring ---- X, & ---- Y, --- Z
2) Table Format
Variabl Captai
Crew X Y Z Profit
e n
X 1 1 1 0 0 50
Y 1 2 0 1 0 70
Z 1 3 0 0 1 100
Capaci
10 18 4 8 3
ty
X, Y , Z -
Constraint
Constraints Variables -
- Page 89 in the book, solve the same problem in the
book, and find how many : X, Y, Z,
Profit
- No : 19 in the book