Skip to main content

Python version of MATLAB SOSTOOLS, a toolbox for sum-of-squares optimization

Project description

This package is a Python version of MATLAB TOOLBOX -- SOSTOOLS.

This package contains functions based on sympy package. However, in case of a large number of decision variables, sympy may take a long time to parse the data.

Demos are in the folder SOSPy_demos.

Updates in version 0.1.10:

  • Print latex form of the solution when calling sosgetsol().
  • Adjust the logic of changing solvers when one encounters failure.

Updates in version 0.1.9:

  • Fixed some bugs
  • When creating an SOS program, the code searches for and prints out all installed and available solvers.
  • We have added cvxpy as a solver. As a result, users can now utilize other solvers through cvxpy.
  • The solvers we currently support are mosek and cvxpy.
  • It's worth noting that since cvxpy acts as a parser, certain results cannot be read after executing with cvxpy. This includes details like the iteration number, primal infeasible, and dual infeasible.

Contributors:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SOSPysp-0.1.10.tar.gz (23.9 kB view details)

Uploaded Source

File details

Details for the file SOSPysp-0.1.10.tar.gz.

File metadata

  • Download URL: SOSPysp-0.1.10.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for SOSPysp-0.1.10.tar.gz
Algorithm Hash digest
SHA256 cd935867cb9a8d92e1ebfdb4c997c9c70aa61807631739439048f784b38cd105
MD5 63a9ca4b44e71c44ad72122b077dac5b
BLAKE2b-256 ba034a5daedf18e916aba2061f87f8dfb0d1a05e545ff56ee590e5fabbb48471

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page