1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Algorithm for cheapest order

  1. Dec 3, 2012 #1
    I have a problem in which I have people ordering different goods from my website and I have a number of suppliers who provide these goods, but I need an algorithm to find the cheapest combination of supplies from each supplier. It would seem easiest to just see which company offers the product at the lowest price, but I need to take into account that it may be cheaper delivery if I order from as few people as possible, and also that not every supplier will offer every product.

    Does anybody know a good algorithm for working this out or have any advice on the problem? Any help would be very much appreciated, no matter how small.
     
  2. jcsd
  3. Dec 3, 2012 #2

    Mark44

    Staff: Mentor

    This type of problem is standard fare in Operations Research, and the particular area is called Linear Programming. In a typical problem, the goal is to maximize profit, taking into consideration a number of constraints, such as production costs, supply costs, availability of machinery, and so on.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Algorithm for cheapest order
  1. No fastest algorithm (Replies: 10)

  2. Search algorithm (Replies: 14)

  3. Math algorithm (Replies: 5)

  4. Nesting Algorithm (Replies: 1)

Loading...