Monday, August 8, 2016

Linear Programming

Linear programming is the process of taking various linear inequalities relating to some situation, and finding the "best" value obtainable under those conditions. A typical example would be taking the limitations of materials and labor, and then determining the "best" production levels for maximal profits under those conditions.
In "real life", linear programming is part of a very important area of mathematics called "optimization techniques". This field of study (or at least the applied results of it) are used every day in the organization and allocation of resources. These "real life" systems can have dozens or hundreds of variables, or more. In algebra, though, you'll only work with the simple (and graphable) two-variable linear case.
The general process for solving linear-programming exercises is to graph the inequalities (called the "constraints") to form a walled-off area on the x,y-plane (called the "feasibility region"). Then you figure out the coordinates of the corners of this feasibility region (that is, you find the intersection points of the various pairs of lines), and test these corner points in the formula (called the "optimization equation") for which you're trying to find the highest or lowest value.



A calculator company produces a scientific calculator and a graphing calculator. Long-term projections indicate an expected demand of at least 100 scientific and 80 graphing calculators each day. Because of limitations on production capacity, no more than 200 scientific and 170 graphing calculators can be made daily. To satisfy a shipping contract, a total of at least 200 calculators much be shipped each day.

If each scientific calculator sold results in a $2 loss, but each graphing calculator produces a $5 profit, how many of each type should be made daily to maximize net profits?

The question asks for the optimal number of calculators, so my variables will stand for that:
      x: number of scientific calculators produced
      y: number of graphing calculators produced

    Since they can't produce negative numbers of calculators, I have the two constraints, 
    x > 0 and y > 0. But in this case, I can ignore these constraints, because I already have that x > 100 and y > 80. The exercise also gives maximums: x < 200 and y < 170. The minimum shipping requirement gives me x + y > 200; in other words, y > –x + 200. The profit relation will be my optimization equation: P = –2x + 5y. So the entire system is:

      P = –2x + 5y, subject to:
      100 < x < 200
      80 <  y < 170
      y > –x + 200 


      feasibility region
When you test the corner points at (100, 170), (200, 170), (200, 80), (120, 80), and (100, 100), you should obtain the maximum value of P = 650 at (xy) = (100, 170). That is, the solution is "100 scientific calculators and 170 graphing calculators".


You need to buy some filing cabinets. You know that Cabinet X costs $10 per unit, requires six square feet of floor space, and holds eight cubic feet of files. Cabinet Y costs $20 per unit, requires eight square feet of floor space, and holds twelve cubic feet of files. You have been given $140 for this purchase, though you don't have to spend that much. The office has room for no more than 72 square feet of cabinets. How many of which model should you buy, in order to maximize storage volume?

The question ask for the number of cabinets I need to buy, so my variables will stand for that:
      x: number of model X cabinets purchased
      y: number of model Y cabinets purchased

    Naturally, x > 0 and y > 0. I have to consider costs and floor space (the "footprint" of each unit), while maximizing the storage volume, so costs and floor space will be my constraints, while volume will be my optimization equation.
      cost: 10x + 20y < 140, or y < –( 1/2 )x + 7
      space: 6x + 8y < 72, or y < –( 3/4 )x + 9
      volume: V = 8x + 12y


    This system (along with the first two constraints) graphs as:

      feasibility region

When you test the corner points at (8, 3), (0, 7), and (12, 0), you should obtain a maximal volume of 100 cubic feet by buying eight of model X and three of model Y.


QUESTION



Question #1


Josie is on a diet. Daily, she needs three dietary supplements, A, B and C as follows: at least 16 units of A, 5 units of B, and 20 units of C. These can be found in either of two marketed products Squabb I and Squabb II. The Squabb I pill cost $10 and the Squabb II pill costs $20. How many of each pill should Josie buy to satisfy her dietary needs and at the same time minimize costs?

A. minimum cost $63; 1.38 of Squabb I and 2.46 of Squabb II
B. minimum cost $70; 3 of Squabb I and 2 of Squabb II


Question #2
               
An agriculture company has 80 tons of type I fertilizer and 120 tons of type II fertilizer. The company mixes these fertilizers into two products. Product X requires 2 parts of type I and 1 part of type II fertilizers. Product Y requires 1 part of type I and 3 parts of type II fertilizers. If each product sells for $2000, what is the maximum revenue and how many of each product should be made and sold to maximize revenue?

A. max revenue is $112,000; 24 product X and 32 product Y
B. max revenue is $120,000; 60 product X and 0 product Y

Question #3

A publisher has orders for 600 copies of a certain text from San Francisco and 400 copies from Sacramento. The company has 700 copies in a warehouse in Novato and 800 copies in a warehouse in Lodi. It costs $5 to ship a text from Novato to San Francisco, but it costs $10 to ship it to Sacramento. It costs $15 to ship a text from Lodi to San Francisco, but it costs $4 to ship it from Lodi to Sacramento. How many copies should the company ship from each warehouse to San Francisco and Sacramento to fill the order at the least cost?

No comments:

Post a Comment