Repository navigation
chore: Sync upstream 0.18.2 - #11
Merged
Merged
Conversation
ankane#98 [skip ci] Co-authored-by: edolix <edo91.gallo@gmail.com>
erickreutz
marked this pull request as ready for review
November 18, 2026 16:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bring the Lugg fork current with upstream 0.18.2 (
02e60cd). Upstream's 20 commits since the last sync (#9) add CP-SAT methods, release tooling and one install-time change. None of them touch the routing code that the dispatch planner uses.add_at_most_one,add_exactly_one,objective?andclear_objectivetoCpModel, plus moreCpSolverandCpSolverSolutionCallbackmethods.vendor.rbnow passesexception: truetotar, so a failed extraction of the downloaded OR-Tools archive raises instead of letting the build continue.The merge had no conflicts. Upstream changed no file that carries the Lugg routing extensions (
ext/or-tools/routing.cpp,lib/or_tools/routing_model.rb). Solution tracing, piecewise cumul costs, callback-aware GVL release, restoration time limits andcheck_limitare unchanged.CHANGELOG.mdnow matches upstream exactly. The merge had kept the fork'sset_cumul_var_piecewise_linear_costentry under upstream's released 0.18.1 heading, but upstream shipped 0.18.1 without it (ankane#84 was declined). The README still documents the method, as it does the other fork extensions. A changelog identical to upstream keeps future syncs free of conflicts in that file.The full native suite passes locally on macOS with Ruby 3.4.12 and Rice 4.12.0, including the fork's routing regressions. Merge this PR with a merge commit so upstream ancestry stays intact. Do not squash or rebase it. The API pin changes separately in https://github.com/lugg/api/pull/4662, which pins this branch's head commit.