UFC DFS lineup optimizer
invoke_mma_optimizerBuilds the highest projected UFC lineups for a DraftKings or FanDuel slate with an exact solver. DraftKings: 6 fighters under $50,000. FanDuel: the top fighter in each lineup is the MVP (1.5x points), 5 more fighters, under $100. Options: number of lineups, minimum unique fighters between lineups, maximum fighters from the same bout, lock and exclude by name, objective (projection, ceiling or a blend) and a cap on total ownership. Returns each lineup with salary, projection, ceiling and total ownership, plus the exposure of each fighter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | Fighter names that must be in every lineup. | |
| site | No | dk = DraftKings, fd = FanDuel. Picks that site's main slate when slate_id is not given. | |
| count | No | Number of lineups, 1 to 20. Default 5. | |
| exclude | No | Fighter names to leave out. | |
| slate_id | No | Slate id from mma_list_slates, for example dk:154571 or fd:552. Default: the DraftKings main slate of the next card. | |
| objective | No | proj (default, cash games), ceil (85th percentile, tournaments) or blend (65 percent projection, 35 percent ceiling). | |
| min_salary | No | Minimum salary used, in site units (dollars on DK, FanDuel dollars on FD). | |
| min_unique | No | Minimum different fighters between any two lineups, 1 to 6. Default 2. | |
| contest_type | No | Contest type for projected ownership. Default 150max. | |
| max_per_fight | No | Maximum fighters from one bout, 1 or 2. Default 1. | |
| max_total_own | No | Maximum sum of projected ownership in a lineup, in percent (0 = off). For tournaments. |