PyKings.io

A linear programming tool for optimizing DraftKings NBA Showdown lineups. Built as a portfolio project to demonstrate optimization algorithms.

Try the Optimizer

How It Works

This project uses the PuLP library to solve the lineup optimization problem through linear programming techniques.

Upload Your Data

Upload a spreadsheet with player data including names, projected points, and salaries.

Optimization Process

The algorithm finds lineups that maximize projected points while respecting the salary cap constraint.

View Results

Review multiple optimized lineups with details on projected points and salary allocation.

Lineup Optimizer

A tool to generate optimal DraftKings NBA Showdown lineups using linear programming

Upload Player Data

Drag & drop your file here or

Generating optimal lineups...

This may take a few moments

Optimal Lineups

1/5

About This Project

PyKings.io is a portfolio project created to demonstrate practical applications of optimization algorithms and web development skills.

The project uses PuLP, an open-source linear programming library, to solve the lineup optimization problem with these constraints:

  • $50,000 salary cap
  • 6 players total (1 Captain, 5 Utility players)
  • Captain position with 1.5x points multiplier and 1.5x salary cost

This tool generates multiple lineup variations to provide options for fantasy sports contests.

10110101 01001010 11100111 10011001 01010101 00111100 11001100 10101010