An open API service indexing awesome lists of open source software.

https://github.com/kiok46/subset-sum-problem

Solving the Subset Sum Problem using Python, Pandas and Numpy.
https://github.com/kiok46/subset-sum-problem

numpy pandas python subset-sum

Last synced: 2 months ago
JSON representation

Solving the Subset Sum Problem using Python, Pandas and Numpy.

Awesome Lists containing this project

README

        

# Subset-Sum-Problem
Solving the Subset Sum Problem using Python, Pandas and Numpy.

[Was playing around with Pandas, might help someone.]

### What is it about?

Well, If you have a set of devices working/running and consume a certain amount of power and now you want to reduce the load by a given percentage.
This will give you all the possible sets of running devices having total power consumption less than or equal to the new total power.

![ScreenShot](https://raw.github.com/kiok46/Subset-Sum-Problem/master/screenshots/screenshot.png)

### Installation

Open a terminal, cd to the folder and type the following commands to start virtual environment.
```
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py 20
```