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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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