Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit one salary to minimum #2

Open
ashickerson opened this issue Jan 16, 2019 · 0 comments
Open

Limit one salary to minimum #2

ashickerson opened this issue Jan 16, 2019 · 0 comments

Comments

@ashickerson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant