You are here:

Advanced Math/Finite Mathematics

Advertisement


Question
Steve,

I am not sure if you can help me with this but I hope you can. It is a Linear Programming Problem.

A car repair shop blends oil from two suppliers. Supplier I can supply at most 46 gal with 3.8% detergent. Supplier II can supply at most 66 gal with 3.1% detergent. How much can be ordered from each to get at most 100gal of oil with maximum detergent?

I have come up with different objective functions and constraints, but nothing is working.  I think I am missing something.

Thanks

Answer
Hi Melissa,

It certainly has been awhile since I've worked this, but I think I came up with a solution here:

Let x = # gallons from Supplier I

   y = # gallons from Supplier II

Then we have :

  x <= 46, x >=0      y <= 66, y >=0

  x + y <= 100   or y <= -x + 100


  The function we want to maximize is

                 D = .038x + .031y

If you plot the lines x = 0, y = 0 , x = 46, y = 66 and y = -x + 100,

you'll get a 5-sided region with lattice points

A(46,0)    B(46,54)   C(34,66)  D(0,66) and E(0,0)

I got B by substituting x = 46 in y = -x + 100
and   C by substituting y = 66 in y = -x + 100.

When you test each point in the Objective function, you get:

 A:  D = 1.748

 B:  D = 3.422

 C:  D = 3.338

 D:  D = 2.046

 E:  D = 0

So it looks like the max is at B(46, 54).

I hope this is what you needed.

Steve

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Steve Holleran

Expertise

I can help with all math questions from basic math to Calculus. Whether it`s consumer questions, or questions from high school or college students, I have probably dealt with it at some time in my career.

Experience

33 years teaching experience in NJ public schools

Education/Credentials
B.S. Mathematics : Wake Forest University 1972 M.S. Mathematics : Monmouth University 1981

©2012 About.com, a part of The New York Times Company. All rights reserved.