Create a vector of ``sz`` boolean variables.
(prefix: str, sz: int)
| 1730 | |
| 1731 | |
| 1732 | def BoolVector(prefix: str, sz: int) -> list[BoolRef]: |
| 1733 | """Create a vector of ``sz`` boolean variables.""" |
| 1734 | return [Bool(f"{prefix}__{i}") for i in range(sz)] |
| 1735 | |
| 1736 | |
| 1737 | def RealVector(prefix: str, sz: int) -> list[ArithRef]: |