Snapshot
Ultimate Best 11
Best lineup xP, no team limit, no budget limit, no bench players
Total Cost
{{ field_solution_1.cost }}
Lineup xP
{{ field_solution_1.lineup_xp }}
Weighted xP
-
BB xP
-
Avg Own
{{ field_solution_1.avg_own }}
{{ String(player.xP).split(".")[0] }}.{{ String(player.xP.toFixed(2)).split(".")[1] }}{{ player.web_name }}{{ player.team_name.name }}£{{ player.now_cost_str }}
Best Lineup
Best lineup xP under £100 budget
Total Cost
{{ field_solution_2.cost }}
Lineup xP
{{ field_solution_2.lineup_xp }}
Weighted xP
{{ field_solution_2.weighted_xp }}
BB xP
{{ field_solution_2.bb_xp }}
Avg Own
{{ field_solution_2.avg_own }}
{{ String(player.xP).split(".")[0] }}.{{ String(player.xP.toFixed(2)).split(".")[1] }}{{ player.web_name }}{{ player.team_name.name }}£{{ player.now_cost_str }}
Best Squad - Weighted
Best squad xP (10% weight on bench players) under £100 budget
Total Cost
{{ field_solution_3.cost }}
Lineup xP
{{ field_solution_3.lineup_xp }}
Weighted xP
{{ field_solution_3.weighted_xp }}
BB xP
{{ field_solution_3.bb_xp }}
Avg Own
{{ field_solution_3.avg_own }}
{{ String(player.xP).split(".")[0] }}.{{ String(player.xP.toFixed(2)).split(".")[1] }}{{ player.web_name }}{{ player.team_name.name }}£{{ player.now_cost_str }}
Best Squad - Bench Boost
Best squad xP with Bench Boost chip activated under £100 budget
Total Cost
{{ field_solution_4.cost }}
Lineup xP
{{ field_solution_4.lineup_xp }}
Weighted xP
{{ field_solution_4.weighted_xp }}
BB xP
{{ field_solution_4.bb_xp }}
Avg Own
{{ field_solution_4.avg_own }}
{{ String(player.xP).split(".")[0] }}.{{ String(player.xP.toFixed(2)).split(".")[1] }}{{ player.web_name }}{{ player.team_name.name }}£{{ player.now_cost_str }}
Best Differential Squad
Best weighted squad xP under £100 budget and under 5% ownership
Total Cost
{{ field_solution_5.cost }}
Lineup xP
{{ field_solution_5.lineup_xp }}
Weighted xP
{{ field_solution_5.weighted_xp }}
BB xP
{{ field_solution_5.bb_xp }}
Avg Own
{{ field_solution_5.avg_own }}
{{ String(player.xP).split(".")[0] }}.{{ String(player.xP.toFixed(2)).split(".")[1] }}{{ player.web_name }}{{ player.team_name.name }}£{{ player.now_cost_str }}
Best Set-and-Forget Squad
Best weighted squad xP per GW for 8 weeks under £100 budget
Total Cost
{{ field_solution_6.cost }}
Lineup xP
{{ field_solution_6.lineup_xp }}/GW
Weighted xP
{{ field_solution_6.weighted_xp }}/GW
BB xP
-
Avg Own
{{ field_solution_6.avg_own }}
{{ String(player.xP).split(".")[0] }}.{{ String(player.xP.toFixed(2)).split(".")[1] }}{{ player.web_name }}{{ player.team_name.name }}£{{ player.now_cost_str }}
Q/A
What do you mean by `optimal`?

All instances are solved to optimality using mathmetical modeling. Data is provided by FPL Review, problems are modeled using sasoptpy package and finally solved using open-source CBC solver. You can see the modeling source code here. Feel free to clone the repository and play with the model.

I found a better squad, how about it?

You can find another squad with exactly the same objective value, but cannot get anything strictly better. Optimization models are solved to exact optimality.

How often / when do you update this page?

This page is automatically built everyday using GitHub Actions, and updated 4 times (4:00, 10:00, 16:00, 22:00 GMT) and whenever there is a code change.

I have a suggestion or improvement to your model. How can I contribute?

Feel free to submit a pull request on GitHub, or open an issue.

Are you using these solutions for your team?

You bet I do! I solve an optimization model every week and use the forecast for next 8 gameweeks, but it is a bigger model. I use SAS Optimization for every decision, from transfers to chip usage for my team Optimized FC (ID: 2221044). I tweet regularly on optimization, sports analytics, and FPL on Twitter.

I would like to use optimization for FPL, too! Where can I start?

Depends on where you feel more comfortable working at: Solver add-in is available on Microsoft Excel and several open-source and commercial solvers have interfaces to programming languages. I maintain the Python interface for SAS Optimization that I have mentioned (sasoptpy) and would be happy to answer your questions on Twitter.

Icons made by Freepik from www.flaticon.com
Last update: 2023-07-24T16:22:56.792982+00:00