Skip to main content

Crate cobre_solver

Crate cobre_solver 

Source
Expand description

§cobre-solver

LP/MIP solver abstraction for the Cobre power systems ecosystem.

This crate defines a backend-agnostic interface for mathematical programming solvers, with a default HiGHS backend:

  • Solver trait: unified API for LP and MIP problem construction, solving, and dual/basis extraction.
  • HiGHS backend: production-grade open-source solver, well-suited for the LP subproblems in SDDP.
  • Basis management: warm-starting support for iterative algorithms that solve sequences of related LPs.

Additional solver backends (e.g., Clp, CPLEX, Gurobi) can be added behind feature flags.

§Status

This crate is in early development. The API will change.

See the repository for the full roadmap.