Denwen12
Denwen12
I couldn't get this to work but if anyone else has an idea? I see we have budget settings that can probably be fitted to work
I did a quick look in the team stack function so this may be possible but may need further discussion To achieve your goal of stacking primarily from batting positions...
It didn't work so disregard that I'll look more into it On Wed, Apr 10, 2024, 1:27 AM G Dub D ***@***.***> wrote: > ------------------------------ > > TypeError Traceback (most...
Try this Here's an example of how you can set the spacing parameter for positions 7, 8, and 9: optimizer.add_stack(TeamStack(3, for_teams=['ATL'], for_positions=['7', '8', '9'], spacing=9999)) By setting a high spacing...
Instead of positions change it to for_roster_order See what that will do On Wed, Apr 10, 2024, 2:11 AM G Dub D ***@***.***> wrote: > Got this Error > LineupOptimizerIncorrectPositionName...
Still looking into it On Wed, Apr 10, 2024, 2:16 AM G Dub D ***@***.***> wrote: > TypeError Traceback (most recent call last) > Cell In[234], line 1 > ---->...
Try this # Sort players based on roster order players.sort(key=lambda x: x.roster_order) # Select players for positions 1-6 selected_players = [player for player in players if player.roster_order in ['1', '2',...
I'll look into it more this weekend for you On Wed, Apr 10, 2024, 2:26 AM G Dub D ***@***.***> wrote: > NameError Traceback (most recent call last) > Cell...
Can you send your config to ***@***.*** On Wed, Apr 10, 2024, 2:27 AM joseph offen ***@***.***> wrote: > I'll look into it more this weekend for you > >...
Just the code On Wed, Apr 10, 2024, 2:35 AM G Dub D ***@***.***> wrote: > You want me to send the Excel file along with the Notebook? > >...