A tool for analysis of industrial optimization problems and their solutions
Project description
optimization-problem-inspector
Table of Contents
Installation
From PyPI
First create a new virtual environment and activate it or activate desired virtual environment.
Now install the optimization-problem-inspector from PyPI with
pip install optimization-problem-inspector
NOTE This install works only for certain Linux distributions! You may have to re-compile for your distribution or Windows/Mac. See Installing bbob_functions for more info.
From source
You can also install the package from source. The project is hosted at:
Download the repo and cd to it. Create a fresh virtual environment with python 3.9 or higher, e.g.,
python -m venv .venv
Activate it with something like
# in Linux/Unix
source .venv/bin/activate
Now install the package with (use -e flag to make and editable install if desired)
pip install -e .
This will make the package available in the currently activated virtual environment.
Using hatch
You can also use hatch to manage dependencies and get some additional extra functionality. After cd-ing to the project directory, you can run
hatch run python
to start Python3 shell with optimization-problem-inspector installed.
Installing bbob_functions
You may have to re-compile for your Linux distribution or Windows/Mac. Go to the virtual environment folders created by venv tool or your virtual environment manager of choice and find the bbob_functions directory. Usually something like .../envs/opi-test/lib/python3.1/site-packages/optimization_problem_inspector/bbob_functions or similar. Note, this is relevant only if you did not invoke editable install (i.e., you have not installed the package by cloning the repo or obtained the source in some way and executed pip install -e . - using -e flag). With your virtual environment activated, you can now re-build the bbob_functions module with
python install_bbob_functions.py build_ext -i
Using hatch
If using hatch, building bbob_functions is much easier, go to project directory and invoke
hatch run build_bbob_functions
Running GUI
To run the optimization-problem-inspector GUI after installation process has completed, type command
opi-gui
You can also run the GUI with
python -m optimization_problem_inspector.app
Note: the desired virtual environment with
optimization-problem-inspectorhas to be activated.
Note: use
pythonorpython3command, depending on what executables you have available for Python3.
Additional guides
License
optimization-problem-inspector is distributed under the terms of the MIT license.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file optimization_problem_inspector-0.5.1-py3-none-any.whl.
File metadata
- Download URL: optimization_problem_inspector-0.5.1-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
772d1f69777fc0a53a879d40a2bed4678c286cc0ebad23de0b19690460e5d52e
|
|
| MD5 |
08f148933048c0e2b250662242cc1c67
|
|
| BLAKE2b-256 |
f1440df4baa189c5d9c01e3805391508b3655e6d85a04eef7cb50b0ea82a22fc
|