-
It would be helpful to add "projected_ownership_min" and "projected_ownership_max" properties to the Player class and a corresponding constraint in the optimizer.
For the Player class, the values f…
-
Trying to get initial installation and having a little trouble.
MacOS
pip 10.0.1
Python 2.7.15
After running: $ pip install pydfs-lineup-optimizer
Output shows:
Requirement already satisfied…
-
KeyError Traceback (most recent call last)
in ()
----> 1 optimizer.load_players_from_CSV("FanDuel-MLB-2018-05-15-25805-lineup-upload-template.csv")
~\Desktop\pyd…
-
What's the correct way to catch this exception? I can't for the life of me catch it.
Even this doesn't work.
```
try:
lineup_generator = optimizer.optimize(10)
except:
pass
```
I…
-
How can I set salary constraint on the lineup optimizer? e, g. I want to set a min total salary to be $59900 for all lineups in fanduel. Thanks for the help.
-
Dima,
line 7, in
for lineup in lineup_generator:
line 478, in optimize
lineup = self._build_lineup(lineup_players)
line 312, in _build_lineup
players.sort(key=lambda p: (len(p.pos…
-
From reviewing the code, I can't tell if the optimizer handles multi-position eligibility