Skip to content

kdheepak/iou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iou

A python module using networkx, pyomo and ipopt to solve for the optimally minimum number of transactions to settle debts/expenses between friends.

Install

pip install py-iou
pip install py-iou --upgrade

Dependencies

If you have Anaconda or Miniconda, you can install it using the following command.

conda install -c conda-forge ipopt

Run

  • Run the following to find the optimal transactions using input from transactions.csv

      iou --data iou/data/transactions.csv
    

    OR

      iou --data iou/data/transactions.csv --verbose
    

Use help

iou --help

A transactions.csv file is required to find the optimal order

Contribution

Feel free to submit a pull request.

About

Solve for the optimally minimum number of transactions to settle debts and expenses with friends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages