Skip to main content
Homepage
  • Gambling 101

    70 free guides across 10 categories

  • Sports Betting

    Odds, lines, arbs & value betting

  • Casino Table Games

    Blackjack, roulette, craps & baccarat

  • Learning Paths

    6 guided curricula, beginner to pro

  • Gambling Math

    EV, house edge, probability & Kelly

  • Poker

    Hold'em, pot odds & tournaments

  • Slots & Video Poker

    RTP, volatility & optimal play

  • Horse Racing

    Handicapping, exotics & speed figures

  • Prediction Markets

    Kalshi, Polymarket & event trading

  • Getting Started

    New to gambling? Start here

  • Best Platforms by State

    Top picks for every state

  • Glossary

    78 gambling terms explained

  • Blackjack Trainer

    Perfect basic strategy

  • Roulette Practice

    European & American

  • Video Poker

    Jacks or Better & more

  • Craps Simulator

    Master the dice

  • Baccarat

    The elegant card game

  • Three Card Poker

    Ante & pair plus

  • Caribbean Stud

    Progressive poker

  • Casino Hold'em

    Texas Hold'em vs house

  • Let It Ride

    Relaxed poker variant

  • Ultimate Hold'em

    4x raise or check

  • Pai Gow Poker

    Split 7 cards into 2

  • Casino War

    Simplest card game

  • Keno

    Pick numbers, watch draw

  • Sic Bo

    Ancient dice game

  • All Practice Games

    All 16 games

  • Sportsbooks

    Licensed sports betting

  • Casinos

    Online, sweepstakes & crypto

  • Daily Fantasy Sports

    DraftKings, FanDuel & more

  • Poker Rooms

    Online poker sites

  • Pick'ems

    PrizePicks, Underdog & more

  • Horse Racing

    Track betting & ADWs

  • Online Bingo

    Bingo Clash, Blackout Bingo & more

  • Lottery

    Jackpocket, state iLottery & more

  • Prediction Markets

    Kalshi, Polymarket & more

  • Skill Gaming

    H2H, arcade & skill-based

  • All Platforms

    Browse all 220+ platforms

  • Universal Bet Calculator & Optimizer

    Arbs, +EV, holds, best odds & parlays across 20+ books

  • Calculators

    10 free betting & casino calculators

  • RNG Strategy Lab

    Build & test any betting strategy

  • Provably Fair Verifier

    Verify crypto casino game fairness

  • Pro Betting Tools

    Odds tools & strategy aids

  • Universal Odds Analyzer

    Compare, find arbs, spot +EV — all in one tool

  • Arb Finder

    Low-risk opportunities across sportsbooks

  • +EV Finder

    Positive expected value bets

  • Parlay Arbitrage Scanner

    Correlated parlay arbitrage & SGP edges

  • Pick'em Analyzer

    Find +EV DFS picks vs sharp consensus

  • Free Bet Converter

    Convert free bets to cash

  • All Odds Tools

    Browse all betting tools

  • My Platforms

    Linked platforms & VIP progress

  • Free Bonus Tracker

    Daily, weekly & custom reminders

  • My Tracked Bets

    Track bets, P&L & CLV

  • My Bonus & Promo Playbook

    Convert boosts, free bets & promos

Homepage
Join Free
Back to Homepage
Overview

Categories

BonusBell

If it's gambling, it lives on BonusBell. Track platforms, bonuses, promos, streaks, and use tools and calculators to optimize value spread across all 10+ markets, 220+ platforms, and all 50 states.

X

One email per week. Unsubscribe anytime.

Platform

  • Explore Platforms
  • Universal Bet Calculator & Optimizer
  • Calculators
Learn
  • Best Platforms by State
  • Practice Games
  • Learning Guides
  • RNG Strategy Lab
  • Provably Fair Verifier

Company

  • About Us
  • Why BonusBell
  • Business Inquiries
  • Responsible Gaming
  • Contact
  • Help Center
  • Changelog

Legal

  • Terms of Service
  • Privacy Policy
  • Data Policy
  • Disclaimer
  • Sitemap

21+ Play Responsibly | BonusBell is not a gambling operator and does not offer financial advice. Everything offered is for entertainment purposes only.

Have a gambling problem? Call 1-800-GAMBLER or visit https://www.1800gambler.net

  1. Home
  2. Gambling 101
  3. Sports Betting
  4. Lineup Optimization Theory
Back to Sports Betting
advanced
9 min readSports BettingBonusBellLast updated:February 22, 202621 of 21
BonusBell

BonusBell

BonusBell Editorial Team

The BonusBell editorial team researches and reviews online gambling platforms across all 50 US states. Every ranking and recommendation is backed by hands-on testing, regulatory verification, and transparent methodology. Our editorial standards require primary sources for every tax rate, launch date, and bonus figure; every article carries a fact-checked date; and corrections are issued publicly when operators or regulators change the facts.

  • Hands-on platform testing and verification
  • State-by-state regulatory research
  • Odds comparison and line shopping expertise
  • Online casino and live dealer evaluation
  • Responsible gambling advocacy

Related Articles

DFS Ownership & Leverage

How ownership percentages drive DFS strategy — and why being different matters more than being right.

advanced

Daily Fantasy Sports (DFS)

Contests, salary caps, and strategy for fantasy sports.

intermediate

Where to Play

Top-rated platforms reviewed by our editorial team

FanDuel Sportsbook

Best Overall Sportsbook

9.6

Best for: overall experience and ease of use

View Bonuses

DraftKings Sportsbook

Best for Promotions & Odds Boosts

9.5

Best for: daily promotions and prop betting

View Bonuses

BetMGM Sportsbook

Best for Odds Quality

9.2

Best for: sharp odds and casino crossover

View Bonuses

Frequently Asked Questions

How do DFS lineup optimizers work?

Optimizers use linear programming to find the highest projected point total within the salary cap constraint. You input player projections and ownership estimates, and the solver outputs optimal lineups. The best optimizers also account for correlation (stacking) and diversification across multi-entry sets.

What is stacking in DFS?

Stacking means pairing players from the same team whose outcomes are correlated. In NFL DFS, a QB-WR stack means both benefit from the same passing touchdowns. Stacking raises your lineup ceiling because when one player booms, the correlated players often boom with them.

Previous

DFS Ownership & Leverage

Next

Horse Racing Basics

Find your next edge

Our tools scan 20+ sportsbooks in real time for +EV bets, arbitrage, and middles. Pro memberships coming soon.

Sign Up Free
advanced
9 min read

Lineup Optimization Theory

The math behind DFS lineup builders — salary constraints, projections, stacking, and multi-entry strategy.

BonusBell Team

Every DFS lineup builder is solving the same mathematical problem: maximize projected fantasy points subject to a salary cap constraint and roster construction rules. This is a variant of the bounded knapsack problem—one of the most studied problems in computer science and operations research. Understanding how optimizers work, where they fail, and how to use them effectively separates recreational players from serious grinders.

The Knapsack Problem in DFS

In the classic knapsack problem, you have a bag (salary cap) and items (players) with different weights (salaries) and values (projected points). You want to pack the bag to maximize total value without exceeding the weight limit.

The DFS Optimization Problem
Maximize: Σ(x_i × points_i) subject to Σ(x_i × salary_i) ≤ $50,000 and roster constraints=x_i ∈ {0, 1} — each player is either in the lineup or not

This is a 0-1 integer linear program (ILP). For DraftKings NFL with ~200 eligible players and 9 roster spots, the brute-force search space is C(200, 9) ≈ 3 × 10^14 combinations. Optimizers use branch-and-bound or constraint programming to find the maximum without checking every combination.

Good to Know

Why brute force does not work. Even checking 1 billion lineups per second, it would take over 3 days to evaluate every possible DraftKings NFL lineup. Optimization algorithms are not optional—they are the only way to solve this problem at scale.

How Lineup Optimizers Work

Modern DFS optimizers use one of two approaches:

  • Mixed Integer Linear Programming (MILP). Formulates the problem as a linear program with integer constraints. Uses branch-and-bound to find the provably optimal solution. Fast and exact.
  • Monte Carlo simulation. Randomly samples from player projection distributions, builds optimal lineups for each simulation, then aggregates exposure. Captures projection uncertainty but is slower.

Optimizer Approaches

ApproachSpeedOptimalityHandles UncertaintyBest For
MILP (deterministic)Fast (seconds)Provably optimalNo — uses point projectionsCash games, single optimal lineup
Monte Carlo simulationSlow (minutes)Approximately optimalYes — samples from distributionsGPPs, multi-entry, capturing variance
Hybrid (MILP + sim)ModerateNear-optimalYesProfessional multi-entry GPP strategy

Most commercial optimizers use MILP as the core solver

Projection Sources and Accuracy

An optimizer is only as good as its inputs. Projections are the single most important input—more important than the optimization algorithm itself. A perfect optimizer with bad projections produces bad lineups.

Projection Sources

SourceMethodologyAccuracyCost
Consensus (FantasyPros)Average of expert projectionsModerate — wisdom of crowdsFree
Statistical models (SaberSim, 4for4)Regression + simulationHigh — data-driven$20–50/mo
Proprietary / in-houseCustom models built on player dataVaries — only as good as the modelTime investment
Sharp DFS sites (Awesemo, EstablishTheRun)Expert analysis + modelsHigh — tuned for DFS$30–100/mo

Strategy Insight

Blend multiple projection sources rather than relying on one. Average the projections from 2–3 sources, then make manual adjustments for factors the models miss: weather, revenge game narratives (real ones, not media hype), scheme changes, or injury-related volume shifts. The adjustment layer is where your edge lives.

Stacking in Optimization

Raw optimization without stacking constraints produces lineups that are mathematically optimal but strategically flawed for GPPs. Stacking adds correlation constraints to the optimizer:

Stacking as a Constraint
Constraint: QB_team = WR1_team (force same-team QB and WR)=Optimizer now maximizes points while ensuring QB/WR correlation

Without this constraint, the optimizer might select the highest-projected QB and the highest-projected WR from different teams. That lineup maximizes expected points but has no correlation — it cannot capture a shootout game script where both the QB and his receiver boom together.

Common stacking constraints:

  • Primary stack: QB + 1–2 same-team pass catchers
  • Bring-back: 1 pass catcher from the opposing team (captures shootout)
  • Mini-stack: 2 players from the same team in a non-QB position group (WR + TE, or RB + DST)
  • Game stack: 4–5 players from the same game (maximum game-script exposure)

Warning

Stacking reduces expected value but increases variance. A stacked lineup has a lower average score than an unstacked lineup because stacking sometimes forces you to include a slightly inferior player. But the ceiling is higher because when the stack hits, all correlated players boom together. In GPPs, ceiling is what matters.

Multi-Entry Strategy

Serious GPP players enter 20–150 lineups in large-field tournaments. Multi-entry strategy is about portfolio diversification across lineups:

Multi-Entry Portfolio Design

PrincipleImplementationWhy It Matters
Game-stack diversificationDifferent primary stacks across lineupsCovers multiple boom game scenarios
Ownership distributionVary ownership tilt (some chalk, some contrarian)Covers both favorite and upset scenarios
Exposure limitsCap any player at 40–60% of lineupsPrevents over-concentration on one outcome
Correlation within lineupsEvery lineup has a stackEach lineup can independently reach the top
Differentiation between lineupsMinimize duplicate combinationsMaximize the number of distinct winning paths

A portfolio of 20 lineups should cover 4–6 different game-stacks

Exposure Calculation
20 lineups, Patrick Mahomes in 8 = 40% exposure=If Mahomes booms: 8 of 20 lineups benefit. If he busts: 12 of 20 are unaffected.

Exposure is the percentage of your lineups containing a player. At 40%, you are making a significant bet on Mahomes but not an all-in commitment. Most pros cap exposure at 50–60% for any single player in a multi-entry portfolio.

Limitations of Pure Optimization

Optimizers are powerful tools, but they have fundamental limitations:

  • Garbage in, garbage out. The optimizer perfectly maximizes whatever you feed it. If projections are wrong, the lineup is optimally wrong.
  • Cannot model everything. Game script, weather impact, coaching decisions, and motivation are difficult to encode as constraints.
  • Overfitting to projections. The optimal lineup often loads up on the single highest value-per-dollar player. In reality, projections have error bars, and the "clear value play" at $3,800 may be overowned because every optimizer finds the same player.
  • Ownership blindness. Standard optimizers do not factor in ownership. They will happily build a lineup of all chalk if that maximizes projected points.

Strategy Insight

The best DFS players use optimizers as a starting point, not an endpoint. Generate the top 50 optimizer lineups, then manually edit 20% of each one based on game theory considerations: fade the obvious chalk, add a leverage play, or swap in a player you have conviction about but the projections undervalue. The optimizer gives you mathematical structure; your judgment gives you edge.

Practical Workflow

  1. Import projections from 2–3 sources and blend them
  2. Set stacking rules (QB + WR1 minimum, bring-back, etc.)
  3. Set exposure limits (no player in more than 50% of lineups)
  4. Generate 50–100 lineups with the optimizer
  5. Review and edit the top 20–30 based on ownership projections and your qualitative analysis
  6. Lock late-swap eligible players and adjust after injury/weather news

Sources & References

  1. Korte, B. & Vygen, J. (2018). Combinatorial Optimization: Theory and Algorithms. Springer.. The 0-1 knapsack problem and branch-and-bound algorithms for integer linear programming are standard computer science. DFS lineup optimization is a direct application of this framework.
  2. SaberSim, FantasyCruncher, and DraftKings optimizer documentation. Monte Carlo simulation methods for DFS lineup generation and exposure optimization are documented in DFS analytics literature and tooling documentation.
  3. Stacking theory and within-game correlation exploiting game-script dependencies is standard in advanced DFS strategy, derivable from historical game-log correlation data.
  4. Multi-entry portfolio construction and exposure management follow directly from portfolio diversification theory (Markowitz, 1952) applied to the discrete contest structure of DFS tournaments.

Mathematical claims are independently verifiable. BonusBell platform analysis reflects data from 220+ tracked platforms as of March 2026.

Key Takeaways

  • 1DFS lineup optimization is a bounded knapsack problem — mathematical optimization is essential because brute force is computationally infeasible
  • 2Projections are more important than the optimizer itself: a perfect algorithm with bad projections produces bad lineups
  • 3Stacking constraints force the optimizer to build correlated lineups that can actually reach GPP-winning scores
  • 4Multi-entry strategy treats your lineup set as a portfolio — diversify game stacks and cap individual player exposure at 40–60%
  • 5Use the optimizer as a starting point, not the final answer: manual edits based on ownership and conviction create your competitive edge