Skip to content

Add routing improvement limits - #85

Open
erickreutz wants to merge 1 commit into
ankane:masterfrom
lugg:eric/upstream-routing-improvement-limits
Open

Add routing improvement limits#85
erickreutz wants to merge 1 commit into
ankane:masterfrom
lugg:eric/upstream-routing-improvement-limits

Conversation

@erickreutz

Copy link
Copy Markdown
Contributor

OR-Tools exposes native improvement-rate stopping through RoutingSearchParameters::improvement_limit_parameters, but the nested parameters are not available in Ruby. This adds a Ruby hash getter and setter for the coefficient and solution-distance fields.

The interface mirrors the native parameter names and remains independent from solution tracing. Existing routing search behavior is unchanged unless the parameters are set.

Expose native improvement-rate stopping through routing search parameters. Keep the interface independent from solution tracing and preserve existing behavior unless configured.
@erickreutz erickreutz changed the title feat(routing): Add improvement search limits Add routing improvement limits Jul 28, 2026
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.

1 participant