Help with a complex scenario

From: Date: Fri, 07 Apr 2006 20:59:30 +0000
Subject: Help with a complex scenario
Groups: php.general 
Request: Send a blank email to php-general+get-233482@lists.php.net to get a copy of this message
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

« previous php.general (#233482) next »