document.write( "Question 31366: ) A brewery manufactures three types of beer - lite, regular, and dark. Each vat of lite beer requires 6 bags of barley, 1 bag of sugar and 1 bag of hops. Each vat of regular beer requires 4 bags of barley, 3 bag of sugar and 1 bag of hops. Each vat of dark beer requires 2 bags of barley, 2 bag of sugar and 4 bag of hops. Each day the brewery has 800 bags of barley, 600 bag of sugar and 300 bag of hops. The brewery realizes a profit of $10 per vat of lite beer, $20 per vat of regular beer, and $30 per vat of dark beer. For this linear programming problem:\r
\n" ); document.write( "\n" ); document.write( "(a) What are the decision variables?
\n" ); document.write( "(b) What is the objective function?
\n" ); document.write( "(c) What are the constraints?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #18065 by AnlytcPhil(1806)\"\" \"About 
You can put this solution on YOUR website!
A brewery manufactures three types of beer - lite, regular, and dark. Each vat\r\n" );
document.write( "of lite beer requires 6 bags of barley, 1 bag of sugar and 1 bag of hops. Each\r\n" );
document.write( "vat of regular beer requires 4 bags of barley, 3 bag of sugar and 1 bag of\r\n" );
document.write( "hops. Each vat of dark beer requires 2 bags of barley, 2 bag of sugar and 4\r\n" );
document.write( "bags of hops. Each day the brewery has 800 bags of barley, 600 bag of sugar and\r\n" );
document.write( "300 bag of hops. The brewery realizes a profit of $10 per vat of lite beer, $20\r\n" );
document.write( "per vat of regular beer, and $30 per vat of dark beer. For this linear\r\n" );
document.write( "programming problem: \r\n" );
document.write( "(a) What are the decision variables?\r\n" );
document.write( "\r\n" );
document.write( "x = the number of vats of lite beer to make each day\r\n" );
document.write( "y = the number of vats of regular beer to make each day\r\n" );
document.write( "z = the number of vats of dark beer beer to make each day\r\n" );
document.write( "\r\n" );
document.write( "(b) What is the objective function?\r\n" );
document.write( "\r\n" );
document.write( "Profit = $10x + $20y + $30z or\r\n" );
document.write( "\r\n" );
document.write( "P = 10x + 20y + 30z \r\n" );
document.write( "\r\n" );
document.write( "(c) What are the constraints?\r\n" );
document.write( "\r\n" );
document.write( "There are six constraints (inequalities)\r\n" );
document.write( "\r\n" );
document.write( "1.\r\n" );
document.write( ">>...Each vat of lite beer requires 6 bags of barley...<<\r\n" );
document.write( ">>...Each vat of regular beer requires 4 bags of barley...<<\r\n" );
document.write( ">>...Each vat of dark beer requires 2 bags of barley...<<\r\n" );
document.write( ">>...Each day the brewery has 800 bags of barley...<<\r\n" );
document.write( "\r\n" );
document.write( "So this inequality is the barley constraint:  6x + 4y + 2z <= 800\r\n" );
document.write( "It ensures that the brewery does not run out of barley.\r\n" );
document.write( "\r\n" );
document.write( "2.\r\n" );
document.write( ">>...Each vat of lite beer requires...1 bag of sugar...<<\r\n" );
document.write( ">>...Each vat of regular beer requires...3 bags of sugar...<<\r\n" );
document.write( ">>...Each vat of dark beer requires...2 bags of sugar...<<\r\n" );
document.write( ">>...Each day the brewery has...600 bags of sugar...<<\r\n" );
document.write( "\r\n" );
document.write( "So this inequality is the sugar constraint:  1x + 3y + 2z <= 600\r\n" );
document.write( "It ensures that the brewery does not run out of sugar.\r\n" );
document.write( "\r\n" );
document.write( "3.\r\n" );
document.write( ">>...Each vat of lite beer requires...1 bag of hops...<<\r\n" );
document.write( ">>...Each vat of regular beer requires...1 bag of hops...<<\r\n" );
document.write( ">>...Each vat of dark beer requires...4 bags of hops...<<\r\n" );
document.write( ">>...Each day the brewery has...300 bags of hops...<<\r\n" );
document.write( "\r\n" );
document.write( "So this inequality is the hops constraint:  1x + 1y + 4z <= 300\r\n" );
document.write( "It ensures that the brewery does not run out of hops.\r\n" );
document.write( "\r\n" );
document.write( "4.  The trivial constraint that says the amount of barley cannot be a\r\n" );
document.write( "negative number.\r\n" );
document.write( "\r\n" );
document.write( "      x >= 0\r\n" );
document.write( "\r\n" );
document.write( "5.  The trivial constraint that says the amount of sugar cannot be a\r\n" );
document.write( "negative number.\r\n" );
document.write( "\r\n" );
document.write( "      y >= 0\r\n" );
document.write( "\r\n" );
document.write( "6.  The trivial constraint that says the amount of hops cannot be a\r\n" );
document.write( "negative number.\r\n" );
document.write( "\r\n" );
document.write( "      z >= 0\r\n" );
document.write( "\r\n" );
document.write( "Edwin\r\n" );
document.write( "AnlytcPhil@aol.com
\n" ); document.write( "
\n" );