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.8.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opt_sugar-0.0.4.8.tar.gz
Algorithm Hash digest
SHA256 b8338528110cc229c46047b44120c1e8325658235f653e27c128184e69a4c4a3
MD5 51590ea1db58a47620304068edff3f10
BLAKE2b-256 c11ab451c395aa03afb8127e4a92979d2ae1402b90120a25583cbd18de5601a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opt_sugar-0.0.4.8-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.16

File hashes

Hashes for opt_sugar-0.0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e0353fe53eadbbd912dbeb6d8ed028cb1ca12e79cfc004ffd13ef07a3bf8b6
MD5 d265f648b33999479dd8063cceec4756
BLAKE2b-256 62e25847f68c789cfcc4a567d287d12ce7b8aaf875a7c47ad775aa6ea86ff542

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