Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimal Card Usage #692

Open
RajeshTailor1 opened this issue Sep 27, 2024 · 3 comments
Open

Optimal Card Usage #692

RajeshTailor1 opened this issue Sep 27, 2024 · 3 comments

Comments

@RajeshTailor1
Copy link

Is there a switch that we can use when it comes to optimisation where we don't know which card would be best could be triple captain/wildcard etc and let the algorithm suggest which card would be best for which gameweek.

@nbarlowATI
Copy link
Member

Good question! If you put "0" as "wildcard_week", "triple captain_week" etc, it will try that card in all the weeks that it's running optimization over, so if you try all of them, --wildcard_week 0 --triple_captain_week 0 --bench_boost_week 0 --free_hit_week 0, then it will try all possible combinations (but will take a long time if looking more than a couple of weeks ahead!)
What I think you're asking, and which we don't have, but would be nice, is for the situation where there are perhaps lots of double-gameweek teams, and we know we want to play one chip, but we don't know which one... I guess we could add a new argument called something like --any_chip_week X, and it would try all chips for gameweek X.
Does that sound like what you're thinking of?

@RajeshTailor1
Copy link
Author

Spot on. Exactly what I was thinking the any chip week would be a great addition :)

@nbarlowATI
Copy link
Member

OK excellent! I'll make a separate Issue for it, with some thoughts on how it can be done, and we can see if any helpful Hacktoberfest participants (or anyone else) wants to have a go.... Otherwise, one of us will implement it when we have a bit of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants