Giter Club home page Giter Club logo

feloopy's Introduction

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.

feloopy's People

Contributors

ktafakkori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

feloopy's Issues

Error during Installation

I am facing an error when dependencies are uploading.

× Encountered error while generating package metadata.

[bug] break-changes in v0.2.8 - Getting Started

Summary

feloopy 0.2.8 just crashes with the minimal reproducible example available at User Guide Example. Almost all examples availables at docs are crashed

Steps to reproduce the issue

  1. Install feloopy: pip install "feloopy[stock]"==0.2.8
  2. Reproduce the User Guide Example:
import feloopy as flp

m = flp.model("exact", "model_name", "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(["max"], "glpk")

m.report()

Error Message

Model.con() got an unexpected keyword argument 'name'

System information

feloopy version: feloopy[stock] == 0.2.8
Python version: Python 3.11.2
Operating system: Ubuntu 22.04.4 LTS
environment created with: anaconda 23.7.4
How feloopy was installed (PyPI, conda, source): pypi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.