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.11:

  • Fix bugs in findsos().
  • Warning: for solvers in sossolve(), although SCS is installed and can be used by cvxpy, it may not work properly.

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

SOSPy-0.1.0.tar.gz (24.1 kB view details)

Uploaded Source

File details

Details for the file SOSPy-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for SOSPy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5687c88dd53e2cb18b631b0e5f4e58cf6e41c4ab537df69cba9529972f30737b
MD5 85cfba335123f7c68fdd86d5385bd553
BLAKE2b-256 939b1a41f93ef4818b20c893e05d615deff934b4053dcc7f8f155acf9c7dc8e7

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