Skip to main content

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.

Release files for fono 0.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fono 0.2.9
File Size Uploaded
fono-0.2.9.tar.gz 7.2 kB Details

Release files / fono-0.2.9.tar.gz

Download URL fono-0.2.9.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4abdae84bf2a94b35e1746fc52831c0291e095218258af12490d01dd826f07ad
BLAKE2b-256 checksum
How to use checksums
f8ad516963c26c395a98028a0db2d911d2cf07225201cf6050e9b8410284db1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.9 This release

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page