Repository navigation
feat(planner): depend on sketch-bench rqe-optimizer MILP - #794
Merged
Merged
Conversation
Add rqe-optimizer (sketch-bench main) as a git dependency of asap-planner-rs with a smoke test that solves a one-query MILP through HiGHS. Install cmake and libclang-dev for the HiGHS build in the planner and query-engine images and in the CI jobs that compile the planner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
A1 of #790.
asap-planner-rsdepends onrqe-optimizerfrom ProjectASAP/sketch-benchmain(lock pins964ccb58). Pin to an explicit rev after S8.asap-planner-rs/tests/rqe_optimizer_smoke.rssolves a one-queryminimize_costMILP through HiGHS.cmake,libclang-dev) added to:asap-planner-rs/Dockerfile(pluslibstdc++6at runtime, needed once the planner calls the solver)asap-query-engine/Dockerfile: the engine depends onasap_planner, so it compiles HiGHS toorust.yml(both jobs) and thecompare_patternsjob incorrectness.yml(also pulls in the planner)Interface for later sessions
rqe_optimizer::{milp::minimize_cost, objectives::MachineFamily, Rqe, Deployment, ...}at sketch-bench main. For local development against a sketch-bench checkout, add a[patch."https://github.com/ProjectASAP/sketch-bench"]withrqe-optimizer = { path = "../sketch-bench/rqe-optimizer" }in the workspaceCargo.toml(don't commit it).Rqe/Deployment.Verification
cargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo test -p asap_plannerdocker build -f asap-planner-rs/Dockerfile .anddocker build -f asap-query-engine/Dockerfile .both succeed; both binaries run in their runtime images.🤖 Generated with Claude Code