SlideShare a Scribd company logo
Chapter 4:
Linear Programming
Sensitivity Analysis

© 2007 Pearson Education
What if there is uncertainly about one or
more values in the LP model?
Sensitivity analysis allows us to determine
how “sensitive” the optimal solution is to
changes in data values.
This includes analyzing changes in:
1. An Objective Function Coefficient (OFC)
2. A Right Hand Side (RHS) value of a
constraint
Graphical Sensitivity Analysis
We can use the graph of an LP to see what
happens when:
1. An OFC changes, or
2. A RHS changes
Recall the Flair Furniture problem
Flair Furniture Problem
Max 7T + 5C

(profit)

Subject to the constraints:

3T + 4C < 2400

(carpentry hrs)

2T + 1C < 1000

(painting hrs)

C < 450
T

(max # chairs)

> 100

(min # tables)

T, C > 0

(nonnegativity)
Objective Function
Coefficient (OFC) Changes
What if the profit contribution for tables
changed from $7 to $8 per table?

8
Max X T + 5 C
7

(profit)

Clearly profit goes up, but would we want to
make more tables and less chairs?
(i.e. Does the optimal solution change?)
Characteristics of OFC Changes
• There is no effect on the feasible region
• The slope of the level profit line changes
• If the slope changes enough, a different
corner point will become optimal
C

Original
Objective Function
7T + 5 C = $4040
Revised
Objective Function
8T + 5 C = $4360

Optimal Corner
(T=320, C=360)
Still optimal

500

400

300

200

Feasible
Region

100

0
0

100

200

300

400

500 T
What if the OFC
became higher?
Or lower?
11T + 5C = $5500
Optimal Solution
(T=500, C=0)

C
1000

Both have new
optimal corner
points
600
450

3T + 5C = $2850
Optimal Solution
(T=200, C=450)

Feasible
Region
0

0 100

500

800 T
• There is a range for each OFC where the
current optimal corner point remains
optimal.
• If the OFC changes beyond that range a
new corner point becomes optimal.
• Excel’s Solver will calculate the OFC
range.
Right Hand Side (RHS) Changes
What if painting hours available changed
from 1000 to 1300?

X

2T + 1C < 1000

1300
(painting hrs)

This increase in resources could allow us to
increase production and profit.
Characteristics of RHS Changes
• The constraint line shifts, which could
change the feasible region
• Slope of constraint line does not change
• Corner point locations can change
• The optimal solution can change
Old optimal
corner point
(T=320,C=360)
Profit=$4040

C
500

Feasible region
becomes larger

400

New optimal
corner point
(T=560,C=180)
Profit=$4820

300

100

200

300

400

500

300
=1

0
00

Region
0

1C

=1

Feasible

0

+
2T

100

1C

Original

+
2T

200

600 T
Effect on Objective Function Value
New profit
Old profit
Profit increase

= $4,820
= $4,040
= $780 from 300 additional
painting hours

$2.60 in profit per hour of painting
• Each additional hour will increase profit by $2.60
• Each hour lost will decrease profit by $2.60
Shadow Price
The change is the objective function
value per one-unit increase in the
RHS of the constraint.
Will painting hours be worth $2.60 per
hour regardless of many hours are
available ?
Range of Shadow Price Validity
Beyond some RHS range the value of each
painting hour will change.
While the RHS stays within this range, the
shadow price does not change.
Excel will calculate this range as well as the
shadow price.
Solver’s Sensitivity Report
When Excel Solver is used to find an
optimal solution, the option of generating
the “Sensitivity Report” is available.

Go to file 4-1.xls
Constraint RHS Changes
If the change in the RHS value is within the
allowable range, then:
• The shadow price does not change
• The change in objective function value =
(shadow price) x (RHS change)
If the RHS change goes beyond the
allowable range, then the shadow price
will change.
Objective Function
Coefficient (OFC) Changes
If the change in OFC is within the allowable
range, then:
• The optimal solution does not change
• The new objective function value can be
calculated
Anderson Electronics Example
Decision: How many of each of 4 products
to make?
Objective: Maximize profit
Decision Variables:
V = number of VCR’s
S = number of stereos
T = number of TV’s
D = number of DVD players
Max 29V + 32S + 72T + 54D (in $ of profit)
Subject to the constraints:

3V + 4S + 4T + 3D < 4700
2V + 2S + 4T + 3D < 4500
V + S + 3T + 2D < 2500
V, S, T, D > 0
Go to file 4-2.xls

(elec. components)
(nonelec. components)

(assembly hours)
(nonnegativity)
RHS Change Questions
• What if the supply of nonelectrical
components changes?
• What happens if the supply of electrical
components
– increased by 400 (to 5100)?
– increased by 4000 (to 8700)?
• What if we could buy an additional 400
elec. components for $1 more than usual?
Would we want to buy them?
• What if would could get an additional 250
hours of assembly time by paying $5 per
hour more than usual? Would this be
profitable?
Decision Variables That Equal 0
We are not currently making any VCR’s
(V=0) because they are not profitable
enough.
How much would profit need to increase
before we would want to begin making
VCR’s?
Reduced Cost
of a Decision Variable
(marginal contribution to the obj. func. value)

- (marginal value of resources used)
= Reduced Cost
marginal profit of a VCR
= $29
- marginal value of resources = ?
Reduced Cost of a VCR

= - $1.0
Reduced Cost is:
• The minimum amount by which the OFC
of a variable should change to cause that
variable to become non-zero.
• The amount by which the objective
function value would change if the variable
were forced to change from 0 to 1.
OFC Change Questions
• For what range of profit contributions for
DVD players will the current solution
remain optimal?
• What happens to profit if this value drops
to $50 per DVD player?
Alternate Optimal Solutions
May be present when there are 0’s in
the Allowable Increase or Allowable
Decrease values for OFC values.
Simultaneous Changes
All changes discussed up to this point have
involved only 1 change at a time.
What if several OFC’s change?
Or
What if several RHS’s change?
Note: they cannot be mixed
The 100% Rule
∑ (change / allowable change) < 1
RHS Example
• Electrical components decrease 500
500 / 950
= 0.5263
• Assembly hours increase 200
200 / 466.67 = 0.4285
0.9548
The sensitivity report can still be used
Pricing New Variables
Suppose they are considering selling a new
product, Home Theater Systems (HTS)
Need to determine whether making HTS’s
would be sufficiently profitable
Producing HTS’s would take limited
resources away from other products
• To produce one HTS requires:
5 electrical components
4 nonelectrical components
4 hours of assembly time
• Can shadow prices be used to calculate
reduction in profit from other products?
(check 100% rule)
5/950 + 4/560 + 4/1325 = 0.015 < 1
Required Profit Contribution per HTS
elec cpnts
5 x $ 2 = $10
nonelec cpnts 4 x $ 0 = $ 0
assembly hrs 4 x $24 = $96
$106
Shadow
Prices

Making 1 HTS will reduce profit (from other
products) by $106
• Need (HTS profit contribution) > $106
• Cost to produce each HTS:
elec cpnts 5 x $ 7 = $35
nonelec cpnts
4 x $ 5 = $20
assembly hrs4 x $10 = $40
$95
(HTS profit contribution) = (selling price) - $95
So selling price must be at least $201
Is HTS Sufficiently Profitable?
• Marketing estimates that selling price
should not exceed $175
• Producing one HTS will cause profit to fall
by $26 ($201 - $175)
Go to file 4-3.xls
Sensitivity Analysis for
a Minimization Problem
Burn-Off makes a “miracle” diet drink
Decision: How much of each of 4
ingredients to use?
Objective: Minimize cost of ingredients
Data
Units of Chemical per Ounce of Ingredient
Ingredient

X

A
3

B
4

C
8

D
10

> 280 units

Y

5

3

6

6

> 200 units

Z

10

25

20

40

< 1050 units

Chemical

$ per ounce of ingredient
$0.40

$0.20

$0.60

$0.30

Requirement
Min 0.40A + 0.20B + 0.60C + 0.30D

($ of

cost)
Subject to the constraints

A+B+C+D

> 36 (min daily ounces)

3A + 4B + 8C + 10D

> 280 (chem x min)

5A + 3B + 6C + 6D

> 200 (chem y min)

10A + 25B + 20C + 40D < 280 (chem z max)
A, B, C, > 0
Go to file 4-5.xls

More Related Content

What's hot

Linear progarmming part 1
Linear progarmming   part 1Linear progarmming   part 1
Linear progarmming part 1
Divya K
 
Linear programming
Linear programmingLinear programming
Linear programming
google
 
09. amortized analysis
09. amortized analysis09. amortized analysis
09. amortized analysis
Onkar Nath Sharma
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
ajmalcs
 
Amortized
AmortizedAmortized
Amortized
8neutron8
 
Greedy method1
Greedy method1Greedy method1
Greedy method1
Rajendran
 
Algorithms - "quicksort"
Algorithms - "quicksort"Algorithms - "quicksort"
Algorithms - "quicksort"
Ra'Fat Al-Msie'deen
 
Chap4
Chap4Chap4
Chap4
Shu Shin
 
Algorithms - "heap sort"
Algorithms - "heap sort"Algorithms - "heap sort"
Algorithms - "heap sort"
Ra'Fat Al-Msie'deen
 
Greedy method
Greedy method Greedy method
Greedy method
Dr Shashikant Athawale
 
integral calculus and it’s uses in different fields.
 integral calculus and it’s uses in different fields. integral calculus and it’s uses in different fields.
integral calculus and it’s uses in different fields.
kamrul_Hasan
 
Production & Operation Management Chapter32[1]
Production & Operation Management Chapter32[1]Production & Operation Management Chapter32[1]
Production & Operation Management Chapter32[1]
Hariharan Ponnusamy
 
Operational Research
Operational ResearchOperational Research
Operational Research
BrendaGaytan6
 
Amortized complexity
Amortized complexityAmortized complexity
Amortized complexity
paramita30
 
Session 4
Session 4Session 4
Session 4
vivek_shaw
 
LONG RUN PRODUCTION FUNCTION
LONG RUN PRODUCTION FUNCTIONLONG RUN PRODUCTION FUNCTION
LONG RUN PRODUCTION FUNCTION
imran khan
 
Theory of Production
Theory of ProductionTheory of Production
Theory of Production
Sameer Kumar Sahoo
 

What's hot (17)

Linear progarmming part 1
Linear progarmming   part 1Linear progarmming   part 1
Linear progarmming part 1
 
Linear programming
Linear programmingLinear programming
Linear programming
 
09. amortized analysis
09. amortized analysis09. amortized analysis
09. amortized analysis
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
 
Amortized
AmortizedAmortized
Amortized
 
Greedy method1
Greedy method1Greedy method1
Greedy method1
 
Algorithms - "quicksort"
Algorithms - "quicksort"Algorithms - "quicksort"
Algorithms - "quicksort"
 
Chap4
Chap4Chap4
Chap4
 
Algorithms - "heap sort"
Algorithms - "heap sort"Algorithms - "heap sort"
Algorithms - "heap sort"
 
Greedy method
Greedy method Greedy method
Greedy method
 
integral calculus and it’s uses in different fields.
 integral calculus and it’s uses in different fields. integral calculus and it’s uses in different fields.
integral calculus and it’s uses in different fields.
 
Production & Operation Management Chapter32[1]
Production & Operation Management Chapter32[1]Production & Operation Management Chapter32[1]
Production & Operation Management Chapter32[1]
 
Operational Research
Operational ResearchOperational Research
Operational Research
 
Amortized complexity
Amortized complexityAmortized complexity
Amortized complexity
 
Session 4
Session 4Session 4
Session 4
 
LONG RUN PRODUCTION FUNCTION
LONG RUN PRODUCTION FUNCTIONLONG RUN PRODUCTION FUNCTION
LONG RUN PRODUCTION FUNCTION
 
Theory of Production
Theory of ProductionTheory of Production
Theory of Production
 

Similar to Chapter 4

Sensitivity analysis of LP chapter 4.ppt
Sensitivity analysis of LP chapter 4.pptSensitivity analysis of LP chapter 4.ppt
Sensitivity analysis of LP chapter 4.ppt
JagatShrestha4
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
bizuayehuadmasu1
 
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPTLINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
JayaPrakash167124
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
EbsaAbdi
 
Reference 1
Reference 1Reference 1
Reference 1
Nên Trần Ngọc
 
Lpp 2.1202.ppts
Lpp 2.1202.pptsLpp 2.1202.ppts
Lpp 2.1202.ppts
Karthik Yadav
 
POST OPTIMALITY ANALYSIS.doc
POST OPTIMALITY ANALYSIS.docPOST OPTIMALITY ANALYSIS.doc
POST OPTIMALITY ANALYSIS.doc
Abebaw Mamaru
 
Cost revenue analysis 1
Cost revenue analysis 1Cost revenue analysis 1
Cost revenue analysis 1
Janak Secktoo
 
Econ789 chapter009
Econ789 chapter009Econ789 chapter009
Econ789 chapter009
sakanor
 
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Muhammed Jiyad
 
Costs separation copy.ppt
Costs separation copy.pptCosts separation copy.ppt
Costs separation copy.ppt
ssuserc964b1
 
Principles_of_Managerial_Economics_-_Yahya_Alshehhi
Principles_of_Managerial_Economics_-_Yahya_AlshehhiPrinciples_of_Managerial_Economics_-_Yahya_Alshehhi
Principles_of_Managerial_Economics_-_Yahya_Alshehhi
Yahya Alshehhi
 
Industrial plant optimization in reduced dimensional spaces
Industrial plant optimization in reduced dimensional spacesIndustrial plant optimization in reduced dimensional spaces
Industrial plant optimization in reduced dimensional spaces
Capstone
 
Ch 04
Ch 04Ch 04
Ch 04
Sou Tibon
 
LPILP Models-1.ppt
LPILP Models-1.pptLPILP Models-1.ppt
LPILP Models-1.ppt
Utkarsh209524
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
DejeneDay
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
DejeneDay
 
CH1.ppt
CH1.pptCH1.ppt
CH1.ppt
FathiShokry
 
Linear programming 1
Linear programming 1Linear programming 1
Linear programming 1
Rezaul Karim
 
OR-I_Lecture_Note_01.pptx
OR-I_Lecture_Note_01.pptxOR-I_Lecture_Note_01.pptx
OR-I_Lecture_Note_01.pptx
ssuserf19f3e
 

Similar to Chapter 4 (20)

Sensitivity analysis of LP chapter 4.ppt
Sensitivity analysis of LP chapter 4.pptSensitivity analysis of LP chapter 4.ppt
Sensitivity analysis of LP chapter 4.ppt
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPTLINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
Reference 1
Reference 1Reference 1
Reference 1
 
Lpp 2.1202.ppts
Lpp 2.1202.pptsLpp 2.1202.ppts
Lpp 2.1202.ppts
 
POST OPTIMALITY ANALYSIS.doc
POST OPTIMALITY ANALYSIS.docPOST OPTIMALITY ANALYSIS.doc
POST OPTIMALITY ANALYSIS.doc
 
Cost revenue analysis 1
Cost revenue analysis 1Cost revenue analysis 1
Cost revenue analysis 1
 
Econ789 chapter009
Econ789 chapter009Econ789 chapter009
Econ789 chapter009
 
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
 
Costs separation copy.ppt
Costs separation copy.pptCosts separation copy.ppt
Costs separation copy.ppt
 
Principles_of_Managerial_Economics_-_Yahya_Alshehhi
Principles_of_Managerial_Economics_-_Yahya_AlshehhiPrinciples_of_Managerial_Economics_-_Yahya_Alshehhi
Principles_of_Managerial_Economics_-_Yahya_Alshehhi
 
Industrial plant optimization in reduced dimensional spaces
Industrial plant optimization in reduced dimensional spacesIndustrial plant optimization in reduced dimensional spaces
Industrial plant optimization in reduced dimensional spaces
 
Ch 04
Ch 04Ch 04
Ch 04
 
LPILP Models-1.ppt
LPILP Models-1.pptLPILP Models-1.ppt
LPILP Models-1.ppt
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
CH1.ppt
CH1.pptCH1.ppt
CH1.ppt
 
Linear programming 1
Linear programming 1Linear programming 1
Linear programming 1
 
OR-I_Lecture_Note_01.pptx
OR-I_Lecture_Note_01.pptxOR-I_Lecture_Note_01.pptx
OR-I_Lecture_Note_01.pptx
 

Recently uploaded

GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 

Recently uploaded (20)

GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 

Chapter 4

  • 1. Chapter 4: Linear Programming Sensitivity Analysis © 2007 Pearson Education
  • 2. What if there is uncertainly about one or more values in the LP model? Sensitivity analysis allows us to determine how “sensitive” the optimal solution is to changes in data values. This includes analyzing changes in: 1. An Objective Function Coefficient (OFC) 2. A Right Hand Side (RHS) value of a constraint
  • 3. Graphical Sensitivity Analysis We can use the graph of an LP to see what happens when: 1. An OFC changes, or 2. A RHS changes Recall the Flair Furniture problem
  • 4. Flair Furniture Problem Max 7T + 5C (profit) Subject to the constraints: 3T + 4C < 2400 (carpentry hrs) 2T + 1C < 1000 (painting hrs) C < 450 T (max # chairs) > 100 (min # tables) T, C > 0 (nonnegativity)
  • 5. Objective Function Coefficient (OFC) Changes What if the profit contribution for tables changed from $7 to $8 per table? 8 Max X T + 5 C 7 (profit) Clearly profit goes up, but would we want to make more tables and less chairs? (i.e. Does the optimal solution change?)
  • 6. Characteristics of OFC Changes • There is no effect on the feasible region • The slope of the level profit line changes • If the slope changes enough, a different corner point will become optimal
  • 7. C Original Objective Function 7T + 5 C = $4040 Revised Objective Function 8T + 5 C = $4360 Optimal Corner (T=320, C=360) Still optimal 500 400 300 200 Feasible Region 100 0 0 100 200 300 400 500 T
  • 8. What if the OFC became higher? Or lower? 11T + 5C = $5500 Optimal Solution (T=500, C=0) C 1000 Both have new optimal corner points 600 450 3T + 5C = $2850 Optimal Solution (T=200, C=450) Feasible Region 0 0 100 500 800 T
  • 9. • There is a range for each OFC where the current optimal corner point remains optimal. • If the OFC changes beyond that range a new corner point becomes optimal. • Excel’s Solver will calculate the OFC range.
  • 10. Right Hand Side (RHS) Changes What if painting hours available changed from 1000 to 1300? X 2T + 1C < 1000 1300 (painting hrs) This increase in resources could allow us to increase production and profit.
  • 11. Characteristics of RHS Changes • The constraint line shifts, which could change the feasible region • Slope of constraint line does not change • Corner point locations can change • The optimal solution can change
  • 12. Old optimal corner point (T=320,C=360) Profit=$4040 C 500 Feasible region becomes larger 400 New optimal corner point (T=560,C=180) Profit=$4820 300 100 200 300 400 500 300 =1 0 00 Region 0 1C =1 Feasible 0 + 2T 100 1C Original + 2T 200 600 T
  • 13. Effect on Objective Function Value New profit Old profit Profit increase = $4,820 = $4,040 = $780 from 300 additional painting hours $2.60 in profit per hour of painting • Each additional hour will increase profit by $2.60 • Each hour lost will decrease profit by $2.60
  • 14. Shadow Price The change is the objective function value per one-unit increase in the RHS of the constraint. Will painting hours be worth $2.60 per hour regardless of many hours are available ?
  • 15. Range of Shadow Price Validity Beyond some RHS range the value of each painting hour will change. While the RHS stays within this range, the shadow price does not change. Excel will calculate this range as well as the shadow price.
  • 16. Solver’s Sensitivity Report When Excel Solver is used to find an optimal solution, the option of generating the “Sensitivity Report” is available. Go to file 4-1.xls
  • 17. Constraint RHS Changes If the change in the RHS value is within the allowable range, then: • The shadow price does not change • The change in objective function value = (shadow price) x (RHS change) If the RHS change goes beyond the allowable range, then the shadow price will change.
  • 18. Objective Function Coefficient (OFC) Changes If the change in OFC is within the allowable range, then: • The optimal solution does not change • The new objective function value can be calculated
  • 19. Anderson Electronics Example Decision: How many of each of 4 products to make? Objective: Maximize profit Decision Variables: V = number of VCR’s S = number of stereos T = number of TV’s D = number of DVD players
  • 20. Max 29V + 32S + 72T + 54D (in $ of profit) Subject to the constraints: 3V + 4S + 4T + 3D < 4700 2V + 2S + 4T + 3D < 4500 V + S + 3T + 2D < 2500 V, S, T, D > 0 Go to file 4-2.xls (elec. components) (nonelec. components) (assembly hours) (nonnegativity)
  • 21. RHS Change Questions • What if the supply of nonelectrical components changes? • What happens if the supply of electrical components – increased by 400 (to 5100)? – increased by 4000 (to 8700)?
  • 22. • What if we could buy an additional 400 elec. components for $1 more than usual? Would we want to buy them? • What if would could get an additional 250 hours of assembly time by paying $5 per hour more than usual? Would this be profitable?
  • 23. Decision Variables That Equal 0 We are not currently making any VCR’s (V=0) because they are not profitable enough. How much would profit need to increase before we would want to begin making VCR’s?
  • 24. Reduced Cost of a Decision Variable (marginal contribution to the obj. func. value) - (marginal value of resources used) = Reduced Cost marginal profit of a VCR = $29 - marginal value of resources = ? Reduced Cost of a VCR = - $1.0
  • 25. Reduced Cost is: • The minimum amount by which the OFC of a variable should change to cause that variable to become non-zero. • The amount by which the objective function value would change if the variable were forced to change from 0 to 1.
  • 26. OFC Change Questions • For what range of profit contributions for DVD players will the current solution remain optimal? • What happens to profit if this value drops to $50 per DVD player?
  • 27. Alternate Optimal Solutions May be present when there are 0’s in the Allowable Increase or Allowable Decrease values for OFC values.
  • 28. Simultaneous Changes All changes discussed up to this point have involved only 1 change at a time. What if several OFC’s change? Or What if several RHS’s change? Note: they cannot be mixed
  • 29. The 100% Rule ∑ (change / allowable change) < 1 RHS Example • Electrical components decrease 500 500 / 950 = 0.5263 • Assembly hours increase 200 200 / 466.67 = 0.4285 0.9548 The sensitivity report can still be used
  • 30. Pricing New Variables Suppose they are considering selling a new product, Home Theater Systems (HTS) Need to determine whether making HTS’s would be sufficiently profitable Producing HTS’s would take limited resources away from other products
  • 31. • To produce one HTS requires: 5 electrical components 4 nonelectrical components 4 hours of assembly time • Can shadow prices be used to calculate reduction in profit from other products? (check 100% rule) 5/950 + 4/560 + 4/1325 = 0.015 < 1
  • 32. Required Profit Contribution per HTS elec cpnts 5 x $ 2 = $10 nonelec cpnts 4 x $ 0 = $ 0 assembly hrs 4 x $24 = $96 $106 Shadow Prices Making 1 HTS will reduce profit (from other products) by $106
  • 33. • Need (HTS profit contribution) > $106 • Cost to produce each HTS: elec cpnts 5 x $ 7 = $35 nonelec cpnts 4 x $ 5 = $20 assembly hrs4 x $10 = $40 $95 (HTS profit contribution) = (selling price) - $95 So selling price must be at least $201
  • 34. Is HTS Sufficiently Profitable? • Marketing estimates that selling price should not exceed $175 • Producing one HTS will cause profit to fall by $26 ($201 - $175) Go to file 4-3.xls
  • 35. Sensitivity Analysis for a Minimization Problem Burn-Off makes a “miracle” diet drink Decision: How much of each of 4 ingredients to use? Objective: Minimize cost of ingredients
  • 36. Data Units of Chemical per Ounce of Ingredient Ingredient X A 3 B 4 C 8 D 10 > 280 units Y 5 3 6 6 > 200 units Z 10 25 20 40 < 1050 units Chemical $ per ounce of ingredient $0.40 $0.20 $0.60 $0.30 Requirement
  • 37. Min 0.40A + 0.20B + 0.60C + 0.30D ($ of cost) Subject to the constraints A+B+C+D > 36 (min daily ounces) 3A + 4B + 8C + 10D > 280 (chem x min) 5A + 3B + 6C + 6D > 200 (chem y min) 10A + 25B + 20C + 40D < 280 (chem z max) A, B, C, > 0 Go to file 4-5.xls