-
Notifications
You must be signed in to change notification settings - Fork 18
Implement cutting stock problem example #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement cutting stock problem example #216
Conversation
mmghannam
left a comment
There was a problem hiding this 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 ^^
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:
find_consallows to find a constraint by name, wrappingSCIPfindConsdual_solwrapsSCIPgetDualsolLinearto give access to values of dual variables