Fighting food waste on delivery platforms; PSC January 2020
Simulator Implemented By Koffi Ismael OUATTARA
Food delivery platforms ignore stock levels, generating avoidable waste from unsold dishes. This project proposes joint dynamic pricing + smart recommendations to clear stock without selling at a loss.
Recommendation: Matrix Factorisation & KNN.
Demand: Linear Regression, Logistic Regression, Neural Network & LSTM.
Pricing: MDP with Bellman induction.
Each tab has a method selector at the top. Switch between algorithms to compare their outputs. Hover i icons for parameter definitions, expand the glossary for concepts.
PSC at École Polytechnique, January 2020, supervised by Pascal Benchimol. Addresses food waste on delivery platforms by jointly optimising recommendations and dynamic pricing.
Decomposes M into U×V, minimising ‖M−UV‖² + λ‖·‖² via alternating gradient descent. Learns global latent structure.
For (user u, item i): find K most similar items (cosine) that u has rated. Predicted = weighted average. Fast prediction but struggles with very sparse matrices (>93% empty).
Aggregate demand with dummy variables. Interpretable coefficients. Misses price×time interactions.
Individual P(buy) = σ(β·x). Includes predicted rating → links to recommendation. Enables wealth-class targeting.
2 hidden layers, ReLU. Captures non-linearities. Trained on 288K simulated observations. Compared with linear to show where non-linearity matters.
Sequential model using past T demand observations to predict the next slot. Cell state retains evening-long patterns; hidden state drives per-slot predictions. Outperforms MLP on long-horizon temporal dependencies.
Terminal: V(c>0, t_max)=−∞. Solved by backward induction. Policy: low price when stock is high and time is short; high price otherwise.