InterviewStack.io LogoInterviewStack.io

Optimization and Operations Research Methods Questions

Prescriptive analytics: formulating decisions as optimization problems — linear and integer programming, constraint-based modeling, objective functions, and trade-offs between optimality and tractability. Applied to allocation, scheduling, routing, pricing, and supply/demand problems.

HardTechnical
76 practiced

As a senior data scientist leading deployment of an optimization system that requires operational changes across procurement and manufacturing, describe your plan for stakeholder engagement and change management. Cover identifying stakeholders and champions, pilot design, KPIs and success criteria, training for operations teams, rollback strategies, monitoring for model decay after go-live, and a continuous improvement loop.

MediumTechnical
90 practiced

You're asked to implement a simulation to compute a dynamic surge multiplier that better matches driver supply to demand in a single city zone. Describe input assumptions (demand elasticity, driver elasticity, target wait time), algorithmic approach (grid search vs continuous optimization), provide pseudocode or Python outline for the simulation, and describe how you would validate outputs against historical data.

MediumTechnical
80 practiced

Using OR-Tools CP-SAT in Python, model and solve a scheduling problem: 3 machines, 6 tasks with given durations and precedence constraints, minimize makespan. Provide code that creates start-time variables, adds assignment and precedence constraints, defines makespan objective, and runs the solver. Show a sample schedule output.

EasyTechnical
88 practiced

Given the table schema:

transactions(transaction_id PK, sku_id INT, store_id INT, qty_sold INT, sold_at TIMESTAMP)

Write a PostgreSQL query that computes weekly demand per sku_id per store for the last 52 weeks and flags SKUs with fewer than 5 weeks of sales as 'is_sparse'. Return columns: sku_id, store_id, week_start, weekly_qty, is_sparse. Explain how you handle weeks with zero sales.

EasyTechnical
86 practiced

Explain what the integrality gap is in integer programming. In a yield optimization context, how can a large integrality gap affect the business solution, and what simple modeling changes can reduce the gap (e.g., tighter bounds, alternative formulations)?

Unlock Full Question Bank

Get access to all Optimization and Operations Research Methods interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.