SlideShare a Scribd company logo
1 of 31
Supply Optimization At Instacart
Jagannath Putrevu
SF Bay Area Machine Learning Meetup
5/3/2017
v
Supply Forecasting - McDonald’s
Single Server Queue
Service Time: 5 min/order
Orders per hour: 12
24 orders per hour
60 orders per hour
.
.
2 servers per hour
5 servers per hour
.
.
Demand Supply
v
Supply Forecasting - Chipotle?
Multi Server Queue
Variable Service Speeds Per Server
Demand Supply
24 orders per hour
60 order per hour
.
.
?
?
.
.
v
Supply Forecasting - Instacart?
What the talk will cover:
● Logistics @ Instacart
● Fulfillment Models
● Problem Formulation
● Simulation Based Optimization Framework
What it will not cover:
● Technology stack
● Algorithm details
● Results & Comparisons
v
Delivery Logistics
Customers Place
Orders
Orders Get
Shopped For
Orders Get
Delivered
v
Fulfillment Models
Due
#2 Ordered
Due#1 Ordered
Due#3 Ordered
Handoff
Model
Shopping Times Delivery Times
#1
#2 #3
#1 #3 #2
In-Store Shopper 1
In-Store Shopper 2
Driver 1
Handoff
Pickup
Bags
v
Handoff Model - Staging Area
v
Fulfillment Models
Full Service
Model
Shopping Times Delivery Times
Due
#2 Ordered
Due#1 Ordered
Due#3 Ordered
Full Service Shopper 1 #3 #2#1#1 #2 #3
Store With Personal Shoppers
Full Service Shopper
Customer
Store With Personal Shoppers
Full Service Shopper
Customer
v
What is Efficiency?
Efficiency =
Deliveries
Total Time
Deliveries
Active Time
Active Time
Total Time
= X
Active Efficiency= X Utilization
How fast? How busy?
v
Time Components In Labor Hours
Begin Shift End Shift
Deliver to Customer
Wait for Batch
Drive to Store Shop Groceries
Pickup Bags from Store
v
Time Components In Labor Hours
Deliver to Customer
Wait for Batch
Drive to Store Shop Groceries
Pickup Bags from Store
End ShiftBegin Shift
In-store Shopper
v
Time Components In Labor Hours
Deliver to Customer
Wait for Batch
Drive to Store Shop Groceries
Pickup Bags from Store
Full Service
Begin Shift
FullServiceShopper
FullService
FullService
End Shift
v
Time Components In Labor Hours
Deliver to Customer
Wait for Batch
Drive to Store Shop Groceries
Pickup Bags from Store
Driver
DriverDriverBegin Shift
Driver
End Shift
v
Time Components And Factors Affecting Them
Idle Time: Supply/Demand equilibrium, Variance in Cancellations
How busy?
How fast?
Driving Time: Batching (Number of Orders Per Trip), Proximity To Store, Traffic
Picking Time: Speed of Shopper, Shopping List Sorting, Checkout Times
Bags Pickup Time: Staging Area Layout, Number of Bags being picked up
Delivery Time: Traffic, Order Time/Space Density, Routing Algorithm Efficiency
v
Supply/Demand Equilibrium
Idle Time
Lost Deliveries
v
Problem Statement
● For a given day, how do we staff :
○ In-store shoppers (ISS) at each store location,
○ Full Service shoppers (FSS) across the entire zone,
● so as to:
○ maximize active efficiency,
○ minimize idleness,
○ minimize lost deliveries
v
Final goal?
8 AM 9 AM 10 AM 11 AM 12 PM 1 PM 2 PM 3 PM 4 PM 5 PM 6 PM 7 PM 8 PM
Whole Foods
Soma
2 3 4 5 6 6 6 5 5 5 4 3 2
Whole Foods
Castro
? ? ? ? ? ? ? ? ? ? ? ? ?
Costco ? ? ? ? ? ? ? ? ? ? ? ? ?
Safeway ? ? ? ? ? ? ? ? ? ? ? ? ?
Full Service 20 30 40 50 60 60 60 50 50 50 40 30 20
v
Decision Factors
Handoff Model Full Service Model
Speed
Location
Overhead
Task Handling
v
Everything Has Variance
● Demand
● Space-Time Density
● Traffic
● Weather
● Shopper Abilities
● Cancellations
v
Cost Functions
Desired Actual
Idleness Cost
Lost Deliveries Cost
Lost Efficiency Cost
v
System
Outputs
Number of Shoppers Required
Percentage of Volume Done Through
Handoff
Estimated Efficiency & Utilization
Inputs
Demand
(variable)
Store Locations
(fixed)
Shopper Pool
(variable)
Fulfillment Times
(predicted, variable)
Cancellation Probability
(predicted)
Handoff vs Full-Service
Idleness vs Efficiency vs Lost
Deliveries
Store Timings Shift Length Requirements Business rules
Constraints
v
Simulate An Ideal Universe
Assume infinite Supply, solve the fulfillment problem, and generate optimal set of trips
v
Staff For An Ideal Universe
● When do all the trips begin and end in the optimal solution?
● Back-calculate how many shoppers we need and at what times we need them
v
Results From One Universe
v
Aggregate Results From All Simulations
v
Final ‘Optimal’ Set of Staffing Levels
v
Losses In One Universe
1
1
1
2
2
2
1
2
Idleness Cost
Lost Efficiency Cost
(and/or)
Lost Deliveries Cost
x_8
x_9
x_10
x_11
x_12
x_13
x_14
x_15
x_16
x_17
x_18
x_19
x_20
v
Minimize Losses Across All Universes
Min. ∑ (Idleness Cost + Lost Efficiency Cost + Lost Deliveries Cost)
v
Final Output
8 AM 9 AM 10 AM 11 AM 12 PM 1 PM 2 PM 3 PM 4 PM 5 PM 6 PM 7 PM 8 PM
Whole Foods
Soma
12 12 16 16 14 14 12 12 10 10 8 6 4
Whole Foods
Castro
5 5 5 5 4 4 4 3 3 3 3 2 0
Costco 0 0 10 10 10 8 8 8 6 6 6 0 0
Safeway 2 3 4 5 6 6 6 5 5 5 4 3 2
Full Service 20 60 100 120 150 180 180 180 150 150 80 50 30

More Related Content

What's hot

Go4Grocery - Startup Pitch
Go4Grocery - Startup PitchGo4Grocery - Startup Pitch
Go4Grocery - Startup PitchFahad Ramzan
 
Using Technology to Solve Last Mile Delivery Challenges
Using Technology to Solve Last Mile Delivery ChallengesUsing Technology to Solve Last Mile Delivery Challenges
Using Technology to Solve Last Mile Delivery ChallengesLaura Olson
 
Order Management System
Order Management SystemOrder Management System
Order Management SystemBrilliant21
 
How does instacart work? Slide Share
How does instacart work? Slide Share How does instacart work? Slide Share
How does instacart work? Slide Share Growcer
 
An analysis of e grocery
An analysis of e groceryAn analysis of e grocery
An analysis of e groceryKen Leaver
 
Warehouse Control System vs. Warehouse Management System
Warehouse Control System vs. Warehouse Management SystemWarehouse Control System vs. Warehouse Management System
Warehouse Control System vs. Warehouse Management SystemAL Systems
 
ML @ Instacart: Improving the quality of On-demand Grocery
ML @ Instacart: Improving the quality of On-demand GroceryML @ Instacart: Improving the quality of On-demand Grocery
ML @ Instacart: Improving the quality of On-demand GrocerySharath Rao
 
Pitch deck freshmart
Pitch deck  freshmartPitch deck  freshmart
Pitch deck freshmartÖmer Krakiry
 
Warehouse and Logistics Sessions 1 - 2 (Day 1)
Warehouse and Logistics Sessions 1 - 2 (Day 1)Warehouse and Logistics Sessions 1 - 2 (Day 1)
Warehouse and Logistics Sessions 1 - 2 (Day 1)Abdullah AlGhamdi (CSCP)
 
Grocer-E ( Online grocery e-commerce app)
Grocer-E ( Online grocery e-commerce app)Grocer-E ( Online grocery e-commerce app)
Grocer-E ( Online grocery e-commerce app)Ashish Mehta
 
Transport Management System
Transport Management SystemTransport Management System
Transport Management SystemWebXpress.IN
 
Online Grocery Store
Online Grocery StoreOnline Grocery Store
Online Grocery StoreHira Saeed
 
best buy case study sample presentation
 best buy case study sample presentation best buy case study sample presentation
best buy case study sample presentationiWriteEssays
 
Warehouse Management System
Warehouse Management SystemWarehouse Management System
Warehouse Management SystemWebXpress.IN
 
E-Supply Chain Management
E-Supply Chain ManagementE-Supply Chain Management
E-Supply Chain ManagementMohamed Aamer
 
Deliverus Online Supermarkets Pitchdeck
Deliverus Online Supermarkets PitchdeckDeliverus Online Supermarkets Pitchdeck
Deliverus Online Supermarkets PitchdeckCyril Michino
 

What's hot (20)

Go4Grocery - Startup Pitch
Go4Grocery - Startup PitchGo4Grocery - Startup Pitch
Go4Grocery - Startup Pitch
 
Using Technology to Solve Last Mile Delivery Challenges
Using Technology to Solve Last Mile Delivery ChallengesUsing Technology to Solve Last Mile Delivery Challenges
Using Technology to Solve Last Mile Delivery Challenges
 
Postmates
PostmatesPostmates
Postmates
 
Order Management System
Order Management SystemOrder Management System
Order Management System
 
How does instacart work? Slide Share
How does instacart work? Slide Share How does instacart work? Slide Share
How does instacart work? Slide Share
 
An analysis of e grocery
An analysis of e groceryAn analysis of e grocery
An analysis of e grocery
 
Warehouse Control System vs. Warehouse Management System
Warehouse Control System vs. Warehouse Management SystemWarehouse Control System vs. Warehouse Management System
Warehouse Control System vs. Warehouse Management System
 
ML @ Instacart: Improving the quality of On-demand Grocery
ML @ Instacart: Improving the quality of On-demand GroceryML @ Instacart: Improving the quality of On-demand Grocery
ML @ Instacart: Improving the quality of On-demand Grocery
 
Pitch deck freshmart
Pitch deck  freshmartPitch deck  freshmart
Pitch deck freshmart
 
Warehouse and Logistics Sessions 1 - 2 (Day 1)
Warehouse and Logistics Sessions 1 - 2 (Day 1)Warehouse and Logistics Sessions 1 - 2 (Day 1)
Warehouse and Logistics Sessions 1 - 2 (Day 1)
 
Warehousing
WarehousingWarehousing
Warehousing
 
Grocer-E ( Online grocery e-commerce app)
Grocer-E ( Online grocery e-commerce app)Grocer-E ( Online grocery e-commerce app)
Grocer-E ( Online grocery e-commerce app)
 
Transport Management System
Transport Management SystemTransport Management System
Transport Management System
 
Online Grocery Store
Online Grocery StoreOnline Grocery Store
Online Grocery Store
 
Online grocery
Online groceryOnline grocery
Online grocery
 
best buy case study sample presentation
 best buy case study sample presentation best buy case study sample presentation
best buy case study sample presentation
 
Warehouse Management System
Warehouse Management SystemWarehouse Management System
Warehouse Management System
 
E-Supply Chain Management
E-Supply Chain ManagementE-Supply Chain Management
E-Supply Chain Management
 
E-GROCERY
E-GROCERY E-GROCERY
E-GROCERY
 
Deliverus Online Supermarkets Pitchdeck
Deliverus Online Supermarkets PitchdeckDeliverus Online Supermarkets Pitchdeck
Deliverus Online Supermarkets Pitchdeck
 

Similar to Supply optimization instacart

Real Time Fulfilment Planning
Real Time Fulfilment PlanningReal Time Fulfilment Planning
Real Time Fulfilment PlanningJagadeesh Huliyar
 
Future group iift the strategists
Future group iift the strategistsFuture group iift the strategists
Future group iift the strategistsGunjan Solanki
 
Mli 2017 business navigating mcom
Mli 2017 business navigating mcomMli 2017 business navigating mcom
Mli 2017 business navigating mcomHanoi MagentoMeetup
 
Sales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through MobilitySales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through MobilityThe Information Company
 
Sales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through MobilitySales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through MobilityThe Information Company
 
How Euroflorist is preparing for Artificial Intelligence
How Euroflorist is preparing for Artificial IntelligenceHow Euroflorist is preparing for Artificial Intelligence
How Euroflorist is preparing for Artificial IntelligenceGuido X Jansen
 
Preparing for AI - Measurefest
Preparing for AI - MeasurefestPreparing for AI - Measurefest
Preparing for AI - MeasurefestGuido X Jansen
 
Uop ops-571-final-exam-guide- april-2018--new
Uop ops-571-final-exam-guide- april-2018--newUop ops-571-final-exam-guide- april-2018--new
Uop ops-571-final-exam-guide- april-2018--newindi7257
 
How Gousto is moving to just-in-time personalization with Snowplow
How Gousto is moving to just-in-time personalization with SnowplowHow Gousto is moving to just-in-time personalization with Snowplow
How Gousto is moving to just-in-time personalization with SnowplowGiuseppe Gaviani
 
Pepsi sales force enablement & merchandising through mobility
Pepsi  sales force enablement & merchandising through mobilityPepsi  sales force enablement & merchandising through mobility
Pepsi sales force enablement & merchandising through mobilityThe Information Company
 
Food delivery - Supply Chain Logistics Model & Frame work
Food delivery - Supply Chain Logistics Model & Frame workFood delivery - Supply Chain Logistics Model & Frame work
Food delivery - Supply Chain Logistics Model & Frame workAlvis Lazarus
 
Manufacturing's Holy Grail: A Practical Science for Executives and Managers
Manufacturing's Holy Grail: A Practical Science for Executives and ManagersManufacturing's Holy Grail: A Practical Science for Executives and Managers
Manufacturing's Holy Grail: A Practical Science for Executives and ManagersUBMCanon
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with SimulationProModel Corporation
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSteve Haekler
 
Omni channel fulfilment and supply chain management analytic
Omni channel fulfilment and supply chain management analyticOmni channel fulfilment and supply chain management analytic
Omni channel fulfilment and supply chain management analyticAmit Kumar Garg
 
Data Wrangling Questionnaire
Data Wrangling QuestionnaireData Wrangling Questionnaire
Data Wrangling QuestionnaireMimi Brown
 

Similar to Supply optimization instacart (20)

Real Time Fulfilment Planning
Real Time Fulfilment PlanningReal Time Fulfilment Planning
Real Time Fulfilment Planning
 
Future group iift the strategists
Future group iift the strategistsFuture group iift the strategists
Future group iift the strategists
 
Mli 2017 business navigating mcom
Mli 2017 business navigating mcomMli 2017 business navigating mcom
Mli 2017 business navigating mcom
 
OM Week 1.pptx
OM Week 1.pptxOM Week 1.pptx
OM Week 1.pptx
 
Sales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through MobilitySales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through Mobility
 
Sales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through MobilitySales Force & Merchandiser Enablement Through Mobility
Sales Force & Merchandiser Enablement Through Mobility
 
Creative Concept
Creative ConceptCreative Concept
Creative Concept
 
How Euroflorist is preparing for Artificial Intelligence
How Euroflorist is preparing for Artificial IntelligenceHow Euroflorist is preparing for Artificial Intelligence
How Euroflorist is preparing for Artificial Intelligence
 
Preparing for AI - Measurefest
Preparing for AI - MeasurefestPreparing for AI - Measurefest
Preparing for AI - Measurefest
 
Uop ops-571-final-exam-guide- april-2018--new
Uop ops-571-final-exam-guide- april-2018--newUop ops-571-final-exam-guide- april-2018--new
Uop ops-571-final-exam-guide- april-2018--new
 
How Gousto is moving to just-in-time personalization with Snowplow
How Gousto is moving to just-in-time personalization with SnowplowHow Gousto is moving to just-in-time personalization with Snowplow
How Gousto is moving to just-in-time personalization with Snowplow
 
Pepsi sales force enablement & merchandising through mobility
Pepsi  sales force enablement & merchandising through mobilityPepsi  sales force enablement & merchandising through mobility
Pepsi sales force enablement & merchandising through mobility
 
Food delivery - Supply Chain Logistics Model & Frame work
Food delivery - Supply Chain Logistics Model & Frame workFood delivery - Supply Chain Logistics Model & Frame work
Food delivery - Supply Chain Logistics Model & Frame work
 
Manufacturing's Holy Grail: A Practical Science for Executives and Managers
Manufacturing's Holy Grail: A Practical Science for Executives and ManagersManufacturing's Holy Grail: A Practical Science for Executives and Managers
Manufacturing's Holy Grail: A Practical Science for Executives and Managers
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with Simulation
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with Simulation
 
Queuing Theory.pdf
Queuing Theory.pdfQueuing Theory.pdf
Queuing Theory.pdf
 
DT Smart checkouts.pptx
DT Smart checkouts.pptxDT Smart checkouts.pptx
DT Smart checkouts.pptx
 
Omni channel fulfilment and supply chain management analytic
Omni channel fulfilment and supply chain management analyticOmni channel fulfilment and supply chain management analytic
Omni channel fulfilment and supply chain management analytic
 
Data Wrangling Questionnaire
Data Wrangling QuestionnaireData Wrangling Questionnaire
Data Wrangling Questionnaire
 

Recently uploaded

Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 

Recently uploaded (20)

Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 

Supply optimization instacart

  • 1. Supply Optimization At Instacart Jagannath Putrevu SF Bay Area Machine Learning Meetup 5/3/2017
  • 2. v Supply Forecasting - McDonald’s Single Server Queue Service Time: 5 min/order Orders per hour: 12 24 orders per hour 60 orders per hour . . 2 servers per hour 5 servers per hour . . Demand Supply
  • 3. v Supply Forecasting - Chipotle? Multi Server Queue Variable Service Speeds Per Server Demand Supply 24 orders per hour 60 order per hour . . ? ? . .
  • 4. v Supply Forecasting - Instacart? What the talk will cover: ● Logistics @ Instacart ● Fulfillment Models ● Problem Formulation ● Simulation Based Optimization Framework What it will not cover: ● Technology stack ● Algorithm details ● Results & Comparisons
  • 5. v Delivery Logistics Customers Place Orders Orders Get Shopped For Orders Get Delivered
  • 6. v Fulfillment Models Due #2 Ordered Due#1 Ordered Due#3 Ordered Handoff Model Shopping Times Delivery Times #1 #2 #3 #1 #3 #2 In-Store Shopper 1 In-Store Shopper 2 Driver 1 Handoff Pickup Bags
  • 7. v Handoff Model - Staging Area
  • 8. v Fulfillment Models Full Service Model Shopping Times Delivery Times Due #2 Ordered Due#1 Ordered Due#3 Ordered Full Service Shopper 1 #3 #2#1#1 #2 #3
  • 9. Store With Personal Shoppers Full Service Shopper Customer
  • 10. Store With Personal Shoppers Full Service Shopper Customer
  • 11. v What is Efficiency? Efficiency = Deliveries Total Time Deliveries Active Time Active Time Total Time = X Active Efficiency= X Utilization How fast? How busy?
  • 12. v Time Components In Labor Hours Begin Shift End Shift Deliver to Customer Wait for Batch Drive to Store Shop Groceries Pickup Bags from Store
  • 13. v Time Components In Labor Hours Deliver to Customer Wait for Batch Drive to Store Shop Groceries Pickup Bags from Store End ShiftBegin Shift In-store Shopper
  • 14. v Time Components In Labor Hours Deliver to Customer Wait for Batch Drive to Store Shop Groceries Pickup Bags from Store Full Service Begin Shift FullServiceShopper FullService FullService End Shift
  • 15. v Time Components In Labor Hours Deliver to Customer Wait for Batch Drive to Store Shop Groceries Pickup Bags from Store Driver DriverDriverBegin Shift Driver End Shift
  • 16. v Time Components And Factors Affecting Them Idle Time: Supply/Demand equilibrium, Variance in Cancellations How busy? How fast? Driving Time: Batching (Number of Orders Per Trip), Proximity To Store, Traffic Picking Time: Speed of Shopper, Shopping List Sorting, Checkout Times Bags Pickup Time: Staging Area Layout, Number of Bags being picked up Delivery Time: Traffic, Order Time/Space Density, Routing Algorithm Efficiency
  • 18. v Problem Statement ● For a given day, how do we staff : ○ In-store shoppers (ISS) at each store location, ○ Full Service shoppers (FSS) across the entire zone, ● so as to: ○ maximize active efficiency, ○ minimize idleness, ○ minimize lost deliveries
  • 19. v Final goal? 8 AM 9 AM 10 AM 11 AM 12 PM 1 PM 2 PM 3 PM 4 PM 5 PM 6 PM 7 PM 8 PM Whole Foods Soma 2 3 4 5 6 6 6 5 5 5 4 3 2 Whole Foods Castro ? ? ? ? ? ? ? ? ? ? ? ? ? Costco ? ? ? ? ? ? ? ? ? ? ? ? ? Safeway ? ? ? ? ? ? ? ? ? ? ? ? ? Full Service 20 30 40 50 60 60 60 50 50 50 40 30 20
  • 20. v Decision Factors Handoff Model Full Service Model Speed Location Overhead Task Handling
  • 21. v Everything Has Variance ● Demand ● Space-Time Density ● Traffic ● Weather ● Shopper Abilities ● Cancellations
  • 22. v Cost Functions Desired Actual Idleness Cost Lost Deliveries Cost Lost Efficiency Cost
  • 23. v System Outputs Number of Shoppers Required Percentage of Volume Done Through Handoff Estimated Efficiency & Utilization Inputs Demand (variable) Store Locations (fixed) Shopper Pool (variable) Fulfillment Times (predicted, variable) Cancellation Probability (predicted) Handoff vs Full-Service Idleness vs Efficiency vs Lost Deliveries Store Timings Shift Length Requirements Business rules Constraints
  • 24. v Simulate An Ideal Universe Assume infinite Supply, solve the fulfillment problem, and generate optimal set of trips
  • 25. v Staff For An Ideal Universe ● When do all the trips begin and end in the optimal solution? ● Back-calculate how many shoppers we need and at what times we need them
  • 26. v Results From One Universe
  • 27. v Aggregate Results From All Simulations
  • 28. v Final ‘Optimal’ Set of Staffing Levels
  • 29. v Losses In One Universe 1 1 1 2 2 2 1 2 Idleness Cost Lost Efficiency Cost (and/or) Lost Deliveries Cost x_8 x_9 x_10 x_11 x_12 x_13 x_14 x_15 x_16 x_17 x_18 x_19 x_20
  • 30. v Minimize Losses Across All Universes Min. ∑ (Idleness Cost + Lost Efficiency Cost + Lost Deliveries Cost)
  • 31. v Final Output 8 AM 9 AM 10 AM 11 AM 12 PM 1 PM 2 PM 3 PM 4 PM 5 PM 6 PM 7 PM 8 PM Whole Foods Soma 12 12 16 16 14 14 12 12 10 10 8 6 4 Whole Foods Castro 5 5 5 5 4 4 4 3 3 3 3 2 0 Costco 0 0 10 10 10 8 8 8 6 6 6 0 0 Safeway 2 3 4 5 6 6 6 5 5 5 4 3 2 Full Service 20 60 100 120 150 180 180 180 150 150 80 50 30