lightninglarry
lightninglarry
to piggyback onto @Scottw1105 question, is there a way to force 1 or 2 sub 5% owned guys into every lineup? Or is total ownership the only contraint we can...
@McCampy i get this error when i use the code from other thread. Any thoughts? TypeError: '
> Try =< > […](#) > On Sun, Sep 5, 2021, 11:28 AM lightninglarry ***@***.***> wrote: @McCampy i get this error when i use the code from other thread. Any...
Fanduel, havent tried Draftkings. lineups = optimizer.optimize(n=2) optimizer.set_min_salary_cap(59500) optimizer.set_max_repeating_players(7) optimizer.restrict_positions_for_same_team(('RB', 'RB')) optimizer.restrict_positions_for_same_team(('QB', 'D'), ('RB', 'D')) optimizer.force_positions_for_opposing_team(('QB', 'WR'), ('WR', 'WR')) for lineup in lineups: print(lineup) heres my output: 1. QB Kyler...
thanks @DimaKudosh will try this when i get home. Didnt catch that i had that restrict twice.
> Is it possible to set max_exposure on optimizer.force_positions_for_opposing_team(('QB', 'WR'))? thanks my suggestion would be to just to run optimizer more than once. First run, with whatever pct you wanted...
i have no answer to your question, but maybe because on FD you can only have one C
> You should still be able to lock in a player to use in all lineups though, right? that is correct
> I don't necessarily have a solution to this problem, but how often do you really foresee a 5-man single game stack working out? Strictly from a philosophical point of...