Skip to content

Fix presolved#95

Merged
Zebreu merged 1 commit into
mainfrom
seb/modernisationfix
Apr 21, 2026
Merged

Fix presolved#95
Zebreu merged 1 commit into
mainfrom
seb/modernisationfix

Conversation

@Zebreu

@Zebreu Zebreu commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

Note

Medium Risk
Changes how OR-Tools vehicle eligibility is enforced for nodes, which can affect feasibility and route assignments in presolved/warm-start runs. Risk is moderate because it touches core solver constraints but is localized to vehicle-allowlist handling.

Overview
Fixes vehicle eligibility constraints in the OR-Tools routing model by replacing SetAllowedVehiclesForIndex with direct VehicleVar(...).SetValues(...) restrictions.

This is applied to the deprecated clustering-based vehicle limiting, the presolved partition-to-vehicle pinning (and fallback for unpartitioned nodes), and the strict warm-start (reoptimize_subnodes == 'strict') path so nodes are consistently bound to the intended vehicle sets.

Reviewed by Cursor Bugbot for commit a8590e9. Bugbot is set up for automated code reviews on this repo. Configure here.

@Zebreu Zebreu merged commit fd3d284 into main Apr 21, 2026
2 checks passed
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