Python API reference#
The public wrapper is intentionally small. Formula and cancellation objects are native PyO3 classes. Solver entry points expose explicit keyword settings; configuration dataclasses are optional compatibility records, created lazily when requested. Snapshots and structured results wrap the same Rust solver.
Immutable normalized CNF formula with one-based signed literals. |
|
Optional immutable compatibility record for algorithm parameters. |
|
Optional compatibility record for hardware and profiling settings. |
|
Independent mutable BSP state with inspectable message passing. |
|
Owned result record returned by |
|
Thread-safe, one-way cancellation handle obtained from a Solver. |
|
Construct a fresh solver and return one terminal result. |
|
Solve independent jobs with bounded workers and stable input order. |
|
Read a DIMACS CNF file into a normalized |