-
Notifications
You must be signed in to change notification settings - Fork 110
Bug fixes on preprocess, line segment returning worse solution, temporary fix add B&B solution directly #27
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
Conversation
…nning kernels in other places too
…ion multiple times
… B&B solution not directly added
aliceb-nv
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.
LGTM, thanks!
cpp/src/mip/problem/problem.cu
Outdated
| temp_assignment.begin(), | ||
| assignment.begin()); | ||
| handle_ptr->sync_stream(); | ||
| auto has_nans = cuopt::linear_programming::detail::has_nans(handle_ptr, assignment); |
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.
This will cause errors if not caught before
| } | ||
|
|
||
| auto has_variable_bounds_violation = | ||
| cuopt::linear_programming::detail::has_variable_bounds_violation(handle_ptr, assignment, this); |
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.
Does it solve the issue if you pass original problem bounds here?
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.
Probably, i didn't try it. But it was not accepting the solutions we outputted with get_solution.
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.
Because bounds are scaled so I think this is the issue
hlinsen
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 Akif!
|
/merge |
This PR fixes bugs in