3
$\begingroup$

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 ?

$\endgroup$

1 Answer 1

6
$\begingroup$

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))
$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.