Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A python package to find optimal number of orders

Project description

Pyomo python program to find number of optimal order from websites including shipping costs (MILP)


pip install fono
pip install fono --upgrade



  • Run the following to find the optimal order using input from individual files

    fono --quantity fono/data/quantity.csv --price fono/data/price.csv --shipping fono/data/shipping.csv


  • Run the following to find the optimal order using input in a folder

    fono --folder fono/data

Use help

fono --help

Three files are required to find the optimal order

  • prices.csv
  • quantity.csv
  • shipping.csv

Prices contains the price of an item when purchased from a website.

Quantity contains the number of items required.

Shipping contains the shipping cost from the individual websites.


  • Names of items in quantity.csv has to match prices.csv
  • Names of websites in shipping.csv has to match prices.csv
  • Remove all empty lines


Feel free to submit a pull request. Thanks to Matt for the inspiration.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fono, version 0.2.9
Filename, size File type Python version Upload date Hashes
Filename, size fono-0.2.9.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page