Skip to main content

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)

Install

pip install fono
pip install fono --upgrade

Dependencies

Run

  • 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

OR

  • 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.

Troubleshooting

  • 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

Contribution

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.

Source Distribution

fono-0.2.9.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file fono-0.2.9.tar.gz.

File metadata

  • Download URL: fono-0.2.9.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fono-0.2.9.tar.gz
Algorithm Hash digest
SHA256 4abdae84bf2a94b35e1746fc52831c0291e095218258af12490d01dd826f07ad
MD5 0f4bde00f8579a6fbc8a51c16a2640fb
BLAKE2b-256 f8ad516963c26c395a98028a0db2d911d2cf07225201cf6050e9b8410284db1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page