-
Notifications
You must be signed in to change notification settings - Fork 255
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
Generic indicator names #930
Conversation
Two things:
|
…neric-indicator-names
@Opt-Mucca yep, I made an oopsie when branching. As for your second point, the indicator constraints now have the same behavior as normal constraints - default |
It is not the same as normal constraints. You have changed the default name to "indicatorCons", which will bypass your change to Edit: So my request change would be to have Double edit: I don't know how the tests are passing...... Have I misunderstood something? |
@Opt-Mucca I don't think so, I think I changed the default name from |
I am blind and an idiot............. |
Indicator constraints all had the same name by default. They now have the same default naming convention as other constraints.
I did discover a big bug that I'll fix later. When a model has indicator constraints and is optimized, all the constraints disappear. Not good. The tests are failing because of the assertion I added detecting this. EDIT: I'm very dumb, by default
getNConss
returns the number of constraints of the transformed problem.