save_qplib¶ save_qplib(model: Model, filename: str | PathLike) → None¶ Save a model to a QPLIB file. パラメータ: model (Model) -- Model to write. filename (str | PathLike) -- Output file path. 例外: RuntimeError -- If the model is invalid for the QPLIB format (e.g., contains degree 3 or higher, or has invalid variable names / constraint labels).