Skip to content

ktafakkori/feloopy

Repository files navigation

Efficient & Feature-Rich Integrated Decision Environment

Version Release Date Documentation Discord License

Total Users Monthly Users Source Users

FelooPy (pronounced /fɛlupaɪ/) is a comprehensive and versatile Decision Science and Operations Research library. It allows for coding, modeling, and solving decision problems and aligns with low or no-code requirements, letting you focus more on analytics. The library covers various categories of mathematical and statistical methods for decision-making and utilizes numerous interfaces and solvers without requiring prompting large language models or learning complex coding syntaxes. It is primarily developed in Python, which makes it accessible and callable from multiple programming languages.

⚠️ This is FelooPy project's repository hosted by GitHub. For more information, please refer to FelooPy's documentation.

Quick installation

You can install feloopy inside a Python>=3.10.x environment.

pip install -U "feloopy[stock]==0.3.0"

For supporting the developer, testing the latest version, and reporting bugs or contributing to the code base, you can use the following command:

pip install -U 'git+https://github.com/ktafakkori/feloopy.git#egg=feloopy[stock]'

Quick test

Here is an example to test FelooPy's functionality:

import feloopy as flp

m = flp.model(name="model_name", method="exact", interface="pymprog")

x = m.bvar(name="x")
y = m.pvar(name="y", bound=[0, 1])
m.con(x + y <= 1, name="c1")
m.con(x - y >= 1, name="c2")
m.obj(x + y)

m.sol(directions=["max"], solver="glpk")

m.clean_report()

Citation

To cite or give credit to FelooPy in publications, projects, presentations, web pages, blog posts, etc. please use one of the following entries, based on the used version:

Version<=0.2.8

  • 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/}
    }
  • APA:

    Tafakkori, K. (2022). FelooPy: An integrated optimization environment for AutoOR in Python [Python Library]. Retrieved from https://github.com/ktafakkori/feloopy (Original work published September 2022).

Version>=0.3.0

  • LaTeX:

    @software{ktafakkori2024Apr,
    author       = {Keivan Tafakkori},
    title        = { {FelooPy: Efficient and feature-rich integrated decision environment} },
    year         = {2024},
    month        = apr,
    publisher    = {GitHub},
    url          = {https://github.com/ktafakkori/feloopy/}
    }
  • APA:

    Tafakkori, K. (2024). Efficient and feature-rich integrated decision environment [Python Library]. Retrieved from https://github.com/ktafakkori/feloopy (Original work published April 2024).

  • In-text:

    • Note 1: Please write the version you used, the latest is v0.3.0.
    • Note 2: Using secondary interfaces or solvers might also require a citation to their projects.

    Example: FelooPy (v0.3.0) was used in conjunction with [interface x] (v0.0.0) (except feloopy itself) as the interface and [solver y] (v0.0.0) as the solver.