Kind of Lost
·
OR Tools
·
MLB Lineup Optimizer
·
Support
Upload tonight’s DraftKings, FanDuel or Yahoo salaries file; the tool fills in batting orders and probable pitchers, then builds a varied set of hitter-stack lineups you can upload straight back. Free tool by kindoflost.
DKSalaries.csv · FD: the players-list CSVid column + a projection column. Matched by player ID.A free MLB DFS optimizer for DraftKings, FanDuel and Yahoo, with no account, no paywall and no teaser limit. Baseball scoring arrives in bunches — one rally pays three or four hitters from the same batting order at once — so the tool uses a constraint-programming solver to build a set of hitter-stack lineups, each one strong and all of them different, because in big tournaments one good lineup is easy — twenty different good ones is the hard part.
On DraftKings classic MLB you fill ten slots — two pitchers, C, 1B, 2B, 3B, SS, and three outfielders — under a $50,000 salary cap. Mathematically that is a knapsack problem with position slots: the ten players with the most projected points that still fit the cap. 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.
Is it really free? Yes. It is a live demo of the optimization work I have done for over twenty years, so there is nothing to buy and no account to make.
Which DFS sites work? DraftKings, FanDuel and Yahoo MLB classic contests: upload that site’s salary export and the download comes back in its own upload format.
Can it do Showdown / single-game contests? No, only classic full slates for now. A DraftKings Showdown (Captain Mode) file is recognised, and the tool asks for the salaries file from a Classic contest instead.
Where do the projections come from? If you don’t upload any, each player gets the number in
your salary file — DraftKings’ AvgPointsPerGame, FanDuel’s and Yahoo’s
FPPG. That is his season-average fantasy score, not a projection for tonight: it ignores the
opposing pitcher, the ballpark and where he bats, and in April it may rest on a few games. Load a projections
CSV or type over any number in the list to replace it. The solver’s part is getting the most out of the
numbers you believe in.
How do I use the Vegas lines (implied runs)? Load your file, then press Load Vegas lines in step 2 (MLB lines post on game day). Each team gets an Impl number — the runs Vegas expects it to score, worked out by splitting the game total with the moneyline. Treat it as an estimate rather than a posted team total. Sort by Impl to rank the offenses, then open step 3 → Tier 2 → Vegas rules. Only stack teams implied ≥ keeps your stacks on the offenses Vegas likes (pick a number that leaves the handful of teams you would stack anyway), and No pitcher facing an offense implied ≥ keeps your pitchers away from the lineups Vegas expects to score most. Leave a box empty to switch that rule off, which is the default. Neither rule touches the blue checkboxes, games without a posted line are never filtered, and a threshold that leaves nothing to build gets you a message rather than an empty result.
What does Update injury list do? It matches your slate against ESPN’s MLB injury report. Anyone listed out, on the injured list or suspended is unticked (tick him back if you know better); Day-To-Day, Questionable and Doubtful only add a badge. A hitter who already appears in a posted batting order, or a probable starting pitcher, stays ticked with a ⚠ badge — a lineup card posted this afternoon is newer information than an injury note. The On/Off by status buttons above the list flip a whole status group at once.
What does Check late news do? Use it after building, from the top of step 4. It asks ESPN’s injury report who in your lineups has been ruled out since you built them, lists those players with how many lineups each one is in, highlights those lineups and suggests a replacement. Nothing is rebuilt or re-exported; you make the swap on the site yourself.
What are saved setups? A way to keep your rules from one slate to the next. In the Saved setups box at the top of step 3, name the current settings and press Save current settings; Load brings them back on any later slate. Kept: everything in the Rules card — preset, lineup count, primary and secondary stacks, exposure and cooldowns — plus the pitcher split mode (Even / By win % / Underdog; typed weights come back as Even). Not kept: tonight’s pool, your locks and exclusions, typed projections and the pitchers ticked under “Build around”, since those belong to one slate. Vegas thresholds are kept only while Vegas lines are loaded. Any rule a setup doesn’t mention returns to its page default when you load it, so an old setup can’t leave a newer rule switched on. Everything stays in this browser — nothing is uploaded — so another browser or device starts with none. Up to 20 are kept; reusing a name overwrites.
Get an email when we ship updates to the MLB optimizer. Low volume, unsubscribe anytime.
The baseball vocabulary is the hard part, not the optimizer. Click any question.
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 optimization solver (Google OR-Tools CP-SAT) end to end, not a heuristic or a spreadsheet formula. More about me and the other free tools →