Kind of Lost
·
OR Tools
·
NBA Lineup Optimizer
·
Support
Upload your DraftKings, FanDuel or Yahoo player list, set your exposure and diversity rules, and generate up to 150 lineups — ready to upload back. Free tool by kindoflost.
id column + a projection column. Matched by player ID.A free NBA 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.
A DraftKings classic NBA roster has eight slots — PG, SG, SF, PF, C, a guard slot (PG or SG), a forward slot (SF or PF) and a UTIL that takes anyone — under a $50,000 cap, with players from at least two games. A FanDuel roster has nine slots, and the slots depend on the contest: the optimizer reads them from the file you upload. Under the hood that is a knapsack problem: maximize projected points subject to the cap and the position rules. A player listed at two positions can fill either, and the solver assigns him wherever it helps.
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, classic full-slate contests only, each with upload-ready CSV output. Pick the site in step 1; the rules below are applied for you.
Name (ID).Id.nba.p.X$nba.g.Y IDs; without it they are the bare nba.p.X
IDs. Players Yahoo marks INJ load switched off. For Yahoo’s bulk template, type the Contest ID and
every row starts with it.IDs belong to one slate, so always load the file for the slate you are entering.
Why no stacking? In baseball and hockey the rules create players whose points rise and fall together, so stacking them is a real edge. NBA teammates are only weakly correlated, so this tool leaves the choice to the projections and the exposure caps.
What about Showdown / single-game contests? Not yet — this is classic full-slate only.
Are the projections any good? Unless you upload your own, the tool uses the site's own
number from your file — DraftKings' AvgPointsPerGame or FanDuel's
FPPG. That is a season average of actual fantasy points, not a forecast for
tonight: it knows nothing about the matchup, minutes, or an injured teammate, and early in the
season it rests on a handful of games (a player with one big game can look like a bargain). Upload
a projections CSV (or overwrite numbers in the list) and those replace it. The optimizer’s
job is squeezing the most out of whatever numbers you trust.
How do I use the Vegas lines? Load your file, then press Load Vegas lines in step 2. Each team gets an Impl number — the points Vegas expects it to score, from the game total and the spread. Sort the list by Impl to see the slate from the top down. NBA has no stacking, so the lines are used one way only: in step 3 → Tier 2 → Vegas rules, tick Scale projections by Vegas. It is off by default. When on, each player’s projection is multiplied by his team’s implied points divided by the slate’s average implied points, and a team with no line is left unscaled. The scaling is a guess for NBA and has not been validated. It does not change the blue checkboxes or the Proj column in your pool; the lineup projections shown do include it.
What does Update injury list do? It checks every player on your slate against ESPN’s
injury report. Players listed out, on IR or suspended are unchecked — tick them back if you
disagree; day-to-day, questionable and doubtful players just get a badge. Players the site itself lists as
Out (DraftKings OUT, FanDuel O) already start switched off when the file loads;
Questionable players stay on. Use On/Off by status above the player list to switch a whole status on
or off at once.
What does Check late news do? It is the button at the top of step 4, for use after the lineups are built. It asks ESPN’s injury report whether anyone in your lineups has been ruled out since you built them, then lists those players, shows how many of your lineups they are in, highlights those lineups and suggests a replacement for each. It is advice only: nothing is rebuilt and nothing is exported, so you swap the player by hand on the site.
What are saved setups? The Saved setups box at the top of step 3 keeps your rule settings so you can reuse them on any slate: name them and press Save current settings, then Load them later. A setup saves everything in the Rules card — preset, lineup count, team limits, exposure, cooldowns, uniqueness, the group lock numbers and the players in your group, and the star duels you ticked. It does not save the salary cap, tonight’s players, your locks and exclusions, or your typed projections — those change every slate. The Vegas scaling box is saved only while lines are loaded. Loading a setup puts any rule it does not mention back to the page default, so an older setup never leaves newer rules switched on. Setups live in this browser only (nothing is sent anywhere); a different browser or device starts empty. It keeps up to 20, and saving under an existing name replaces it.
Do you have one for baseball, football or hockey? Yes — MLB, NFL and NHL.
Get an email when we ship updates to the NBA optimizer. Low volume, unsubscribe anytime.
The rules are 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 NBA 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 →