mirror of
https://github.com/powdr-labs/powdr.git
synced 2026-01-09 14:48:16 -05:00
Extracts boolean variables as alternative constraints for all constraints in the solver. The exact implementation adds a layer of the Solver trait on top of an existing solver where we try to extract a boolean variable for all constraints that are added to the solver. The interface is also simplified a little in that we always start out with an "empty" solver and use the `add_algebraic_constraints` and `add_bus_interaction` functions to fill it with the system.