qics.io.write_cbf¶
- qics.io.write_cbf(model, filename)[source]¶
Writes a conic program
\[ \begin{align}\begin{aligned}\min_{x \in \mathbb{R}^n} &&& c^\top x\\\text{s.t.} &&& b - Ax = 0\\ &&& h - Gx \in \mathcal{K}\end{aligned}\end{align} \]represented by a
Model
to a.cbf
file using the Conic Benchmark Format.- Parameters:
See also
write_cbf
Read file in the Conic Benchmark Format.