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

Uploaded Source

Built Distribution

opt_sugar-0.0.4.9-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opt_sugar-0.0.4.9.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.9.tar.gz
Algorithm Hash digest
SHA256 8777b6b3bdf08d2709b38aa62e046c2cabd312896d2c2eb3cb6bcad1f513cdd3
MD5 10dbf4ce0b81dcabd35996460d7b2909
BLAKE2b-256 2b5168e7319c29de2db28759e942afe2babcdd3ee64ced60fdd273f6dc19b919

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opt_sugar-0.0.4.9-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 edcef606724e4c38c9748536e4939237ca31cf92491dd5c250cf07ff74fab8ce
MD5 6b5495fd35636882ce1e5c0bf08ec726
BLAKE2b-256 cddae3a7e1f412f35e7efe78652d5cb5e4316e14ba2458795beef6060e87c2a8

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