Skip to main content

FelooPy: An integrated optimization environment for automated operations research in Python.

Project description

Introduction

FelooPy version code number of users release date monthly Downloads license type
Image description FelooPy (pronounced /fɛlupaɪ/) is a free and open-source Python library for automated operations research that serves as both a hyper-optimization interface and an integrated optimization environment. The name comes from the idea of suggesting practical and applicable solutions for systems, industries, and supply chains, and it also references the importance of loops in programming and algorithm development, and draws similarities to the name "Floppy" to highlight memory efficiency. FelooPy helps operations research scientists achieve their goals using various target, representor, and learner models. In simple words, FelooPy is a unified framework for optimization algorithms, decision-making methods, and modeling and analytical tools.
News 🎉 Version 0.2.6 is out: Robustness and stability! 🎉

Installation

FelooPy can be installed on Linux-based distributions, Windows, or macOS. It has a few dependencies that should work on all these platforms.

Method Description Requirements
Quick

pip install --upgrade feloopy

Python >= 3.10
PyPI

pip install feloopy==0.2.6

Python >= 3.10
Command

!pip install feloopy==0.2.6

Python >= 3.10
Script
import pip

def install(package):
  if hasattr(pip, 'main'):
    pip.main(['install','-U', package])
  else:
    pip._internal.main(['install','-U', package])

install('feloopy==0.2.6')
Python >= 3.10
Local
  1. Download the feloopy-0.2.6.zip file.
  2. Extract it into a specific directory.
  3. Open a terminal in that directory.
  4. Type: pip install .
Python >= 3.10
Colab
  1. Run this cell and reload (CTRL + R) (using "py310" or "py311"):
!wget https://github.com/korakot/kora/releases/download/v0.10/py310.sh
!bash ./py310.sh -b -f -p /usr/local
!python -m ipykernel install --name "py310" --user
  1. Run this cell and reload (CTRL + R):
!pip install feloopy==0.2.6
Python >= 3.10
Git

pip install -U git+https://github.com/ktafakkori/feloopy

Python >= 3.10

FelooPy requires Python 3.10 or later to be installed on your system. If you don't have Python installed, or if you have an older version, you can download it from the official website (https://www.python.org/downloads/) and follow the installation instructions. Alternatively, if you are using Anaconda, you can create a new environment with Python 3.10 or later and install FelooPy in that environment:

conda create --name feloopy python=3.10
conda activate feloopy
pip install feloopy

FelooPy (v0.2.6) has a few optional dependencies that can be installed using the following commands:

  • All solvers: pip install feloopy[all_solvers]
  • Gurobi: pip install feloopy[gurobi]
  • Cplex: pip install feloopy[cplex]
  • Xpress: pip install feloopy[xpress]
  • Linux: pip install feloopy[linux] (better support for multi-objective optimization)

For multi-objective optimization, you should use the linux command for installation. However, please note that the optional dependencies for Linux kernel might not work on some operating systems. As a workaround, you can use a Conda-based Python 3.10 interpreter to ensure that optional dependencies for multi-objective optimization are installed correctly.

Features

FelooPy offers the following key features:

  • Simplest optimization programming language: Designed to be easy to use, even for those with little or no programming experience.
  • Modeling, solving and analyzing optimization problems: Provides a complete suite of tools for modeling, solving and analyzing a wide range of optimization problems.
  • Exact optimization algorithms: Supports 107 exact optimization algorithms that guarantee the optimal solution to your problem.
  • Heuristic optimization algorithms: Supports 197 heuristic optimization algorithms that can find best possible solutions to complex problems.
  • Convex optimization algorithms: Supports 20 convex optimization algorithms that ease tensor- and matrix-form modeling, primarily for convex problems.
  • Constraint optimization algorithms: Supports 2 constraint optimization algorithms that can handle a wide range of complex constraints for operational and time-dependent decisions.
  • Multi-objective optimization algorithms: Supports 17 multi-objective optimization algorithms, in which objectives might be conflicting or with different numerical units.
  • Multi-critera decision-making methods: Supports 41 MCDM algorithms to solve decision problems with expert-based inputs without mathematical modeling.
  • Solver configurations: Lets you configure the solver to meet specific requirements.
  • Auto-encoders for general purpose programming: Provides auto-encoders to simplify general-purpose programming tasks.
  • Auto-linearizers for linear programming conversions: Provides auto-linearizers that can handle mixed-integer non-linear programming problems.
  • Auto-logic for modeling special constraints: Provides auto-logic to help you model and solve problems with special constraints.
  • Auto-sensitivity for analyzing the impact of key parameters: Provides auto-sensitivity tools to help you analyze the impact of key parameters on your optimization problem.

Documentation

Please refer to https://feloopy.readthedocs.io/en/latest/.

Contributions

We welcome your contributions to this project, such as reporting bugs, submitting pull requests, testing changes, providing examples, and so on.

Support FelooPy

We are committed to continuing the development of FelooPy and would greatly appreciate your support. You can help us by:

Citation

If you use the facilities of this GitHub repository or the Python library in your work, we recommend citing it to help others reproduce the results of your research. You may also provide the specific version of the Python library used in your research or project for accuracy and reproducibility. Thank you for your consideration.

  • APA 7:
Tafakkori, K. (2022). FelooPy: An integrated optimization environment for AutoOR in Python [Python Library]. https://github.com/ktafakkori/feloopy (Original work published September 2022)
  • LaTeX:
@software{ktafakkori2022Sep,
  author       = {Keivan Tafakkori},
  title        = {{FelooPy: An integrated optimization environment for AutoOR in Python}},
  year         = {2022},
  month        = sep,
  publisher    = {GitHub},
  url          = {https://github.com/ktafakkori/feloopy/}
}

License

FelooPy is completely free and open-source and licensed under the MIT license.

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

feloopy-0.2.6.tar.gz (85.2 kB view details)

Uploaded Source

Built Distribution

feloopy-0.2.6-py3-none-any.whl (167.2 kB view details)

Uploaded Python 3

File details

Details for the file feloopy-0.2.6.tar.gz.

File metadata

  • Download URL: feloopy-0.2.6.tar.gz
  • Upload date:
  • Size: 85.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for feloopy-0.2.6.tar.gz
Algorithm Hash digest
SHA256 1deb2fcc8eedfe8076bb5c07004908a10ceb38101f6f9efa27aafe97c9c2719f
MD5 e4143f3bfdd67e93ac62101ed67224c7
BLAKE2b-256 2080a9bec376e228229c3371e38dafde9499adc679bbde60749590b0309d1403

See more details on using hashes here.

File details

Details for the file feloopy-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: feloopy-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 167.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for feloopy-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1b049503db525c0f770c6f3ec861814945e958a535391984fb1508a6d06ba39a
MD5 6dc0c8891b2675dac30a7afe9dbcb9ab
BLAKE2b-256 88e981b118d64b9e9cca2c0783c8634e7830f42f8c1658590cd3aa54386a4dc5

See more details on using hashes here.

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