Skip to content

Port tiger to rust#794

Draft
oflatt wants to merge 28 commits into
mainfrom
oflatt-port-tiger
Draft

Port tiger to rust#794
oflatt wants to merge 28 commits into
mainfrom
oflatt-port-tiger

Conversation

@oflatt

@oflatt oflatt commented Apr 30, 2026

Copy link
Copy Markdown
Member

No description provided.

@oflatt oflatt changed the title Oflatt port tiger Port tiger to rust Apr 30, 2026
oflatt and others added 2 commits July 7, 2026 22:13
… + graph gating)

Ports the gurobi-optional work onto the Rust tiger port:

- tiger-rs (config/main/time_ilp): in --time-ilp, run Gurobi only when the
  selected solver is gurobi; with --ilp-solver cbc skip it (CBC always timed),
  source the encoding-var count from CBC, and emit ilp_ran so the consumer can
  tell a skipped Gurobi run from a real one. Fixes the ILP-comparison abort on
  machines without gurobi_cl.
- dag_in_context/lib.rs: parse ilp_ran; do not panic on a missing Gurobi
  duration when Gurobi was skipped.
- dag_in_context/build.rs: don't let `cargo clippy` leak its wrapper into the
  nested tiger-rs build (fixes the `nits` failure).
- infra: gurobi auto-detection, --use-gurobi/--no-gurobi flags, and per-data
  graph gating so tiger/CBC/statewalk/normalized graphs render without Gurobi.
- setup_gurobi.sh + README/Makefile/requirements/install docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Brings the three follow-up fixes from oflatt-gurobi-optional onto the Rust port:
- normalized chart guards against ILP treatments with no cycles (has_run_cycles)
- make_macros filters benchmarks whose ILP comparison produced no timings
- configurable per-region ILP timeout: eggcc --ilp-timeout-seconds -> tiger-rs
  (which already honored g_config.ilp_timeout_seconds); NightlyConfig uses 30s
  for the default nightly and 5min for paper, and graphs report the actual
  timeout ('30 s' vs '5 min').

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants