Skip to content

Commit 6541f49

Browse files
refactor(planner): delete the greedy optimizer (#807)
* refactor(planner): delete the greedy optimizer The rqe-optimizer MILP replaces it. Removes candidate_gen, cost_model, greedy, sketch_properties, constants, translator, label_set_facts, pipeline, the profile-selecting cost loader and candidate-gen-dump. Hint extraction moves into milp.rs, and asap-optimizer-cli is MILP-only (--milp and the greedy flags are gone). Refs #790 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: remove the greedy optimizer example configs Refs #790 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent ed2c3e1 commit 6541f49

21 files changed

Lines changed: 140 additions & 3919 deletions

‎.design_docs/optimizer-label-set-facts.example.yaml‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎.design_docs/optimizer-workload.example.yaml‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎asap-planner-rs/Cargo.toml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ path = "src/main.rs"
1515
name = "asap-optimizer-cli"
1616
path = "src/bin/optimizer_cli.rs"
1717

18-
[[bin]]
19-
name = "candidate-gen-dump"
20-
path = "src/bin/candidate_gen_dump.rs"
21-
2218
[[bin]]
2319
name = "benchmark-promql-status"
2420
path = "src/bin/benchmark_promql_status.rs"

‎asap-planner-rs/Dockerfile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ COPY asap-planner-rs/Cargo.toml ./asap-planner-rs/
2222
RUN mkdir -p asap-query-engine/src && echo "fn main() {}" > asap-query-engine/src/main.rs && \
2323
mkdir -p asap-planner-rs/src/bin && echo "fn main() {}" > asap-planner-rs/src/main.rs && \
2424
echo "fn main() {}" > asap-planner-rs/src/bin/optimizer_cli.rs && \
25-
echo "fn main() {}" > asap-planner-rs/src/bin/candidate_gen_dump.rs && \
2625
echo "fn main() {}" > asap-planner-rs/src/bin/benchmark_promql_status.rs && \
2726
echo "pub fn placeholder() {}" >> asap-planner-rs/src/lib.rs
2827

‎asap-planner-rs/src/bin/candidate_gen_dump.rs‎

Lines changed: 0 additions & 249 deletions
This file was deleted.

0 commit comments

Comments
 (0)