Create a vector of ``sz`` real variables.
(prefix: str, sz: int)
| 1735 | |
| 1736 | |
| 1737 | def RealVector(prefix: str, sz: int) -> list[ArithRef]: |
| 1738 | """Create a vector of ``sz`` real variables.""" |
| 1739 | return [Real(f"{prefix}__{i}") for i in range(sz)] |
| 1740 | |
| 1741 | |
| 1742 | # --------------------------------------------------------------------------- |