Kind-of-Lost Kind-of-Lost · OR Tools · MLB Lineup Optimizer · Support

MLB Lineup Optimizer

Upload your DraftKings, FanDuel or Yahoo salaries file, set your rules, and generate a diverse set of lineups — ready to upload back. Free tool by kindoflost.

1 · Site & player pool

📥 Drop the salaries CSV here, or browse
DK: DKSalaries.csv · FD: the players-list CSV
📈 Drop projections here, or browse
Columns: an id column + a projection column. Matched by player ID.

What is this MLB DFS lineup optimizer?

A free MLB DFS optimizer for DraftKings, FanDuel, and Yahoo — no signup, no paywall, no “3 free lineups” teaser. It solves a real mixed-integer program (the same math the paid tools use) to build a set of lineups that are individually strong and collectively different, because in large tournaments one good lineup is easy — twenty different good ones is the hard part.

How it works

  1. Export the salaries/player file from your DFS site and upload it above.
  2. Trim the pool: lock, exclude, or cap exposure on any player, and edit projections.
  3. Set the rules — team stacking (including consecutive batting-order stacks), max hitters per team, and how different each lineup must be from the others.
  4. Generate. You get salary-cap-legal lineups in a CSV formatted for direct re-upload to your site.

A worked example

On DraftKings classic MLB you fill ten slots — two pitchers, C, 1B, 2B, 3B, SS, and three outfielders — under a $50,000 salary cap. Under the hood that is a knapsack problem: maximize projected points subject to the cap and the position rules. Add a 4-hitter stack from one team in consecutive batting-order spots, cap any single player's exposure across your lineup set, and require every pair of lineups to differ — the optimizer handles all of it as hard constraints, not suggestions.

Common questions

Is it really free? Yes — it is a working demo of optimization models I have built for 20+ years. No account, no lineup limit tricks.

Which sites does it support? DraftKings, FanDuel, and Yahoo salary exports, with upload-ready CSV output for each.

Are the projections any good? The optimizer uses the projections in your file — and you can overwrite any of them. Its job is squeezing the most out of whatever projections you trust.

Get an email when we ship updates to the MLB optimizer. Low volume, unsubscribe anytime.

Who built this

I'm Mario — an operations research analyst with 20+ years in optimization and supply chain (Cargill, Cessna Aircraft, Textron Aviation). Daily fantasy lineup building is a knapsack problem in a costume: the same constrained-optimization math I used for scheduling and routing, just with a salary cap instead of a truck. This MLB DFS tool runs a real MILP solver (PuLP/CBC) end to end, not a heuristic or a spreadsheet formula. More about me and the other free tools →

Also free: NFL lineup optimizer.