Originally posted by: nlp7
Hi,
I have some logical constraints in my formualation, specifically if some binary is zero, then a specific continuous must be zero too.
I modeled it both with a bigM that I calculated by myself, and with the CPLEX API that allows for direct modeling of logical constraints ( IloIfThen() ). Both of the approaches yield the same result, however the second one (IloIfThen), is 3 times slower!
Is there any way that we can provide to CPLEX some insight about a reasonable BigM so that we can accelerate things up? I would like to use the native logical description of the problem, because it makes it so much more readable, but really I cannot sacrifice that much of the performance.
Were we supposed to use the IloIfThen only when we have no clue about a reasonable BigM?
#CPLEXOptimizers#DecisionOptimization