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.
You can install feloopy
inside a Python>=3.10.x environment.
pip install -U "feloopy[stock]==0.3.5"
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 "feloopy[stock] @ git+https://github.com/ktafakkori/feloopy.git"
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()
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:
-
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).
-
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.5.
- Note 2: Using secondary interfaces or solvers might also require a citation to their projects.
Example: FelooPy (v0.3.5) 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.