What Is the Best Algorithm for Finding the Cheapest Supplier Combination?

  • Context: Undergrad 
  • Thread starter Thread starter chriswaller
  • Start date Start date
  • Tags Tags
    Algorithm
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
chriswaller
Messages
1
Reaction score
0
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.
 
Mathematics news on Phys.org
chriswaller said:
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.
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.