You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lineups = optimizer.optimize(20,exposure_strategy=AfterEachExposureStrategy)
for lineup in lineups:
print(lineup)
optimizer.export(r"C:\Users\brand\Desktop\PYTHON\NFL\NFLFANDUEL.csv")
optimizer.print_statistic()
GenerateLineupException: Can't generate lineups. Following constraints are not valid: min_games
The text was updated successfully, but these errors were encountered:
Heres my code:
Pretty generic, but it cant get past 3
from pydfs_lineup_optimizer import get_optimizer, Site, Sport, CSVLineupExporter
from pydfs_lineup_optimizer.stacks import TeamStack, PositionsStack, PlayersGroup
from pydfs_lineup_optimizer import AfterEachExposureStrategy
optimizer = get_optimizer(Site.DRAFTKINGS_TIERS, Sport.FOOTBALL)
optimizer.load_players_from_csv(r"C:\Users\brand\Downloads\TiersWk3DKSalaries.csv")
lineups = optimizer.optimize(20,exposure_strategy=AfterEachExposureStrategy)
for lineup in lineups:
print(lineup)
optimizer.export(r"C:\Users\brand\Desktop\PYTHON\NFL\NFLFANDUEL.csv")
optimizer.print_statistic()
GenerateLineupException: Can't generate lineups. Following constraints are not valid: min_games
The text was updated successfully, but these errors were encountered: