-
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, Positio…
-
Has anyone ever had a problem with Late Swap on NBA? It seems like my optimizer will get stuck and stop running. I removed all Exposures and restrictions but it just stops after a few lineups are bu…
-
Questions about min/max. Do i add the to my csv
This is my code im using, how would i use the min/max exposures in this code
from pydfs_lineup_optimizer import get_optimizer, Site, Sport, CSVLine…
-
When I run the simulation, I get lineups whose sum of player salaries exceeds the total of 50,000.
This is my code:
import os
os.chdir("C:/VM2/pydfs-lineup-optimizer-master")
from pydfs_lineup_…
-
DataSci student, python noob here.
I can get this code to work, for the most part. When I start trying to add the stacking feature, it breaks.
I can get this one to work, but this seems to be t…
-
I am using GameStack and TeamStack together. I aim to create a 5-3 stack from the same game.
Here is my code:
```
from pydfs_lineup_optimizer import Site, Sport, get_optimizer, TeamStack
from py…
-
Can anyone chime in on what im doing incorrectly?
Heres the error:
SolverInfeasibleSolutionException Traceback (most recent call last)
~\anaconda3\lib\site-packages\pydfs_lineup_optimizer\l…
-
Hi.
I wanna get CFB lineup optimizer.
Is there a way to get CFB lineup optimizer?
If pydfs-lineup-optimizer would had CFB lineup optimizer, it would be great for everyone.
If there is a way to get…
-
I'm digging into the code a bit, and trying to optimize using local projections:
```
from pydfs_lineup_optimizer import get_optimizer, Site, Sport, Player
import pandas as pd
player_ids = pd…
-
Anyone know why this wouldnt be working?
optimizer.restrict_positions_for_opposing_team(['P'], ['C', 'SS', 'OF', '1B', '2B', '3B'])
Traceback (most recent call last):
File "C:\Users\chris\Des…