Skip to content

Support PuLP 4 and external CBC in online DRT dispatch - #19974

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-drt-pulp-cbc-compat
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-drt-pulp-cbc-compat

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Refs #8256.

Summary

  • Create DRT variables through the problem when PuLP offers the new API.
  • Select CBC through COIN_CMD on PuLP 4 and retain support for the legacy bundled solver. Close TraCI and report the CBC installation options if no executable is available.
  • Read feasible CBC solutions through each PuLP API so dispatch can proceed when CBC reaches a time or gap limit with an incumbent.

Evidence

  • The new taxi-selection case fails on PuLP 4.3.1 with the current script. The patch dispatches the same taxi on PuLP 2.9.0 and PuLP 4.3.1 with real CBC executables.
  • All 13 existing DRT cases completed with PuLP 4.3.1. Eleven matched the recorded output. Two chose different valid schedules. The PuLP 2.9.0 replay reproduced the same single pre-existing fixture difference as the base.
  • The missing-CBC path emits a diagnostic. A standalone CBC executable on PATH also works.
  • PuLP 4 migration guide and CBC installation guide.

Merge Danger

Solver versions can choose different feasible routes. The regression uses a case with a unique cheapest taxi.

M-Colley and others added 3 commits December 5, 2026 02:52
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
@behrisch
behrisch force-pushed the codex/sumo-drt-pulp-cbc-compat branch from dd80a29 to 3910c5d Compare December 5, 2026 01:52
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