Repository navigation
sdpb-python 0.3.0
Install
pip install sdpb-python --find-links https://github.com/YPWang0818/sdpb-python/releases/expanded_assets/v0.3.0
Wheels for Linux x86_64, CPython 3.10 to 3.13, glibc 2.28 or newer.
Changes since v0.2.1
- The wheels open no network sockets. The bundled MPICH is now built without a network module. In v0.2.1 and earlier it listened on a random TCP port on all interfaces, and any foreign connection to that port, such as a port scan on a shared server, aborted the running solve with
Assertion failed in file .../netmod/tcp/socksm.c. - Leaner wheels. SDPB is built with only the libraries the extension uses. The wheels bundle 18 libraries instead of 32 and are 69 MB instead of 75 MB. libarchive, libxml2, OpenSSL, zstd, lz4, bz2, acl and MPSolve are gone.
- Removed
solve_dirandSDPBResult(breaking).solve_dirwas the passthrough to SDPB's command line on ansdp/directory and was the only user of the removed libraries. Build the problem withread_pmp_jsonor thePMP/LMIclasses and call.solve()instead. - Building from source needs fewer dependencies: libarchive, libxml2 and MPSolve are no longer required.
Full Changelog: v0.2.1...v0.3.0