pulp icon indicating copy to clipboard operation
pulp copied to clipboard

Add support for MaxNode option with CBC solver

Open E-Aho opened this issue 3 years ago • 1 comments

This commit adds support for the maxNodes option for the CBC solver. Includes a simple test to make sure the option is implemented correctly.

I originally tried to create a test to show that using the maxNodes option would cause the CBC solver to terminate upon reaching that number of nodes, but couldn't find an intuitive way to read the Enumerated Nodes or "stopping reason" outputs of the sovler in test cases.

E-Aho avatar Sep 22 '22 10:09 E-Aho

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 22 '22 10:09 CLAassistant

Pinging @pchtsp to check if there's any update on this PR :)

For reference, I've been using the change in this fork since raising the PR and it has been working fine

E-Aho avatar Jan 05 '23 14:01 E-Aho

sorry for the troubles, I've added the maxNodes argument as explained in the comments https://github.com/coin-or/pulp/pull/690. I'm closing the PR.

pchtsp avatar Oct 02 '23 10:10 pchtsp