I have an order table that we are trying to figure out a way to find the best (cheapest) scenario to sending to vendors to fill the orders. Let's say we have 10 parts ordered, if we split that amongst vendors, even paying a higher shipping cost in some cases can be cheaper. We can send 2 of those parts from this vendor and 3 from another and so on. We have an ID, price, ship price and vendor to consider that is retrieved via the api with each vendor. Does anyone have experience in trying to find all the scenario possibilities? -- Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php