I am using a lazy constraint callback in a model that I created with docplex.mp, fairly similar to the Traveling Salesman example that you can find in the answer to
this StackOverflow post. I noticed this message in the log:
Warning: Control callbacks may disable some MIP features.
Lazy constraint(s) or lazy constraint/branch callback is present.
Disabling dual reductions (CPX_PARAM_REDUCE) in presolve.
Disabling presolve reductions that prevent crushing forms (CPX_PARAM_PREREFORM).
Disabling repeat represolve because of lazy constraint/incumbent callback.
According to the CPLEX manual, there is a newer "generic callback" mechanism that "
does not require disabling any MIP features." This makes me thing that my problem might reach its solution faster if I used generic callbacks instead of legacy callbacks. Is it possible to write and use generic callbacks in Python? I don't see anything in the docplex.mp manual about generic callbacks. What would it take to use generic callbacks with docplex.mp?------------------------------
Leo Singer
------------------------------
#DecisionOptimization