there is an inbuilt preprocessing in CBC solver , which affects the optimality of my solution , I get the optimal output by turning this off in command prompt . How do I turn this off using pulp ?
1 Answer
You can use presolve parameter and can pass it to solver(CBC) using following statement (model is your problem object)
model.solve(pulp.PULP_CBC_CMD(presolve=False))
-
1$\begingroup$ coin-or.github.io/pulp/technical/solvers.html $\endgroup$– KuifjeApr 22, 2022 at 11:43
-
$\begingroup$ This did not work for me. The presolve is still being conducted, and it led my LP to be 'infeasible.' $\endgroup$– ghjkJul 11 at 20:36
-
1