Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Business Math
Reply
 
Thread Tools Display Modes
  #1  
Old October 19th, 2009, 01:52 PM
Newbie
 
Join Date: Oct 2009
Posts: 3
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
buddha1119 is on a distinguished road
Default Linear Programming: Optimization

Hello,
I would like to learn how to solve this problem without Excel Solver. Can someone please show me the steps on how to simultaneously solve the equations from this problem? Thanks.

A farmer has 900 acres of land. The farmer is going to plant each acre with corn, soybean, or wheat.

Each acre planted with wheat yields 2k profit.
Each acre with soybean yields 2.5k profit.
Each acre with wheat yields 3k profit.

The farmer has 100 workers.
The farme has 150 tons of fertilizer.

Per acre
Corn requires: .1 worker, .2 tons of fertilizer
Soubean requires: .3 worker, .1 tons of fertilizer
Wheat requires: .2 worker, .4 tons of fertilizer

objective:
2000Corn + 2500Soy + 3000Wheat = Max Profit

Equations.
XCorn + YSoy + Zwheat <= 900
.1Corn + .3Soy + .2wheat <=100
.2Corn + .3Soy +.4wheat <= 150
Reply With Quote
Advertisement
 
  #2  
Old October 19th, 2009, 08:50 PM
Junior Member
 
Join Date: Sep 2009
Posts: 33
Country:
Thanks: 10
Thanked 1 Time in 1 Post
snaes is on a distinguished road
Default

Quote:
Originally Posted by buddha1119 View Post
Each acre planted with wheat yields 2k profit.
Each acre with soybean yields 2.5k profit.
Each acre with wheat yields 3k profit.
Top one should be corn (I think)...I'll try and figure this out too.

I believe the best way would be lagrange multipliers (requireing calculus)...

EDIT: Do you know the answer?
__________________
---- ____........../''\.....__...____
----/___../\../.../__\...|_.../___
----___/ /..\/.../......\.|__..___/

Last edited by snaes; October 19th, 2009 at 09:01 PM.
Reply With Quote
  #3  
Old October 19th, 2009, 09:26 PM
Junior Member
 
Join Date: Sep 2009
Posts: 33
Country:
Thanks: 10
Thanked 1 Time in 1 Post
snaes is on a distinguished road
Default

EDIT: THIS IS WITH ONE CONSTRAINT, THE PROCESS IS SIMILAIR WITH TWO CONSTRAINTS, THE ONLY DIFFERENCE IS YOU GET 5 EQUATIONS WITH 5 VARIABLES, NOT 4 AND 4. THIS ANSWER IS NOT CORRECT, BUT THE PROCESS CORRECT.

Maximize: F
2000c+2500s+3000w

Constraints:
.1c+.3s+.2w=100
.2c+.3s+.4w=150
I set them = not less than or equal to because we truely want to maximize using on contraint then try it using the other.

\nabla F = <2000c,2500s,3000w>
set this equal to the gradient of a constraint:
<2000c,2500s,3000w>=\lambda<.1,.3,.2>

Get all the equations:
2000c=\lambda.03
2500s=\lambda.09
3000w=\lambda.04

Solve for lambda (\lambda) and set top 2 equal:
2000c/.03=2500s/.09
Same thing for bottom 2 equations
2500s/.09=3000w/.04

after simplifying:
2.4c=s
10s=27w

adjust ratios to get all of them "equal"
24c=10s=27w

Solve for "c" in terms of s and then in terms of w serpately.
2.4c=s
8/9c=w

plug in first constraint:
[math].1c+.3(2.4)c+.2(8/9)c=100
c=100.222
s=240.535
w=88\frac{8}{9}

put these back into the equation you want to maximize (profit)
you get about: $1069042.5
__________________
---- ____........../''\.....__...____
----/___../\../.../__\...|_.../___
----___/ /..\/.../......\.|__..___/

Last edited by snaes; October 20th, 2009 at 12:03 PM. Reason: errors
Reply With Quote
  #4  
Old October 19th, 2009, 10:17 PM
Super Member
 
Join Date: Dec 2007
Location: Ottawa
Posts: 528
Country:
Thanks: 0
Thanked 90 Times in 85 Posts
Wilmer will become famous soon enoughWilmer will become famous soon enough
Default

Perhaps this'll help you: Linear programming - Wikipedia, the free encyclopedia
__________________
I'm a social drinker; when someone says "I'm having a drink", I answer "so shall I".
Reply With Quote
  #5  
Old October 20th, 2009, 12:01 PM
Junior Member
 
Join Date: Sep 2009
Posts: 33
Country:
Thanks: 10
Thanked 1 Time in 1 Post
snaes is on a distinguished road
Default

Here is how to set it up. It would be the exact same process as before only with the added constraint.

[math]<2000c,2500s,3000w>=\lambda<.1,.3,.2> + \mu<.2,.3,.4>

Now you have 5 equations and 5 variables. Now all you need to do is solve. Generally solving for \lambda and setting things equal helps simplify.
__________________
---- ____........../''\.....__...____
----/___../\../.../__\...|_.../___
----___/ /..\/.../......\.|__..___/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.