The marketing mix model (MMM) gives you a response curve per channel—whether it's a Michaelis-Menten or Hill function that relates spend to outcome. But having those curves is only half the equation.
Once those curves are fitted, the optimizer's job is to answer one critical question:
"Given my current market conditions, response elasticities, and total budget, how should I reallocate spend across channels to maximize efficiency?"
How the optimizer works step by step
The optimization process transforms your fitted response curves into actionable budget recommendations through a systematic approach:
1. Starting point: actual spend today
The optimizer takes your current allocation as the baseline. This isn't arbitrary—it's your revealed preference based on historical decisions, organizational constraints, and market realities.
Current state:
- TV: $5M
- Display: $2M
- Search: $1.5M
- Social: $1.5M
- Total: $10M
2. Response functions: What you've learned
Each channel has a response function R_i(X_i) fitted from your MMM. These functions capture the saturation dynamics specific to each channel.
The derivative of each response function gives you marginal ROI:
3. Constraint: Total budget fixed
The fundamental constraint is that total spending remains constant:
You can layer additional constraints based on business requirements:
- Minimum spend per channel (brand requirements)
- Maximum spend per channel (inventory limitations)
- Channel ratios (e.g., "TV must be ≥ 20% of total")
- Strategic mandates (e.g., "Maintain search investment")
4. Optimization objective: Maximize total outcome
The optimizer solves for the allocation that maximizes aggregate response across all channels:
Subject to:
- Budget constraint:
- Non-negativity:
- Business constraints:
This is a constrained non-linear optimization problem. The industry-standard approach is Mixed Integer Programming (MIP) with discretized response curves.
Core idea: Approximate each continuous response curve with piecewise linear segments, then use MIP to select the optimal allocation across all segments.
Why MIP is preferred:
- Global optimality: Guaranteed to find the best solution (no local optima)
- Complex constraints: Handles minimum spends, binary decisions
- Fast & reliable: Solves in milliseconds with commercial solvers
- Shadow prices: Reports the cost/value of each constraint
5. Result: New spend plan for next period
The optimizer produces a reallocation plan that shifts budget from over-saturated channels (low marginal ROI) toward under-invested ones (high marginal ROI) until marginal returns equalize.
Optimized allocation example:
- TV: $4M → -20% (was over-saturated)
- Display: $2M → No change (at optimal point)
- Search: $2.5M → +67% (high marginal returns)
- Social: $1.5M → No change (at optimal point)
- Total: $10M (budget preserved)
Why this matters for planning
It's crucial to understand what the optimizer does and doesn't do:
What the optimizer provides
The optimizer gives you an efficient allocation baseline under current market conditions. It assumes:
- Same response elasticities (same K values, same n coefficients)
- Same competitive environment
- Same creative quality and messaging
- Same market size and addressable audience
It answers: "Given what we learned this year, how can we spend smarter next year if conditions stay the same?"
What the optimizer doesn't provide
The optimizer is not a forecast. It doesn't predict:
- Next year's economy or GDP growth
- Competitive activity changes
- Market expansion or contraction
- Creative wear-out or refresh
- Seasonal variations beyond what's already in the model
Practical application: Scenario analysis
The real power of optimization comes from exploring trade-offs through scenarios:
Scenario 1: Budget increase (+10%)
Question: "If we get 10% more budget, where should it go?"
The optimizer evaluates which channels have the highest marginal ROI at current spend levels and directs incremental budget there.
Typical result:
- New budget → channels furthest from saturation
- Expected lift: 8-12% (less than proportional due to diminishing returns)
Scenario 2: Strategic constraints
Question: "What if we must maintain TV at current levels?"
Add a constraint: (fixed)
The optimizer now reallocates only among remaining channels, accepting lower overall efficiency to satisfy the strategic requirement.
Typical result:
- Constrained optimization → 10-15% efficiency gain (vs. 20-25% unconstrained)
- Trade-off made explicit: Cost of strategic mandate = 10% efficiency loss
Scenario 3: New channel introduction
Question: "Should we invest in podcast advertising?"
First, estimate a response curve for podcasts (using test data or proxy channels). Then let the optimizer allocate across all channels including podcasts.
Typical result:
- Optimizer suggests 5-10% of budget to new channel
- Reallocation from most saturated existing channels
- Net efficiency gain depends on podcast response curve parameters
Common Pitfall
Pitfall 1: Ignoring strategic value beyond MMM scope
Problem: The optimizer suggests eliminating brand search because it's "saturated."
Reality: Brand search protects against competitive conquest and has defensive value not captured in the response curve.
Solution: Add strategic constraints for channels with non-modeled value:
- Brand protection channels (brand search, branded social)
- Customer retention channels (email, loyalty programs)
- Long-term brand building (sponsorships, content marketing)
Pitfall 2: Treating optimization output as truth
Problem: Presenting optimized allocation as "the answer" without uncertainty quantification.
Reality: Response curves have confidence intervals; optimal allocations have ranges, not point estimates.
Solution: Report optimization results with sensitivity analysis:
- "Recommended Search spend: 2M-$3M)"
- "Expected lift: 20% (95% CI: 15%-25%)"
- "Result robust to ±15% parameter uncertainty"
Pitfall 3: Static annual optimization
Problem: Optimize once in January, implement for full year without revisiting.
Reality: Market conditions, competitive activity, and creative performance change quarterly.
Solution: Implement quarterly reoptimization cycles:
- Update MMM quarterly with latest data
- Detect parameter shifts (changing K or n values)
- Re-optimize with updated curves
- Phase implementation of changes
Integration with planning processes
The optimizer bridges analytics and planning:
1. Annual planning cycle
September-October: Fit MMM on current year data November: Run optimization scenarios for next year December: Socialize recommendations, incorporate feedback January: Implement optimized allocation Quarterly: Monitor performance, reoptimize as needed
2. Scenario planning for leadership
Present optimization results as scenarios, not prescriptions:
-
Base case: Current allocation → $100M outcome
-
Optimized case: Recommended allocation → $120M outcome (+20%)
-
Constrained case: Optimized with strategic constraints → $115M outcome (+15%)
-
Growth case: +10% budget, optimized → $130M outcome (+30%)
This framework helps leadership understand trade-offs and make informed decisions.
3. In-flight reallocation
Don't wait for annual cycles. If you detect mid-year that a channel is underperforming:
- Re-fit response curve with YTD data
- Run incremental optimization (reallocate remaining budget)
- Implement tactical shifts for H2
Conclusion
The optimizer is where MMM transitions from descriptive analytics ("What happened?") to prescriptive analytics ("What should we do?"). By systematically reallocating budget from saturated to under-invested channels, optimization typically delivers 15-30% efficiency gains with the same total budget.
Key takeaways:
- The optimizer solves for equal marginal ROI across all channels subject to budget and business constraints
- It provides an efficient baseline, not a forecast—assumes constant market conditions
- Scenario analysis is critical for exploring budget changes, strategic constraints, and new channel introduction
- Quarterly reoptimization adapts to market changes and prevents staleness
- Guardrails and constraints prevent operationally infeasible recommendations
- Probabilistic optimization quantifies uncertainty and identifies robust allocations
- Integration with planning cycles ensures recommendations are actionable and socializable
The most sophisticated MMM in the world is only valuable if it drives better decisions. The optimizer is the bridge from model to action.
Further reading
Solutions
Try the mechanics
About the author

Cyril Noirot
Lead Data Scientist
Freelance data scientist. I design and ship decision systems — forecasting, pricing, marketing measurement, optimization.