No project description provided
Project description
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:
Update version in setup.py file and push changes to GitHub.
In GitHub create a tag with the same version as in the setup.py, then create a release using the tag you just created.
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:
Remove the sys.path.append lines in the examples (commenting them by now is okay)
Release to PyPI
Add opt-sugar in the requirements-dev.txt
Remove the docs/source/auto_examples folder content
Generate the examples locally and push to repo
Checkout any changes in the main branch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8338528110cc229c46047b44120c1e8325658235f653e27c128184e69a4c4a3 |
|
MD5 | 51590ea1db58a47620304068edff3f10 |
|
BLAKE2b-256 | c11ab451c395aa03afb8127e4a92979d2ae1402b90120a25583cbd18de5601a4 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4e0353fe53eadbbd912dbeb6d8ed028cb1ca12e79cfc004ffd13ef07a3bf8b6 |
|
MD5 | d265f648b33999479dd8063cceec4756 |
|
BLAKE2b-256 | 62e25847f68c789cfcc4a567d287d12ce7b8aaf875a7c47ad775aa6ea86ff542 |