Module poptools.io

Functions

def read_sdpa_sparse_from_string(dats: str) ‑> poptools.opt._sdp.SemidefiniteProgram

Reads a semidefinite program from a string in SDPA sparse format (.dat-s). See, for instance, the docs of sdpa-python for details. The objective sense of the primal as defined by SemidefiniteProgram is 'max' by SDPA convention.