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
your lineup optimizer code is awesome. I've tweaked it a bit to suit my needs but one thing I cannot figure out is how to ensure that at least one salary is at the minimum - $3500. It is trivial to make the single Center's salary set to the minimum but not trivial to check that (at least) one of the nine salaries is $3500.
Similarly, I'd like to see how to ensure that at least one salary is <= $3600 and at least one other is >= $10000 for instance. These kinds of simple constraints seem hard to code, but I am sure I am just missing something basic.
Any tips pointing me in the right direction would be greatly appreciated. I hope you are killing any Fan Duel tournaments, etc.
Cheers,
Aaron
The text was updated successfully, but these errors were encountered:
Dave,
your lineup optimizer code is awesome. I've tweaked it a bit to suit my needs but one thing I cannot figure out is how to ensure that at least one salary is at the minimum - $3500. It is trivial to make the single Center's salary set to the minimum but not trivial to check that (at least) one of the nine salaries is $3500.
Similarly, I'd like to see how to ensure that at least one salary is <= $3600 and at least one other is >= $10000 for instance. These kinds of simple constraints seem hard to code, but I am sure I am just missing something basic.
Any tips pointing me in the right direction would be greatly appreciated. I hope you are killing any Fan Duel tournaments, etc.
Cheers,
Aaron
The text was updated successfully, but these errors were encountered: