FelooPy: An Integrated Optimization Environment (IOE) for AutoOR in Python.
Project description
FelooPy: An integrated optimization environment for AutoOR in Python
Version 0.2.3 is out! More stable than ever!
FelooPy (/fɛlupaɪ/, an acronym for feasible, logical, optimal, and Python), is both a hyper-optimization interface and an integrated optimization environment for automated operations research in Python.
Using FelooPy, operations research scientists can: provide their target, representor, or learner model to get results; move focus from coding to modeling, and from modeling to analytics; automate time-consuming, iterative tasks of optimization model development, debugging, and implementation; access to 259 single-objective heuristic and exact optimization algorithms; switch between optimization interfaces and algorithms with no need of code changes; and use tools such as sensitivity analysis, automated encoding and decoding for heuristic optimization, timers, etc.
Specific features
- Free and Open-Source integrated optimization environment developed under MIT license.
- Straightforward mathematical programming workflow.
- Using single optimization programming syntax for 15 exact and heuristic optimization interfaces in Python.
- Accessing 82 exact and 177 heuristic optimization algorithms (total: 259).
- Supporting scalable optimization for large-scale real-world problems.
- Supporting benchmarking with various optimization solvers.
- Supporting multi-parameter sensitivity analysis on a single objective.
- Supporting specific solver options such as logging, number of threads, absolute gap or releative gap.
Supported optimization interfaces
Exact optimization:
- cplex
- cvxpy
- cylp
- gekko
- gurobi
- linopy
- mip
- ortools
- picos
- pulp
- pymprog
- pyomo
- xpress
Heuristic optimization:
- feloopy
- mealpy
Installation
Optional downloads: Python 3.10, (Visual Studio Code or Anaconda)
Note 1: Installation process requires python==3.10.x
, pip>=22.3.1
and a stable internet connection.
Note 2: Ensure to add Python to PATH during the installation process (usually the first menu).
Note 3: To use FelooPy inside Google Colab environment, please first run the following code to configure Python version. Note that this code requires you to choose the desired version during implementation.
!sudo apt-get update -y
!sudo apt-get install python3.10
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
!sudo update-alternatives --config python3
!sudo apt install python3-pip
Method 1: Terminal command (e.g., CMD or GC):
pip install feloopy==0.2.3
Method 2: IDE command (e.g., Spyder):
Note: After installation, this line of code should be deleted.
!pip install feloopy==0.2.3
Method 3: Inside your Python code
Note: After installation, this piece of code should be deleted.
import pip
def install(package):
if hasattr(pip, 'main'):
pip.main(['install','-U', package])
else:
pip._internal.main(['install','-U', package])
install('feloopy')
Method 4: From GitHub Releases section
- Download the feloopy-0.2.3.zip file.
- Extract it into a specific directory.
- Open a terminal in that directory.
- Type:
pip install .
Method 5: From GitHub repository (insiders version)
-
Download and install git.
-
Run this command inside a terminal:
pip install -U git+https://github.com/ktafakkori/feloopy
Documentation
Citation
- APA 7:
Tafakkori, K. (2023). Feloopy: An integrated optimization environment for AutoOR in Python (0.2.3) [Python]. https://github.com/ktafakkori/feloopy (Original work published 2023)
- LaTeX:
@software{ktafakkori2023Feb,
author = {Keivan Tafakkori},
title = {{FelooPy: An integrated optimization environment for AutoOR in Python}},
year = {2023},
month = feb,
publisher = {GitHub},
version = {v0.2.3},
url = {https://github.com/ktafakkori/feloopy/}
}
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 feloopy-0.2.3.tar.gz
.
File metadata
- Download URL: feloopy-0.2.3.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56fa120a5ff34873638cb073d716e9f9ac8a79f4a82dc2520385495c8719a551 |
|
MD5 | 01c52ee89040b1dd27fc064d420bf8fe |
|
BLAKE2b-256 | cdee31fbca5077842a651fe2477eadf7bf0def6cd880cda65014e7760a3228ba |
File details
Details for the file feloopy-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: feloopy-0.2.3-py3-none-any.whl
- Upload date:
- Size: 58.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de6b418820a412c187f38c7ba4d62fdbe4972a6a3cdef457a358a2135bcdce99 |
|
MD5 | 37a4a67305f00650444408076525a80f |
|
BLAKE2b-256 | 73da6affaa194c1ac10e750abb631ea1ea20d14209a1353d1887f642c8de45f4 |