This repository contains two crates:
rsdsl— runtime AST + SCIP.lpcode generator + re-exported proc-macrorsdsl_macros—rsdsl!{ ... }proc-macro parser
- A compact DSL to write ILP models for placement/routing/state-propagation problems.
- Deterministic lowering to SCIP LP format.
- A practical
sources+add+OR(...)pattern to avoid gigantic OR expressions.
# from repo root
cargo run -p rsdsl --example not_gate > out.lp
scip -c "read out.lp optimize display solution quit"- See
SPEC.mdfor the full language specification and lowering semantics. - See
rsdsl/examples/not_gate.rsfor a complete model example.