Originally posted by: davidoff
Hello
I'm adapting the C sample admipex6.cpp to output a particular set of cuts generated by Cplex on a given MIP model.
Basically, I'm first setting all parameters for the other cuts to -1 ( e.g
CPXsetintparam (env, CPX_PARAM_CLIQUES , -1)
...)
Then printing the current LP file during each call to the solve callback.
I tried to deactivate the presolve in this callback : I commented the line
status = CPXgetprestat (env, mip, &prestat, NULL, NULL, NULL, NULL);
But apparently, the cuts seems exactly the same. And there are clearly some informations on variable bounds that let me think that the presolve has been done however.
Is that the correct way to proceed ?
Thanks
David Gravot
#CPLEXOptimizers#DecisionOptimization