Skip to content

Conversation

@jdsalchow
Copy link

Add a cutting stock problem solver as an example for using branch and price to russcip.

I had to extend the API in two places:

  1. find_cons allows to find a constraint by name, wrapping SCIPfindCons
  2. dual_sol wraps SCIPgetDualsolLinear to give access to values of dual variables

Copy link
Member

@mmghannam mmghannam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @jdsalchow for the great contribution! I believe many will find this useful as a quick start implementation for column generation.
I went through the code and it looks good to me overall but I found some things that could be made nicer and left you some comments. Please let me know if anything is unclear and I'd be happy to help ^^

@mmghannam mmghannam enabled auto-merge March 9, 2025 07:58
@mmghannam mmghannam merged commit 84714d9 into scipopt:main Mar 9, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants