bankrupt

Allocator of the bankruptcy problem.


License
MIT
Install
pip install bankrupt==0.2.1

Documentation

bankrupt

Installation

Use one of the following method:

  • pip install
pip --install bankrupt
pip --install bankrupt --upgrade
  • clone repository and install with:
python setup.py install

Usage

>>> import bankrupt
>>> d = [100, 200, 300]
>>> x = bankrupt.allocate(100, d)