Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Applied Math
Reply
 
Thread Tools Display Modes
  #1  
Old January 10th, 2009, 04:35 PM
Newbie
 
Join Date: Jan 2009
Posts: 2
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
figo is on a distinguished road
Default Linear programming

Hi
I have one problem
Trucks production company must produce 1000 trucks. Company has four factories. The cost of truck production (raw materials, work) in each separate factory is shown in table:
HTML Code:
-------------------------------------------------
|Factory |Cost x 10^3    |Work   |Raw materials  |
-------------------------------------------------
|1          |15                 |2        |3                  |
-------------------------------------------------
|2          |10                 |3        |4                  |
 ------------------------------------------------
|3          |9                   |4        |5                  |
 ------------------------------------------------
|4          |7                   |5        |6                  |
 ------------------------------------------------
Automaker trade union requires that at least 400 trucks should be made in 3rd factory. It was given 3300 work hours and 4000 pcs. raw materials to each factory for order lead time. Make linear programming problem which minimize the cost of 1000 trucks production.

Can anyone help me to express the objective function and the constraints??

Last edited by figo; January 10th, 2009 at 04:45 PM.
Reply With Quote
Advertisement
 
  #2  
Old January 10th, 2009, 05:47 PM
Last_Singularity's Avatar
Member
 
Join Date: Dec 2008
Posts: 143
Country:
Thanks: 35
Thanked 62 Times in 54 Posts
Last_Singularity will become famous soon enough
Send a message via AIM to Last_Singularity Send a message via MSN to Last_Singularity
Default

Quote:
Originally Posted by figo View Post
Hi
I have one problem
Trucks production company must produce 1000 trucks. Company has four factories. The cost of truck production (raw materials, work) in each separate factory is shown in table:
HTML Code:
-------------------------------------------------
|Factory |Cost x 10^3    |Work   |Raw materials  |
-------------------------------------------------
|1          |15                 |2        |3                  |
-------------------------------------------------
|2          |10                 |3        |4                  |
 ------------------------------------------------
|3          |9                   |4        |5                  |
 ------------------------------------------------
|4          |7                   |5        |6                  |
 ------------------------------------------------
Automaker trade union requires that at least 400 trucks should be made in 3rd factory. It was given 3300 work hours and 4000 pcs. raw materials to each factory for order lead time. Make linear programming problem which minimize the cost of 1000 trucks production.

Can anyone help me to express the objective function and the constraints??
Denote x_1, x_2, x_3, x_4 as your variables, representing the amount that each factory produces. So your objective is:
z = 15x_1 + 10x_2 + 9x_3 + 7x_4

Because it needs to produce 1,000 trucks, one constraint is
x_1 + x_2 + x_3 + x_4 = 1000

At least 400 trucks need to be made in the 3rd factory, so
x_3 \geq 400

Subject to work hours, we have:
2 x_1 + 3 x_2 + 4 x_3 +5 x_4 \leq 3300

Subject to raw materials, we have:
3 x_1 + 4 x_2 + 5 x_3 +6 x_4 \leq 4000

However, I am unsure about whether the previous two constraints are correct or not. They would be if the integers that you provided me with were in units of work hours per truck made and raw materials per truck made. If it is the other way around, you need to flip the numbers around.

Don't forget to implement:
x_1,x_2,x_3,x_4 \geq 0 - this is NOT a trivial constraint because if you solve it with linear programming software, it could give you negative production.
Reply With Quote
  #3  
Old January 11th, 2009, 08:09 AM
DeMath's Avatar
Senior Member
 
Join Date: Nov 2008
Location: Moscow
Posts: 352
Country:
Thanks: 17
Thanked 195 Times in 158 Posts
DeMath has a spectacular aura aboutDeMath has a spectacular aura aboutDeMath has a spectacular aura about
Default

MS Excel has shown such a result:
z_{\min}=11600 if x_1=400, x_2=200, x_3=400, x_4=0.
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 09:08 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.