Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Student Life
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2006, 10:04 PM
vin17 vin17 is offline
Senior Member
 
Join Date: Jul 2006
Posts: 767
Default Math homework help

Any help is greatly appreciated...

Edit: It is (geometric) linear programming

There are three 'nutrients': A, B and C

The minimum amount of units required of each are 160, 200 and 80 respectively.

There are two brands of products containing these nutrients...
Product Alpha costs $8/bag and contains 3 units of A, 5 of B and 1 of c.
Product Beta costs $6/bag and contains 2 units of A, B and C each.

In order to minimize costs while still maintaining the amount of nutrients, what combination of Alpha and Beta should be purchased (you do not need to solve it, only construct the math model ie. objective function and constraints).
Note: I have already done similar questions with the exception that there wasn't multiple products and prices involved.
Reply With Quote
  #2  
Old 10-11-2006, 11:06 PM
theben theben is offline
Senior Member
 
Join Date: Mar 2005
Location: in a gumdrop house on lollipop lane
Posts: 3,293
Default Re: Math homework help

disclaimer--its been several years since i've done LP formulation. this may be wrong.

also, what major are you? please indulge my curiosity.

min: costs

let x1 = bags of alpha
x2= bags of beta

min 8 x1 + 6 x2

S.T.

A>=160
B>=200
c>=80

A = 3 x1 + 2 x2
B = 5 x1 + 2 x2
C = 1 x1 + 2 x2

all dec vars non neg.

apply simplex algorithm or plug that sucker into lingo and you are done
Reply With Quote
  #3  
Old 10-11-2006, 11:13 PM
lippy lippy is offline
Senior Member
 
Join Date: May 2006
Location: i ain\'t got my taco
Posts: 3,905
Default Re: Math homework help

Okay, I'm trying to work through it. This is a very annoying question that shouldn't be hard.
Reply With Quote
  #4  
Old 10-11-2006, 11:29 PM
vin17 vin17 is offline
Senior Member
 
Join Date: Jul 2006
Posts: 767
Default Re: Math homework help

[ QUOTE ]
also, what major are you? please indulge my curiosity.

[/ QUOTE ]
Commerce.
Reply With Quote
  #5  
Old 10-11-2006, 11:35 PM
Thythe Thythe is offline
Senior Member
 
Join Date: Jan 2004
Location: Tempe
Posts: 4,182
Default Re: Math homework help

[ QUOTE ]
disclaimer--its been several years since i've done LP formulation. this may be wrong.

also, what major are you? please indulge my curiosity.

min: costs

let x1 = bags of alpha
x2= bags of beta

min 8 x1 + 6 x2

S.T.

A>=160
B>=200
c>=80

A = 3 x1 + 2 x2
B = 5 x1 + 2 x2
C = 1 x1 + 2 x2

all dec vars non neg.

apply simplex algorithm or plug that sucker into lingo and you are done

[/ QUOTE ]

This is right, but just cut out the middle man and say
3 x1 + 2 x2 >= 160
5 x1 + 2 x2 >= 200
1 x1 + 2 x2 >= 80

Then you don't need A, B, or C.
Reply With Quote
  #6  
Old 10-12-2006, 12:08 AM
Velocity Velocity is offline
Senior Member
 
Join Date: Dec 2005
Location: Sucking at football
Posts: 2,054
Default Re: Math homework help

what is a commerce major exactly?
Reply With Quote
  #7  
Old 10-12-2006, 12:15 AM
silkyslim silkyslim is offline
Senior Member
 
Join Date: Feb 2005
Location: drinkingandpoker.com
Posts: 2,441
Default Re: Math homework help

im drunk and dont own paper and pencil but shouldnt this be solved by a simple system of equations?
Reply With Quote
  #8  
Old 10-12-2006, 04:00 AM
grando grando is offline
Senior Member
 
Join Date: Aug 2006
Location: let us gogogogo
Posts: 7,045
Default Re: Math homework help

[ QUOTE ]
what is a commerce major exactly?

[/ QUOTE ]

marketing/accounting/operations management/finance/general business/human resource management/I'm probably missing a couple
Reply With Quote
  #9  
Old 10-12-2006, 08:15 AM
vin17 vin17 is offline
Senior Member
 
Join Date: Jul 2006
Posts: 767
Default Re: Math homework help

[ QUOTE ]
[ QUOTE ]
what is a commerce major exactly?

[/ QUOTE ]

marketing/accounting/operations management/finance/general business/human resource management/I'm probably missing a couple

[/ QUOTE ]
I'm in a Canadian University, so I don't hear the term 'major' that much - if at all, but anyways...I am currently an undergrad in a Bac. of Commerce program. The first and second years are mostly intro courses before specialization begins in third year.

FWIW, I would like to go into either accounting or finance.
Reply With Quote
  #10  
Old 10-12-2006, 01:27 PM
Scotty. Scotty. is offline
Senior Member
 
Join Date: Nov 2004
Location: Vancouver, BC
Posts: 4,717
Default Re: Math homework help

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
what is a commerce major exactly?

[/ QUOTE ]

marketing/accounting/operations management/finance/general business/human resource management/I'm probably missing a couple

[/ QUOTE ]
I'm in a Canadian University, so I don't hear the term 'major' that much - if at all, but anyways...I am currently an undergrad in a Bac. of Commerce program. The first and second years are mostly intro courses before specialization begins in third year.

FWIW, I would like to go into either accounting or finance.

[/ QUOTE ]

You don't happen to be taking a UBC BComm do you?
Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 03:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.