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

allowing 0 capacity constrain #1544

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bam241
Copy link
Member

@bam241 bam241 commented Apr 27, 2020

Allows 0 capacity constrain to be set,

Developer can set a capacity constrain based on a variable without having to check that the constrain they are setting is >0 , also this might be hard to debug as it will only show up at run time in some cases.
So I think that instead of throwing an error at runtime, we should allow it, as 0 capacity bid should not impact the DRE solver.

what do you think @gonuke ?

@gonuke
Copy link
Member

gonuke commented Apr 27, 2020

This seems like something that could have deep but subtle implications to the functioning of the DRE! I wonder if it is worth considering what this means in the context of the formal definition of the DRE and its constraints.

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

Successfully merging this pull request may close these issues.

None yet

2 participants