Ay 2021 Sem 1 E210 - w04 - Is - Slides
Ay 2021 Sem 1 E210 - w04 - Is - Slides
Lesson 04
Product Mix and Distribution Planning
E210 – Operations Planning
OFFICIAL (CLOSED) \ NON-SENSITIVE
2
2
OFFICIAL (CLOSED) \ NON-SENSITIVE
IS Lecture (1)
LP Feasibility and Optimality
OFFICIAL (CLOSED) \ NON-SENSITIVE
• How should PrettyFit plan the product mix to maximize profit with the limited resources?
• How would the available resources and the unit profit of each product affect the overall
profit from producing the products?
• How should PrettyFit develop a distribution plan to minimize the distribution cost while
considering both available supplies and customer demands?
4
OFFICIAL (CLOSED) \ NON-SENSITIVE
5
OFFICIAL (CLOSED) \ NON-SENSITIVE
• In PrettyFit’s new manufacturing plant in Myanmar, Kate has successfully planned the
right product mix for two products: Midi-dress and Mini-dress. Now PrettyFit is planning
to further expand the product family by adding one more product: Maxi-dress.
• Kate was informed by the marketing department that there are pre-orders placed by
customers: 15 units of Midi-dress and 30 units of Mini-dress daily. Kate now has a
more challenging task of planning the product mix for three products: Midi-dress, Mini-
dress and Maxi-dress.
• To meet the customer demand and produce according to the new product mix, Kate
has to consider the availability of all resources: machine time, cloth and labour time.
The plant now has a maximum of 150 hours of machine time and 500 hours of labour
time available daily. Meanwhile, the suppliers can provide up to 198 m2 of cloth each
day.
• Table below summarizes the amount of each resource needed to produce one unit of
the products with expected profit earned from each of the products sold.
Product Machine Time (Hour) Cloth (m2) Labour Time (Hour) Unit Profit ($)
Midi-dress 0.3 1.2 1.5 24
Mini-dress 0.6 0.8 2 36
Maxi-dress 0.9 1.5 1.8 42
• Kate recalls that the new product mix can be determined using a mathematical model
and Excel Solver.
6
OFFICIAL (CLOSED) \ NON-SENSITIVE
7
OFFICIAL (CLOSED) \ NON-SENSITIVE
8
OFFICIAL (CLOSED) \ NON-SENSITIVE
• Lesson 03 helped Kate plan the product mix (two products) and conduct some sensitivity
analysis using the graphical method.
• Lesson 04 will help Kate plan the product mix (more than two products) and conduct
sensitivity analysis using Excel Solver.
• Lesson 05 will help Kate develop a distribution plan to minimize the distribution cost based
on the transportation model.
9
OFFICIAL (CLOSED) \ NON-SENSITIVE
LP Structure
Define decision variables x1, x2 and x3
Constraint coefficients
10
OFFICIAL (CLOSED) \ NON-SENSITIVE
11
OFFICIAL (CLOSED) \ NON-SENSITIVE
12
OFFICIAL (CLOSED) \ NON-SENSITIVE
X1 30X1+18X2
13
OFFICIAL (CLOSED) \ NON-SENSITIVE
X1 20X1+10X2
Solver does not alert the user about the existence of alternate optimal solutions
14
OFFICIAL (CLOSED) \ NON-SENSITIVE
X1
15
OFFICIAL (CLOSED) \ NON-SENSITIVE
Feasibility & Optimality - Unbounded Solution
(Excel Solver Results)
16
OFFICIAL (CLOSED) \ NON-SENSITIVE
X1
17
OFFICIAL (CLOSED) \ NON-SENSITIVE
Feasibility & Optimality - No Feasible Solution
Excel Solver Results
18
OFFICIAL (CLOSED) \ NON-SENSITIVE
Max Z = 20X1+10X2
Subject to
10X1+5X2 <= 800
0.75X1+X2<= 90
X1, X2>=0
Multiple
Optimal
Solution
19
OFFICIAL (CLOSED) \ NON-SENSITIVE
Max Z = 30X1+18X2
Subject to
10X1+5X2 >= 800
0.75X1+X2>= 90
X1, X2>=0
Unbounded
Solution
20
OFFICIAL (CLOSED) \ NON-SENSITIVE
Max Z = 30X1+18X2
Subject to
10X1+5X2 >= 800
2X1+3X2<= 120
X1, X2>=0
No Feasible
Solution
21
OFFICIAL (CLOSED) \ NON-SENSITIVE
Max Z = 30X1+18X2
Subject to
10X1+5X2 <= 800
0.75X1+X2<= 90
X1, X2>=0
Unique
Optimal
Solution
22
OFFICIAL (CLOSED) \ NON-SENSITIVE
Help Danny determine the optimum quantity to make for each product in the coming week to
maximize the profit.
23
OFFICIAL (CLOSED) \ NON-SENSITIVE
24
OFFICIAL (CLOSED) \ NON-SENSITIVE
Decision Variables
Let X1 be the number of Type A to produce for the coming week
Let X2 be the number of Type B to produce for the coming week
Let X3 be the number of Type C to produce for the coming week
Objective Function
Maximize profit Z = 120X1 + 150X2 + 180X3
Constraints
0.8X1 + 1.6X2 + 1.2X3 ≤ 160 (Availability of Machine Hours)
3X1 + 2X2 + 1.5X3 ≤ 300 (Availability of Labour Hours)
600X1 + 900X2+ 1500X3 ≤ 91500 (Availability of Plastic)
X3 ≥ 35 (Units of Type C Product Pre-ordered)
X1 , X2, X3 ≥ 0 (Non–negativity constraints for the decision variables)
25
OFFICIAL (CLOSED) \ NON-SENSITIVE
IS Lecture (2)
MS Excel Solver
OFFICIAL (CLOSED) \ NON-SENSITIVE
27
OFFICIAL (CLOSED) \ NON-SENSITIVE
28
OFFICIAL (CLOSED) \ NON-SENSITIVE
29
OFFICIAL (CLOSED) \ NON-SENSITIVE
Right-hand
=$E$11*C24+$E$12*D24+$E$13*E24 Formula for Left-hand Side of constraint Side values
Constraint Coefficients
OFFICIAL (CLOSED) \ NON-SENSITIVE
Constraints
31
OFFICIAL (CLOSED) \ NON-SENSITIVE
Select to
generate Reports
32
OFFICIAL (CLOSED) \ NON-SENSITIVE
Optimal Solution
Optimal Objective
Function Value
IS Lecture (3)
Sensitivity Analysis
OFFICIAL (CLOSED) \ NON-SENSITIVE
35
OFFICIAL (CLOSED) \ NON-SENSITIVE
36
OFFICIAL (CLOSED) \ NON-SENSITIVE
37
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Binding, Non-binding Constraints and Slacks
Consider the IS scenario, how does Danny know if the resources
have been used up? What do you call the constraints corresponding
to the resources being used up?
38
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Binding, Non-binding Constraints and Slacks
Non-binding Constraints
Eg. Availability of Machine Hours constraint: 66 hours of unused
Machine Time (non-binding constraint; slack = 160 - 94 = 66 hours)
Availability of Labour Hours constraint: 52.5 hours of unused Labour
Time (non-binding constraint; slack = 300 – 247.5 = 52.5 hours)
Final constraint Left-hand side values
Constraints
Cell Name Cell Value Formula Status Slack
$G$22 Availability of Machine Hours LHS 94.00 $G$22<=$I$22 Not Binding 66
$G$23 Availability of Labor Hours LHS 247.50 $G$23<=$I$23 Not Binding 52.5
$G$24 Availability of Plastic LHS 91500.00 $G$24<=$I$24 Binding 0
$G$25 Units of Type C Product Pre-ordered LHS 35.00 $G$25>=$I$25 Binding 0.00
Binding Constraints
Eg. Availability of Plastic constraint is binding (slack = 0, final left-hand Side value of the
constraint is equal to right-hand side value).
Increase in amount of Plastic (currently at 91,500 grams) would improve the optimal
solution (i.e. increase the total profit).
Pre-order for Type C constraint is also binding. How does the increase in Units of Type C
Product Pre-ordered affect the optimal solution? Check shadow price in Sensitivity 39
Report!
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Shadow Price of Constraints
40
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Shadow Price of Constraints
How much is the worth of the additional resource?
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$G$22 Availability of Machine Hours LHS 94 0 160 1E+30 66
$G$23 Availability of Labor Hours LHS 247.5 0 300 1E+30 52.5
$G$24 Availability of Plastic LHS 91500 0.2 91500 10500 39000
$G$25 Units of Type C Product Pre-ordered LHS 35 -120 35 26 8.75
Shadow price: The increase (or decrease) in objective function given 1 unit
increase (or decrease) in resource (right-hand side value)
The shadow price remains valid if and only if the right-hand side value
stays within the Range of Feasibility:
(Right-hand side value- Allowable Decrease, Right-hand side value +
Allowable Increase).
Shadow price is non-zero only for binding constraints. For non-binding
constraints (surplus resources), additional resource is not valuable.
For example, increasing the amount of Machine Hours does not change
the total profit. 41
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Sensitivity Analysis of Objective Function Coefficients
43
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Range of Optimality for Objective Function Coefficients
For the optimal solution to remain unchanged, how much can the
objective function coefficient change?
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$E$11 Type A Quantity 65 0 120 1E+30 20
$E$12 Type B Quantity 0 -30 150 30 1E+30
$E$13 Type C Quantity 35 0 180 120 1E+30
For the solution (product mix) to stay optimal, When the unit profit of Type A is
the objective function coefficient can assume decreased from $120 to $110, the optimal
the range (‘Coefficient – Allowable Decrease’, solution does not change. The optimal
‘Coefficient + Allowable Increase’). (Range of objective function value (total profit) will
Optimality) decrease by 65*(120-110) = $650
In other words, the optimal solution (X1= 65; The Range of Optimality for objective
X2=0; X3=35) is valid when the unit profits function coefficient of X1 (Type A) is:
stay within the following ranges: P1 ≥ $100.
Product Unit Profit If the unit profit of Type A is decreased
Type A P1≥ 120 - 20 = $100 below $100, the optimal solution will
Type B P2 ≤ 150 + 30 = $180
change, i.e., the optimal solution will
not be (X1= 65; X2=0; X3=35) anymore.
Type C P3 ≤ 180 + 120 = $300 44
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Range of Optimality for Objective Function Coefficients
NOTE
For multiple optimal solutions, the allowable increase or allowable
decrease for some objective function coefficients will be zero. See
an example below:
Hands-on Session:
Reduced Cost of a Zero-Value Decision Variable
Hands-on Session:
Reduced Cost of a Zero-Value Decision Variable
Reduced Cost: An estimate of how much the objective function will change if a decision
variable which is currently 0 is forced to be non-zero. For example,
Number of Type B (X2) has a final value of 0 unit to produce. To produce 1 unit of Type
B, the objective function (total profit for the coming week) will decrease by $30.
How to make the production of Type B worthwhile? The unit profit must be reduced by
at least $-30 (i.e., the unit profit has to be increased by more than $30).
So, in order to be worthwhile to produce 1 unit of Type B, its unit profit should be at
least: $150 + $30 = $180.
47
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Reduced Cost of a Zero-Value Decision Variable
Reduced cost is the amount per unit of the product that contributes to overall
objective function minus the value (shadow price) of the resources it consumes.
Constraints
Constraint coefficient for X1 X1 X2 X3 Constraint
0.8 1.6 1.2 Availability of Machine Hours
3 2 1.5 Availability of Labor Hours
600 900 1500 Availability of Plastic
1 Units of Type C Product Pre-ordered
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Reduced Cost of a Zero-Value Decision Variable
Reduced cost is the amount per unit of the product that contributes to overall
objective function minus the value (shadow price) of the resources it consumes.
Constraints
51
OFFICIAL (CLOSED) \ NON-SENSITIVE
Hands-on Session:
Overview of Answer Report in Excel Solver
Optimal solution:
number of Type A,
Type B and Type C to
Optimal objective function Value produce
– Max Profit
Constraints’ status 52
Hands-on Session:
OFFICIAL (CLOSED) \ NON-SENSITIVE
Range of feasibility
Shadow Price -Range of Shadow Price Validity.
The change in the objective -For example, if the increase in the right-hand side value of
function value per unit increase Plastic constraint is beyond the allowable increase of
(decrease) in the right-hand side 10500 gram, then the shadow price will change.
value of the constraint.
53
OFFICIAL (CLOSED) \ NON-SENSITIVE
Learning Outcomes
At the end of the lesson, students should be able to:
• Identify problems that can be solved using linear programming.
• Formulate a Linear Programming (LP) model by establishing the decision variables, objective
function and constraints.
• Solve a Linear programming (LP) problem with two decision variables using graphical method.
• Perform sensitivity analysis on the objective function coefficients and right-hand side values of the
constraints using graphical method.
• Interpret feasibility and optimality of an LP solution.
• Solve an LP model using MS Excel Solver.
• Perform sensitivity analysis using reports generated from MS Excel Solver.
• Interpret shadow price to determine the impact of changing constraint right-hand side value on the
optimal objective value.
• Explain range of optimality: the range of values that the objective function coefficients can assume
without changing the optimal solution.
• Explain range of feasibility: the range of values for the right-hand side of a constraint, in which the
shadow price for the constraint remains unchanged.
• Calculate Reduced Cost to determine the impact of forcing a decision variable which has zero value
to be non-zero on the objective function value.
• Identify a transportation problem that deals with the distribution of goods from multiple supply
sources to multiple demand destinations.
• Apply Northwest Corner Rule and Lowest Cost Method to determine a feasible solution for a
transportation problem.
• Formulate the transportation problem that involves minimizing the cost of shipping goods from a set
of origins to a set of destinations as a linear programming model.
• Apply Excel Solver to find an optimal shipment allocation for the transportation problem to minimize
the total transportation cost.
• Compare the heuristic solutions with the solution of linear programming method.
54
OFFICIAL (CLOSED) \ NON-SENSITIVE
E-learning Video
• You may wish to access the e-learning
video from : https://docs.google.com/file/d/0Bz-
Yttbj61bxTXAtQXplQ2RxN2c/edit?usp=sharing
55
OFFICIAL (CLOSED) \ NON-SENSITIVE
Decision
Operations LP – Integer Making using
Planning Programming Decision Tree
Overview
LP -
Transportation Network
Model Diagram and
Decision
Making with Min. Spanning
Dependent Tree
Decisions
LP formulation LP – Binary
Process Strategy and EXCEL Integer
& Capacity Solver with Programming Decision
Requirements Sensitivity Making using
analysis Utility Dissimilarity
Function Index and MST
Linear
Programming Decision
(LP) Graphical Making under
Method uncertainty
and risk
We are
here !
56