Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

Post a reply

Go back

Write your message and submit
:) :| :( :D :o ;) :/ :P :lol: :mad: :rolleyes: :cool: | :dizzy :eek :kiss :roflol :rolleyes :shame :down :up :touched :sleep :wave :swear :tongue :what :faint :dunno
Options

Go back

Topic review (newest first)

mom
2013-05-29 05:11:58

Thank you so much Bob!!

bob bundy
2013-05-29 04:57:44

hi mom,

That's the answer I was hoping you'd get.  Well done!  smile

Bob

ps.  Is that all your questions sorted out?

bobbym
2013-05-29 04:48:46

Hi mom;

Actually your first answer is so good that it can be solved by inspection. No calculation at all. I am not sure that it can be done for any other problem but it works fine here.

I got your answer. That always makes me feel good!

The Russians say,"measure the cloth seven times before cutting it once." When I get the same answer he does, I recheck seven times.

mom
2013-05-29 04:42:32

Bob,

thanks for all of your help. I got the correct answer to be 5x + 5y + 1800

It is correct. I double checked. cool

bob bundy
2013-05-29 04:36:59

hi mom,

My post 8 had an error as I muddled up which one was x.  But I revised my calculation and arrived at one of the answers you have here.  So apply the method and it should work for you too.

I've got to log out now as there's a pile of washing up to do.  I'll check back when I've finished.  smile

Bob

mom
2013-05-29 04:30:48

Bob,

this problem is giving me a headache. My options are as follows:

A. -15x + 15y + 180

B. 45x + 65y

C. 105x + 105y

D. 5x + 5y + 1800

Please help

bob bundy
2013-05-29 04:23:11

bobbym wrote:

Why are you trying to jam this into two variables?

Because I had my variables muddled I couldn't see how to write 'z' and 'w' in terms of x and y.  So I introduced extras.  But look on the bright side.  I got your answer.  smile  That always makes me feel good!

Bob

bob bundy
2013-05-29 04:19:54

Revised which is x, y, z, and w.  But the simplification goes exactly the same and leads to min-cost = 1800.

Bob

bobbym
2013-05-29 04:19:03

Why are you trying to jam this into two variables?

Post #7 and post #10 are now solved by the simplex method.

If you are determined to represent this in just x and y then 0 and 0 are the obvious answers. You would naturally want to ship from the cheapest locations.

bob bundy
2013-05-29 04:14:30

Once again you have found my error.

Back to the drawing board.  sad

Bob

anonimnystefy
2013-05-29 04:05:35

bob bundy wrote:

hi mom,

That example is what I call a Linear Programming Problem.  I'm OK with them.

The car transport problem is a lot more complicated.  Here's what I have done.  (note: it may all be rubbish as I've never done one of these before.)

Let z be the number of cars transported from Balt.  To Phil. and w the number from NY. to Phil.

As we want to minimise the cost, there's no point transporting more cars than necessary so

x + y = 20
z + w = 15

Then the cost equation is

60x + 65y + 45z + 40 w = 60x + 60y + 5y + 40z + 40 w + 5z = 60(x+y) + 40(z+w) + 5y + 5z = 60 x 20 + 40 x 15 + 5(y+z)

So my only chance to reduce the cost is to make y+z as small as possible.

Just looking to see if I can make it zero.

Bob

Isn't x Balt. to Phil. already?

bobbym
2013-05-29 04:05:21

Constraints:
bph >= 0
np >= 0
nph >= 0
bp >= 0
0 <= bp + bph <= 30
0 <= np + nph <= 18
c < 1800,
np + bp = 20
bph + nph =15

60 bp + 45 bph + 65 np + 40 nph = cost

cost = 1800

bob bundy
2013-05-29 04:04:08

If y = z = 0 then

cost = 20 x 60 + 15 x 40 = 1200 + 600 = 1800.

Bob

bob bundy
2013-05-29 04:01:17

hi mom,

That example is what I call a Linear Programming Problem.  I'm OK with them.

The car transport problem is a lot more complicated.  Here's what I have done.  (note: it may all be rubbish as I've never done one of these before.)

Let z be the number of cars transported from Balt.  To Phil. and w the number from NY. to Phil.

As we want to minimise the cost, there's no point transporting more cars than necessary so

x + y = 20
z + w = 15

Then the cost equation is

60x + 65y + 45z + 40 w = 60x + 60y + 5y + 40z + 40 w + 5z = 60(x+y) + 40(z+w) + 5y + 5z = 60 x 20 + 40 x 15 + 5(y+z)

So my only chance to reduce the cost is to make y+z as small as possible.

Just looking to see if I can make it zero.

Bob

bobbym
2013-05-29 03:58:54

Hi mom;

That is what I thought at first too. But that has an obvious answer of zero for both.

The lowest cost is I believe,1800 and has x and y as both 0.

Board footer

Powered by FluxBB