I was just trying to add conditional constraints to my model using the addGenConstrIndicator() method. However when I check the model status in my python console the number of constraints does not change. If I include it using a big M formulation the model does show an additional constraint.
How should I interpret this? Is there something wrong with my addGenConstrIndicator()? Is this something specific to the python console?
big M constraint. Constraints increase from 60 to 61.
Indicator constraint: The number of constraints does not increases but remains 61.
Please sign in to leave a comment.