Search code examples
cplexpyomo

Pyomo turn off presolve of cplex


I have the problem that i have a iterable model with mutable variable and when cplex find a Infeasible result using the presolve it does have any result to iter with lastone.

Does someone know have to turn off the cplex's presolve?

I'm using Cplex 12.10. And I havent found the way to sett it in that way. Thanks


Solution

  • opt = SolverFactory("cplex")
    opt.options['preprocessing presolve'] = 0
    

    Turns presolve off