SlideShare a Scribd company logo
1 of 56
The Newspaper Seller
Modeling and Simulation
1
The Newspaper Seller’s Problem :
• A classical inventory problem concerns the purchase
and sale of newspapers.
• The paper seller buys the papers for 33 cents each and
sells them for 50 cents each. Newspapers not sold at the
end of the day are sold as scrap for 5 cents each.
• Newspapers can be purchased in bundles of 10. Thus,
the paper seller can buy 10, 20, … ,60 , … and so on.
The Newspaper Seller
Modeling and Simulation 2
The Newspaper Seller’s Problem :
• There are three types of newsdays, “good,” “fair,” and
“poor,” with probabilities of 0.35, 0.45, and 0.20,
respectively.
• The problem is to determine the optimal number of
papers the newspaper seller should purchase.
Random-Digit Assignment for Type of Newsday
The Newspaper Seller
©AhmedHagag
Modelin
g and
Simulati
on
3
Random-Digit Assignment for Type of Newsday
The Newspaper Seller
©AhmedHagag
Modelin
g and
Simulati
on
4
Random-Digit Assignment for Type of Newsday
Distribution of Newspapers Demanded
The Newspaper Seller
Modeling and Simulation
5
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
6
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag 7
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
8
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
9
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
10
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
11
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
12
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
13
The Newspaper Seller
Modeling and Simulation 14
Random-Digit Assignments for Newspapers Demanded
The Newspaper Seller
Modeling and Simulation 15
Random-Digit Assignments for Newspapers Demanded
The Newspaper Seller
Random-Digit Assignments for Newspapers Demanded
©AhmedHagag
Modelin
g and
Simulati
on
16
The Newspaper Seller
Modeling and Simulation 17
• The profits are given by the following relationship:
• This will be accomplished by simulating demands for
20 days and recording profits from sales each day. The
policy (number of newspapers purchased) is changed to
other values and the simulation repeated until the best
value is found.
Simulation Table (70 newspapers, 20 days)
The Newspaper Seller
18
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (in the question)
The Newspaper Seller
©AhmedHagag
Modelin
g and
Simulati
on
19
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation 20
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation
21
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation
22
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation
23
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation
24
Have Demand Lost Profit
70 90 20*(17 cents)
The paper seller buys the papers for 33
cents each and sells them for 50 cents each.
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation
25
Simulation Table (in the question)
The Newspaper Seller
Modeling and Simulation 26
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
27
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 28
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 29
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and
Simulation
30
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
31
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
32
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
33
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
34
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
35
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
36
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
37
Cost of daily newspapers
= 70*0.33 = $23.10
60*(50 cents) = $30.00
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
38
Cost of daily newspapers
= 70*0.33 = $23.10
10*(5 cents) = $0.50
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
39
Cost of daily newspapers
= 70*0.33 = $23.10
Profit Day#1
= 30.00 − 23.10 − 0 + 0.50
= $7.40
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
40
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
41
Cost of daily newspapers
= 70*0.33 = $23.10
50*(50 cents) = $25.00
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
42
Cost of daily newspapers
= 70*0.33 = $23.10
20*(5 cents) = $1.00
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 43
Cost of daily newspapers
= 70*0.33 = $23.10
Profit Day#2
= 25.00 − 23.10 − 0 + 1.00
= $2.90
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
44
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 45
Cost of daily newspapers
= 70*0.33 = $23.10
70*(50 cents) = $35.00
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 46
Cost of daily newspapers
= 70*0.33 = $23.10
Profit Day#4
= 35.00 − 23.10 − 0 + 0
= $11.90
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 47
Cost of daily newspapers
= 70*0.33 = $23.10
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
48
Cost of daily newspapers
= 70*0.33 = $23.10
70*(50 cents) = $35.00
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation
49
Cost of daily newspapers
= 70*0.33 = $23.10
20*(17 cents) = $3.40
Simulation Table (70 newspapers, 5 days)
The Newspaper Seller
Modeling and Simulation 50
Cost of daily newspapers
= 70*0.33 = $23.10
Profit Day#5
= 35.00 − 23.10 − 3.40 + 0
= $8.50
Profit (1/5):
The Newspaper Seller
Modeling and Simulation 51
On day 1 the demand is for 60 newspapers. The revenue from the
sale of 60 newspapers is $30.00. Ten newspapers are left over at the
end of the day. The salvage value at 5 cents each is 50 cents.
Cost of daily newspapers
= 70*0.33 = $23.10
Profit (2/5):
The Newspaper Seller
Modeling and Simulation 52
On day 1 the demand is for 60 newspapers. The revenue from the
sale of 60 newspapers is $30.00. Ten newspapers are left over at the
end of the day. The salvage value at 5 cents each is 50 cents. The
profit for the first day is determined as follows:
𝐏𝐫𝐨𝐟𝐢𝐭 𝐃𝐚𝐲#𝟏 = 𝟑𝟎. 𝟎𝟎 − 𝟐𝟑. 𝟏𝟎 − 𝟎 + 𝟎.𝟓𝟎 = $𝟕.𝟒𝟎
Cost of daily newspapers
= 70*0.33 = $23.10
Profit (3/5):
The Newspaper Seller
Modeling and Simulation
53
On the fifth day the demand is greater than the supply. The revenue
from sales is $35.00, since only 70 papers are available under this
policy. An additional 20 papers could have been sold. Thus, a lost
profit of $3.40 (20 × 17 cents) is assessed.
Cost of daily newspapers
= 70*0.33 = $23.10
Profit (4/5):
The Newspaper Seller
Modeling and Simulation 54
On the fifth day the demand is greater than the supply. The revenue
from sales is $35.00, since only 70 papers are available under this
policy. An additional 20 papers could have been sold. Thus, a lost
profit of $3.40 (20 × 17 cents) is assessed.
Profit Day#5 = 35.00 − 23.10 − 3.40 + 0 = $8.50
Cost of daily newspapers
= 70*0.33 = $23.10
Profit (5/5):
The Newspaper Seller
Modeling and Simulation
55
The profit for the 20-day period is the sum of the daily profits,
$174.90. It can also be computed from the totals for the 20 days of
the simulation as follows:
Total profit = $645.00 − $462.00 − $13.60 + $5.50
= $174.90
Cost of 20 days newspapers
= 70*0.33*20 = $462
To Do
Modeling and Simulation
56
You can do the following, and not only:
1. Repeat the simulations many times and take the average of the
total profits.
2. Change the number of purchased Newspapers, then repeat the
simulation.
3. Draw a graph to show the relation between the number of
purchased Newspapers and the total profits.
4. …

More Related Content

What's hot

ITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programmingITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programming
Fransiska Puteri
 
05 perhitungan waktu kerja dan istirahat kegiatan mencangkul
05 perhitungan waktu kerja dan istirahat kegiatan mencangkul05 perhitungan waktu kerja dan istirahat kegiatan mencangkul
05 perhitungan waktu kerja dan istirahat kegiatan mencangkul
Julita Anggrek
 
Pemodelan model optimasi
Pemodelan model optimasiPemodelan model optimasi
Pemodelan model optimasi
Chan Rizky
 

What's hot (20)

Methods Enigeering
Methods EnigeeringMethods Enigeering
Methods Enigeering
 
ITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programmingITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programming
 
Manper03 failure
Manper03 failureManper03 failure
Manper03 failure
 
BAB 5. Distribusi Normal dan Distribusi Sampling
BAB 5. Distribusi Normal dan Distribusi SamplingBAB 5. Distribusi Normal dan Distribusi Sampling
BAB 5. Distribusi Normal dan Distribusi Sampling
 
Operations Scheduling
Operations SchedulingOperations Scheduling
Operations Scheduling
 
Laporan modul 4 Line Balancing
Laporan modul 4 Line BalancingLaporan modul 4 Line Balancing
Laporan modul 4 Line Balancing
 
QCO (Quick Change Over)
QCO (Quick Change Over)QCO (Quick Change Over)
QCO (Quick Change Over)
 
4. pengukuran waktu baku
4. pengukuran waktu baku4. pengukuran waktu baku
4. pengukuran waktu baku
 
05 perhitungan waktu kerja dan istirahat kegiatan mencangkul
05 perhitungan waktu kerja dan istirahat kegiatan mencangkul05 perhitungan waktu kerja dan istirahat kegiatan mencangkul
05 perhitungan waktu kerja dan istirahat kegiatan mencangkul
 
Pengendalian proses statistik.
Pengendalian proses statistik.Pengendalian proses statistik.
Pengendalian proses statistik.
 
Modul 02 Prinsip Dasar Sistem
Modul 02 Prinsip Dasar SistemModul 02 Prinsip Dasar Sistem
Modul 02 Prinsip Dasar Sistem
 
Operations research lecture 5
Operations research lecture 5Operations research lecture 5
Operations research lecture 5
 
PRODUCTION PLANNING AND CONTROL
PRODUCTION PLANNING AND CONTROL PRODUCTION PLANNING AND CONTROL
PRODUCTION PLANNING AND CONTROL
 
Discrete Event Simulation System
Discrete Event Simulation SystemDiscrete Event Simulation System
Discrete Event Simulation System
 
Penjadwalan Produksi Induk
Penjadwalan Produksi IndukPenjadwalan Produksi Induk
Penjadwalan Produksi Induk
 
Pengukuran waktu kerja tidak langsung
Pengukuran waktu kerja tidak langsungPengukuran waktu kerja tidak langsung
Pengukuran waktu kerja tidak langsung
 
Pemodelan model optimasi
Pemodelan model optimasiPemodelan model optimasi
Pemodelan model optimasi
 
Teori antrian
Teori antrianTeori antrian
Teori antrian
 
7.distribusi binomial
7.distribusi binomial7.distribusi binomial
7.distribusi binomial
 
TUTORIAL ARTCAM CNC ROUTER
TUTORIAL ARTCAM CNC ROUTERTUTORIAL ARTCAM CNC ROUTER
TUTORIAL ARTCAM CNC ROUTER
 

More from MaiGaafar

Modeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptxModeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptx
MaiGaafar
 
Introduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxIntroduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptx
MaiGaafar
 
Modeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptxModeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptx
MaiGaafar
 
strategic-planning_chp (1).pptx
strategic-planning_chp (1).pptxstrategic-planning_chp (1).pptx
strategic-planning_chp (1).pptx
MaiGaafar
 
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
MaiGaafar
 
HU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptxHU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptx
MaiGaafar
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptx
MaiGaafar
 
HU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptxHU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptx
MaiGaafar
 
BU_FCAI_SCC430_Modeling&Simulation_Ch03.pdf
BU_FCAI_SCC430_Modeling&Simulation_Ch03.pdfBU_FCAI_SCC430_Modeling&Simulation_Ch03.pdf
BU_FCAI_SCC430_Modeling&Simulation_Ch03.pdf
MaiGaafar
 
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
MaiGaafar
 

More from MaiGaafar (12)

Modeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptxModeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptx
 
Lecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptLecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.ppt
 
Introduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxIntroduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptx
 
Modeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptxModeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptx
 
strategic-planning_chp (1).pptx
strategic-planning_chp (1).pptxstrategic-planning_chp (1).pptx
strategic-planning_chp (1).pptx
 
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
 
HU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptxHU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptx
 
sm-161216124538.pptx
sm-161216124538.pptxsm-161216124538.pptx
sm-161216124538.pptx
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptx
 
HU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptxHU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptx
 
BU_FCAI_SCC430_Modeling&Simulation_Ch03.pdf
BU_FCAI_SCC430_Modeling&Simulation_Ch03.pdfBU_FCAI_SCC430_Modeling&Simulation_Ch03.pdf
BU_FCAI_SCC430_Modeling&Simulation_Ch03.pdf
 
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
 

Recently uploaded

Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 

Recently uploaded (20)

8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 

Modeling&Simulation_Ch04 (1). part 2pptx.pptx

  • 1. The Newspaper Seller Modeling and Simulation 1 The Newspaper Seller’s Problem : • A classical inventory problem concerns the purchase and sale of newspapers. • The paper seller buys the papers for 33 cents each and sells them for 50 cents each. Newspapers not sold at the end of the day are sold as scrap for 5 cents each. • Newspapers can be purchased in bundles of 10. Thus, the paper seller can buy 10, 20, … ,60 , … and so on.
  • 2. The Newspaper Seller Modeling and Simulation 2 The Newspaper Seller’s Problem : • There are three types of newsdays, “good,” “fair,” and “poor,” with probabilities of 0.35, 0.45, and 0.20, respectively. • The problem is to determine the optimal number of papers the newspaper seller should purchase.
  • 3. Random-Digit Assignment for Type of Newsday The Newspaper Seller ©AhmedHagag Modelin g and Simulati on 3
  • 4. Random-Digit Assignment for Type of Newsday The Newspaper Seller ©AhmedHagag Modelin g and Simulati on 4
  • 5. Random-Digit Assignment for Type of Newsday Distribution of Newspapers Demanded The Newspaper Seller Modeling and Simulation 5
  • 6. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 6
  • 7. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag 7
  • 8. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 8
  • 9. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 9
  • 10. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 10
  • 11. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 11
  • 12. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 12
  • 13. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 13
  • 14. The Newspaper Seller Modeling and Simulation 14 Random-Digit Assignments for Newspapers Demanded
  • 15. The Newspaper Seller Modeling and Simulation 15 Random-Digit Assignments for Newspapers Demanded
  • 16. The Newspaper Seller Random-Digit Assignments for Newspapers Demanded ©AhmedHagag Modelin g and Simulati on 16
  • 17. The Newspaper Seller Modeling and Simulation 17 • The profits are given by the following relationship: • This will be accomplished by simulating demands for 20 days and recording profits from sales each day. The policy (number of newspapers purchased) is changed to other values and the simulation repeated until the best value is found.
  • 18. Simulation Table (70 newspapers, 20 days) The Newspaper Seller 18 Cost of daily newspapers = 70*0.33 = $23.10
  • 19. Simulation Table (in the question) The Newspaper Seller ©AhmedHagag Modelin g and Simulati on 19
  • 20. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 20
  • 21. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 21
  • 22. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 22
  • 23. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 23
  • 24. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 24 Have Demand Lost Profit 70 90 20*(17 cents) The paper seller buys the papers for 33 cents each and sells them for 50 cents each.
  • 25. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 25
  • 26. Simulation Table (in the question) The Newspaper Seller Modeling and Simulation 26
  • 27. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 27 Cost of daily newspapers = 70*0.33 = $23.10
  • 28. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 28 Cost of daily newspapers = 70*0.33 = $23.10
  • 29. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 29 Cost of daily newspapers = 70*0.33 = $23.10
  • 30. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 30 Cost of daily newspapers = 70*0.33 = $23.10
  • 31. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 31 Cost of daily newspapers = 70*0.33 = $23.10
  • 32. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 32 Cost of daily newspapers = 70*0.33 = $23.10
  • 33. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 33 Cost of daily newspapers = 70*0.33 = $23.10
  • 34. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 34 Cost of daily newspapers = 70*0.33 = $23.10
  • 35. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 35 Cost of daily newspapers = 70*0.33 = $23.10
  • 36. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 36 Cost of daily newspapers = 70*0.33 = $23.10
  • 37. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 37 Cost of daily newspapers = 70*0.33 = $23.10 60*(50 cents) = $30.00
  • 38. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 38 Cost of daily newspapers = 70*0.33 = $23.10 10*(5 cents) = $0.50
  • 39. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 39 Cost of daily newspapers = 70*0.33 = $23.10 Profit Day#1 = 30.00 − 23.10 − 0 + 0.50 = $7.40
  • 40. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 40 Cost of daily newspapers = 70*0.33 = $23.10
  • 41. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 41 Cost of daily newspapers = 70*0.33 = $23.10 50*(50 cents) = $25.00
  • 42. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 42 Cost of daily newspapers = 70*0.33 = $23.10 20*(5 cents) = $1.00
  • 43. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 43 Cost of daily newspapers = 70*0.33 = $23.10 Profit Day#2 = 25.00 − 23.10 − 0 + 1.00 = $2.90
  • 44. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 44 Cost of daily newspapers = 70*0.33 = $23.10
  • 45. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 45 Cost of daily newspapers = 70*0.33 = $23.10 70*(50 cents) = $35.00
  • 46. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 46 Cost of daily newspapers = 70*0.33 = $23.10 Profit Day#4 = 35.00 − 23.10 − 0 + 0 = $11.90
  • 47. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 47 Cost of daily newspapers = 70*0.33 = $23.10
  • 48. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 48 Cost of daily newspapers = 70*0.33 = $23.10 70*(50 cents) = $35.00
  • 49. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 49 Cost of daily newspapers = 70*0.33 = $23.10 20*(17 cents) = $3.40
  • 50. Simulation Table (70 newspapers, 5 days) The Newspaper Seller Modeling and Simulation 50 Cost of daily newspapers = 70*0.33 = $23.10 Profit Day#5 = 35.00 − 23.10 − 3.40 + 0 = $8.50
  • 51. Profit (1/5): The Newspaper Seller Modeling and Simulation 51 On day 1 the demand is for 60 newspapers. The revenue from the sale of 60 newspapers is $30.00. Ten newspapers are left over at the end of the day. The salvage value at 5 cents each is 50 cents. Cost of daily newspapers = 70*0.33 = $23.10
  • 52. Profit (2/5): The Newspaper Seller Modeling and Simulation 52 On day 1 the demand is for 60 newspapers. The revenue from the sale of 60 newspapers is $30.00. Ten newspapers are left over at the end of the day. The salvage value at 5 cents each is 50 cents. The profit for the first day is determined as follows: 𝐏𝐫𝐨𝐟𝐢𝐭 𝐃𝐚𝐲#𝟏 = 𝟑𝟎. 𝟎𝟎 − 𝟐𝟑. 𝟏𝟎 − 𝟎 + 𝟎.𝟓𝟎 = $𝟕.𝟒𝟎 Cost of daily newspapers = 70*0.33 = $23.10
  • 53. Profit (3/5): The Newspaper Seller Modeling and Simulation 53 On the fifth day the demand is greater than the supply. The revenue from sales is $35.00, since only 70 papers are available under this policy. An additional 20 papers could have been sold. Thus, a lost profit of $3.40 (20 × 17 cents) is assessed. Cost of daily newspapers = 70*0.33 = $23.10
  • 54. Profit (4/5): The Newspaper Seller Modeling and Simulation 54 On the fifth day the demand is greater than the supply. The revenue from sales is $35.00, since only 70 papers are available under this policy. An additional 20 papers could have been sold. Thus, a lost profit of $3.40 (20 × 17 cents) is assessed. Profit Day#5 = 35.00 − 23.10 − 3.40 + 0 = $8.50 Cost of daily newspapers = 70*0.33 = $23.10
  • 55. Profit (5/5): The Newspaper Seller Modeling and Simulation 55 The profit for the 20-day period is the sum of the daily profits, $174.90. It can also be computed from the totals for the 20 days of the simulation as follows: Total profit = $645.00 − $462.00 − $13.60 + $5.50 = $174.90 Cost of 20 days newspapers = 70*0.33*20 = $462
  • 56. To Do Modeling and Simulation 56 You can do the following, and not only: 1. Repeat the simulations many times and take the average of the total profits. 2. Change the number of purchased Newspapers, then repeat the simulation. 3. Draw a graph to show the relation between the number of purchased Newspapers and the total profits. 4. …