-
Notifications
You must be signed in to change notification settings - Fork 379
Add support for disabling use of routing entirely at the compiler level #676
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
Add support for disabling use of routing entirely at the compiler level #676
Conversation
- Allows the compile to take place without ASIO - Optimization still works if using a custom cost matrix - Default compilation behaviour should be identical to previous - To compile, just run `USE_ROUTING=false make`
Thanks for submitting this idea and a PR. It makes perfect sense to have an easy way to drop unused stuff when only using custom matrices. |
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.
I think this is fine as soon as we have a proper handling of input with missing custom matrices.
Please also add a changelog entry and run clang-format
.
- Still include headers for routing, but don't compile .cpp files - Throw an exception when trying to call the router if we weren't compiled with routing support
@jcoupey Thanks for the feedback. I believe I have incorporated all of the requested changes. Please let me know if you feel I've missed anything. |
Thanks for the changes, the diff is actually much simpler now. I'll simply remove modification for older changelog entries (probably automatic IDE formatting) before merging. |
Hi @jcoupey, any idea about when the next release will be that will capture this change? I see it's been a few months since the last release and wonder if there will be one soon. Thanks! |
Except for the entry on PDPTW, unreleased stuff is pretty much technical but not directly related to solving. The next release will probably wait for more solving-related stuff to be included in |
USE_ROUTING=false make
Issue
Fixes #675