Skip to main content

FelooPy: An Integrated Optimization Environment (IOE) for AutoOR in Python.

Project description

GitHub release Python 3.10 Package Size Supporters Downloads Total Downloads Release Date Average time to resolve an issue Percentage of issues still open GitHub contributors License: MIT

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

  1. Download the feloopy-0.2.3.zip file.
  2. Extract it into a specific directory.
  3. Open a terminal in that directory.
  4. Type: pip install .

Method 5: From GitHub repository (insiders version)

  1. Download and install git.

  2. 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


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.3.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

feloopy-0.2.3-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

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

Hashes for feloopy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 56fa120a5ff34873638cb073d716e9f9ac8a79f4a82dc2520385495c8719a551
MD5 01c52ee89040b1dd27fc064d420bf8fe
BLAKE2b-256 cdee31fbca5077842a651fe2477eadf7bf0def6cd880cda65014e7760a3228ba

See more details on using hashes here.

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

Hashes for feloopy-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de6b418820a412c187f38c7ba4d62fdbe4972a6a3cdef457a358a2135bcdce99
MD5 37a4a67305f00650444408076525a80f
BLAKE2b-256 73da6affaa194c1ac10e750abb631ea1ea20d14209a1353d1887f642c8de45f4

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