Skip to main content

No project description provided

Project description

ReadTheDocs PyPi PythonVersion Black

opt-sugar is a Python package meant to make the optimization operation (OptOps) tasks easier by providing the building blocks needed to use mlflow for mathematical optimization experimentation.

The project was started in oct 2022 by Juan Chacon.

Installation

Dependencies

opt-sugar requires:

  • Python (>= 3.8)

  • NumPy (>= 1.23.2)

  • GurobiPy (>= 9.5.2)

  • ScikitLearn (>= 1.1.2)

User installation

If you already have a working installation all the dependencies, the easiest way to install opt-sugar is using pip:

pip install -U opt-sugar

Read the docs here.

For Contributors

Releasing Package

To release the package to PyPI follow the next steps:

  1. Update version in setup.py file and push changes to GitHub.

  2. In GitHub create a tag with the same version as in the setup.py, then create a release using the tag you just created.

  3. Have a coffee, the Upload Python Package GitHub action will do the rest.

Updating Examples

Once the examples run locally using the imports with local paths in the examples:

  1. Remove the sys.path.append lines in the examples (commenting them by now is okay)

  2. Release to PyPI

  3. Add opt-sugar in the requirements-dev.txt

  4. Remove the docs/source/auto_examples folder content

  5. Generate the examples locally and push to repo

  6. Checkout any changes in the main branch

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

opt_sugar-0.0.4.7.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

opt_sugar-0.0.4.7-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file opt_sugar-0.0.4.7.tar.gz.

File metadata

  • Download URL: opt_sugar-0.0.4.7.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for opt_sugar-0.0.4.7.tar.gz
Algorithm Hash digest
SHA256 295a94dfb6f660ff4b7b9e440c39d29eaf7f774c21fd62c8cab6d39fa5fe7a44
MD5 2031c9397bc19a88326b6794fb407e36
BLAKE2b-256 feda35553173470075b8397b045430a8275c468ae11711cea066255e480ee375

See more details on using hashes here.

File details

Details for the file opt_sugar-0.0.4.7-py3-none-any.whl.

File metadata

  • Download URL: opt_sugar-0.0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for opt_sugar-0.0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 009066f42d0dc531ec28a5a52b50656f1add50917a7fe2026cbedcf77845dae5
MD5 5a0fb74c1a67210e49ef8e1f6309d614
BLAKE2b-256 bb44a0c340819b989c73b78cd383b72f995a344cf1bf3764cb015b6d3d2a884c

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