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.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8777b6b3bdf08d2709b38aa62e046c2cabd312896d2c2eb3cb6bcad1f513cdd3 |
|
MD5 | 10dbf4ce0b81dcabd35996460d7b2909 |
|
BLAKE2b-256 | 2b5168e7319c29de2db28759e942afe2babcdd3ee64ced60fdd273f6dc19b919 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | edcef606724e4c38c9748536e4939237ca31cf92491dd5c250cf07ff74fab8ce |
|
MD5 | 6b5495fd35636882ce1e5c0bf08ec726 |
|
BLAKE2b-256 | cddae3a7e1f412f35e7efe78652d5cb5e4316e14ba2458795beef6060e87c2a8 |