document.write( "Question 1106875: a stereo manufacturer has two warehouses labeled I and II. Warehouse I has nine speakers in stock while warehouse II has five. The manufacturer receives orders from customer a for 7 speakera and from customer b for 6 speakers. the shipping rates to send one speaker to cust a is $11 from warehouse and $15 from warehouse II. Cost for customer B is $12 per speaker from warehouse I and $13 from warehouse II. How many speakers should be sent from each warehouse to each customer so that the order is filled for the smallest cost? \n" ); document.write( "
Algebra.Com's Answer #721995 by Theo(13342) You can put this solution on YOUR website! make a cost matrix like the one shown below:\r \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( " warehouse 1 warehouse 2\r\n" ); document.write( "\r\n" ); document.write( " customer A 11 15\r\n" ); document.write( " customer B 12 13\r\n" ); document.write( "\r\n" ); document.write( "\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the maximum number of speakers from warehouse 1 is 9. \n" ); document.write( "the maximum number of speakers from warehouse 2 is 5.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it's clear from this matrix that the minimum cost to ship to customer A is from warehouse 1.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since customer A requires 7 and warehouse 1 has 9, then ship all stereos to customer A from warehouse 1.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since the cost to ship to customer B is cheaper from warehouse 1, then ship the remaining 2 that warehouse 1 has to customer B.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the remaining 4 that customer B requires is then shipped from warehouse 2.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "your total cost will be:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "7 from warehouse 1 to customer A = 77 \n" ); document.write( "2 from warehouse 1 to customer A = 24 \n" ); document.write( "4 from warehouse 2 to customer B = 52\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "total cost is 153.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the cheapest cost to ship is 153.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "i then double checked to see if my logic was correct.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "i used excel solver.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "excel confirmed that my logic was correct.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "it came up with the same minimum cost.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the variables that i used were:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "xa = amount shipped from warehouse 1 to customer a. \n" ); document.write( "xb = amount shipped from warehouse 1 to customer b. \n" ); document.write( "ya = amount shipped from warehouse 2 to customer a. \n" ); document.write( "yb = amount shipped from warehouse 2 to customer b.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the objective function which i wanted to minimize was:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "xa * 11 + xb * 12 + ya * 15 + yb * 13\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this objective function represented the total cost of shipping.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "my constraints were:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "xa + ya = 7 because customer a required 7 speakers. \n" ); document.write( "xb + yb = 6 because customer b required 6 speakers.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "xa + xb <= 9 because warehouse 1 could ship a maximum of 9 speakers. \n" ); document.write( "ya + yb <= 5 because warehouse 2 could ship a maximum of 5 speakers.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "here's a picture of my excel spreadsheet.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |