Silver Reyes
On view: 11, 8 live
R-01 Optimizer All exhibits
Opened 2026-03-13 Golf Optimizer: offseason

GameBlazersGolfOptimizer

Optimal DFS lineups for PGA Tour events, solved as an Integer Linear Program: salary caps, collection limits and cross-contest card exclusivity as constraints, third-party player projections and GameBlazers card multipliers as the objective. The GameBlazers Golf Optimizer is in its offseason since 2026-08-26 and returns for the 2027 season.

Figure: lineups as columns (five drawn, a sketch rule), six cards per column as drawn; the GameBlazers Golf Optimizer contests set 5 or 6. The shaded card is held exclusive to one contest.
Status GameBlazers Golf Optimizer: offseason since 2026-08-26, returns for the 2027 season. Placeholder at gameblazers.silverreyes.net/golf
RoleDesign, architecture, testing and operation; built with AI coding agents.
StackPython, Flask, PuLP, PostgreSQL, Docker, Nginx
Sourcegithub.com/silverreyes/GB-Golf-Optimizer

The decision

Problem, decision, measured result

Problem

A full set of lineups for a PGA event under a salary cap, with cards that cannot repeat across contests.

GameBlazers runs daily-fantasy golf with a card system of its own: collection limits, a card multiplier, and the rule that a card is exclusive to one contest at a time. Two contests run at once, The Tips and Intermediate Tee, each with its own salary cap and lineup size, and the number of legal lineup sets is far too large to compare by eye.

Decision

Treat it as an Integer Linear Program, not a ranking.

Every card-in-lineup choice is a binary variable. Salary caps, collection limits and cross-contest exclusivity become linear constraints. Third-party player projections weighted by the GameBlazers multipliers become the objective. PuLP solves the program; PostgreSQL holds the cards, projections and results; Flask serves it behind Nginx in Docker.

Result

Sub-500 ms typical from request to the full set of lineups.

The GameBlazers Golf Optimizer returns up to 10 lineups across its two contests, 6 for The Tips and 4 for Intermediate Tee, with 5 or 6 cards each, in under half a second typical on the production VPS. In production at gameblazers.silverreyes.net/golf/ from 2026-03-13; in offseason since 2026-08-26, returning for the 2027 season.

Evidence

Each number with its source
  • Solve time <500 ms Source: CHANGELOG.md 1.2.0, "sub-500 ms typical on the production VPS"; a stated claim, no raw timings.
  • Lineups per solve up to 10 Source: GameBlazers Golf Optimizer contest_config.json and the 2026-04-27 change: 6 for The Tips plus 4 for Intermediate Tee, across the two contests.
  • Cards per lineup 5 or 6 Source: GameBlazers Golf Optimizer contest_config.json: The Tips 6, Intermediate Tee 5.
  • Salary caps The Tips $30,000 to $64,000; Intermediate Tee $20,000 to $52,000 Source: contest_config.json.
  • Constraints Salary caps, collection limits, cross-contest card exclusivity Source: project record.
  • Projections Third-party fantasy player projections, fetched on a schedule on Tuesday and Wednesday (paused in the offseason); GameBlazers card multipliers Source: project record.
  • Opened 2026-03-13, go-live Source: project record.
  • Last change 2026-04-29, v1.2.2 Source: project record.
  • Season GameBlazers Golf Optimizer offseason since 2026-08-26; the /golf page shows a placeholder; returns for the 2027 season Source: project record.

How the solve works

The program, sketched: cards in, constraints and objective applied, the lineups out
card poolshaded: held exclusive to another contest CONSTRAINTSsalary capcollection limitscross-contest card exclusivity OBJECTIVEPlayer projectionsthrough GameBlazers card multipliers SOLVERPuLP UP TO 10 LINEUPSUNDER 500 MS under the salary cap5 or 6 cards per lineup; six drawn
Figure: a sketch of the program's shape from the project record. Cell counts and the exact variable layout are illustrative; the constraints, the projection source, the solver and the output of up to 10 lineups are real.

The output

The call that produces it; the GameBlazers Golf Optimizer service is paused for the offseason
Label plate: the GameBlazers Golf Optimizer callIllustrative
 # shape of the optimizer request; field names illustrative
POST /golf/optimize
{
  "event":    "<event id>",
  "cards":    "<n>",
  "lineups":  "<up to 10, set by contest>",
  "constraints": {
    "salary_cap":        "<cap>",
    "collection_limits": true,
    "cross_contest_exclusive": true
  }
}

# response
200 OK   solve_ms: <n>   (target <500)
{ "lineups": [ up to 10 lineups of 5 or 6 cards each ] } 
The endpoint path, field names and the response shape are illustrative until the Owner confirms them against the repo. Numbers that are not project facts are left as angle-bracket slots.

Stack and links

Everything that runs it, as stickers
PythonFlaskPuLPPostgreSQLDockerNginx
R-02

NFL Nostradamus

Retired