|
-
Jan 29th, 2001, 07:24 PM
#1
Thread Starter
Frenzied Member
Years ago I remember problems about crossing a desert or or desolate area. I do not remember if the problems were solved by trial and error or some sort of analysis. The following is the general idea.
Say you had a vehicle which could carry enough fuel to travel 600 units (miles or kilometers). You want to cross a desolate area which is say 1500 units (miles or kilometers). How do you do this using a minimum amount of fuel?
It seems obvious that this could be solved by trial and error. Certainly you could write a program to assist the trial and error process.
Is there some analytical approach or successive approximations method which would be certain of obtaining an optimum solution?
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jan 30th, 2001, 12:35 PM
#2
Hyperactive Member
All this involves is a knowledge of serperable ordinary
differential equations and variable mass momentum.
Bababooey
Tatatoothy
Mamamonkey
-
Jan 30th, 2001, 03:14 PM
#3
Thread Starter
Frenzied Member
What about wormholes?
Noble, interesting analysis.
All this involves is a knowledge of serperable ordinary
differential equations and variable mass momentum.
I might have suspected that differential equations were pertinent, but it never occurred to me that momentum analysis would help solve this problem.
Might it also be necessary to consider the use of worm holes or other time warps?
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jan 30th, 2001, 06:52 PM
#4
Member
Most problems "What is the shortest/most efficent/... way/method/.. of something" has the same sort of solution.
Set up an expression which depends of the factor wer'e looking for.
Then...urg...don't know the english word for this, but if our expression is f(t) for example, we figure out the f'(t). Hope you got it 
Then set f'(t)=0 and find out where the function has it's roots. The value (t) has when you've found the root is the max/min point. If there's more than one root you must check towards the f(t) and check which t wer'e looking for.
Hm, I would really need to learn some more math-terms in english. Sorry.
I doubt you'll need diff. eq.'s in most of theese cases, althuough I might have misunderstood what Guv explained.
Balder = Viking God
VB6/VC++ Enterprise Editions
-
Jan 30th, 2001, 06:56 PM
#5
Member
"variable mass momentum"...is that nuclear physics?
I've solved many problems similar to Guv's but none of them had any of that in their solution.
Balder = Viking God
VB6/VC++ Enterprise Editions
-
Jan 30th, 2001, 08:23 PM
#6
Thread Starter
Frenzied Member
Do you folks Grok this problem?
I do not think this type of problem is amenable to calculus methods, which are applicable to continuous functions. This seems to involve discrete methods.
The problem involves establishing fuel depots to enable you to travel the entire distance. You can carry enough fuel for a 600 unit trip and you are trying to travel across a 1500 unit desert.
A guess at a start to the solution is to travel 200 units and leave enough fuel at the first depot for a 200 unit trip & return to the starting point. Do this again and you have 400 units of fuel at the first depot. Now you can go to the first depot, fill up and go another 200 units of distance, leave 200 units at the second depot, return to the first depot, and use the 200 units there to return to the starting point. You now have 200 units of fuel at the second depot and none at the first. You can repeat this process to build up the supply at the second depot, and then get some fuel to a third depot.
Do you see the approach to a solution? It takes a lot of bookkeeping to keep track of how much fuel you use and how much is at each depot. The above suggests establishing 7 depots at 200 unit intervals, with the last depot 100 units from the destination. I am sure you can find a solution using this distance between depots. You could also establish 14 depots at 100 unit intervals and find a solution. Now the question is, what is the solution which requires the minimum amount of fuel?
It does not seem difficult to write a VB program to solve any particular example of this problem, and tinker with the number and spacing of depots to find an optimum solution. The real problem is to determine a general algorithm for solving this type of problem.
I first encountered this problem 40-50 years ago in a magazine. The magazine asked for the solution to a particular problem, but did not bring up the question of a general solution to any such problem.
I have no idea if there is an algorithm usable for the general problem, and I do not know the optimum solution to the above special case. Intuitively, it seems as though the intervals between depots should be equal, except perhaps for the last one. It also seems correct to establish depots at an interval such as the above: Use 1/3 to get to the next depot, leave 1/3, and use 1/3 to return to the starting point. While this seems like the right idea for a general purpose algorithm, I have no idea if it is the correct approach in all cases.
It might be correct to try to analyze how much fuel should be at each depot for the last trip. If you assume depots at 100 unit intervals for the above problem, it seems correct to start the final trip with no fuel at the first 5 depots and 100 units of fuel at each of the others.
It might be very difficult to decide and/or prove that a particular solution is optimal. Note that for depots at 100 unit intervals, there are many itineraries possible for the above problem. For 50 unit intervals, there are even more itineraries possible.
Does anybody have any ideas? Right now, I am too busy with higher priority activities to spend time on this. It looks like a time consuming problem.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jan 31st, 2001, 12:31 AM
#7
Member
Hm...I guess I did misunderstand you Guv. Don´t think I wanna dig into this either
Balder = Viking God
VB6/VC++ Enterprise Editions
-
Jan 31st, 2001, 07:33 AM
#8
Hyperactive Member
var mass momentum...nuclear physics? I thought you
guys were smarter than this. I did, however, misinterpret what exactly you wanted to do in your problem. btw, guru != comedian
Bababooey
Tatatoothy
Mamamonkey
-
Feb 4th, 2001, 02:11 AM
#9
Member
Well, I must blaim my english math-term knowledge again...I´m really curious what "var mass momentum" really is...please explain...perhaps I know without being aware of it.
Balder = Viking God
VB6/VC++ Enterprise Editions
-
Feb 4th, 2001, 07:24 PM
#10
Hyperactive Member
variable mass momentum can be applied to an object whose mass changes while in motion, such as a rocket who burns fuel or drops rockets while traveling
Bababooey
Tatatoothy
Mamamonkey
-
Feb 5th, 2001, 11:04 AM
#11
New Member
err, have 8 vehicles. and a few friends to help.
All travel 300 units and then dump four of the vehicles.
syphen the remaining out of the tanks and fill up the remaining 4 vehicles, then travel another 300 units before dumping another two vehicles and doing the same again with the fule.
Travel another 300 units and dump one of the vehilcles, syphen and then travel the last 600 units with all your friends who probably stink now from having traveled so far in desolate conditions.
would that count as an answer?
-
Feb 5th, 2001, 11:25 AM
#12
Thread Starter
Frenzied Member
Cute & new idea.
Crutchlb, you have come up with a novel approach. I did not check your arithmetic, but assume it is correct. I have seen this type of problem many times with different numbers. Nobody ever proposed your solution.
Your method should be declared allowable on the basis of originality.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Feb 5th, 2001, 11:29 AM
#13
Thread Starter
Frenzied Member
Different efficiency!
Crutchlb, BTW: Your solution seems to waste a lot of vehicles, but is undoubtedly the most efficient with respect to fuel.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jan 3rd, 2002, 03:18 AM
#14
Addicted Member
Hi Guv,
Have you seen this?
http://mathworld.wolfram.com/JeepProblem.html
I've been twiddling on-and-off with a program that should have given results that would have led to this formula, but seeing the amount of Greek it contains I am now sure that I wouldn't have recognised a pattern anyway.
(My vehicle kept going to base 1, dumping some fuel, returning, refuelling and then repeating the above and I never spent enough time fixing the code).
-
Jan 3rd, 2002, 01:45 PM
#15
Hyperactive Member
Re: What about wormholes?
-
Jan 4th, 2002, 12:43 AM
#16
Hyperactive Member
I've just caught up with this thread and it's quite interesting! That Mathworld link seems to have a (the?) solution. But, "seeing the amount of Greek it contains" I won't build my own program.
There are 10 types of people in the world - those that understand binary, and those that don't.
-
Jan 4th, 2002, 12:55 AM
#17
PowerPoster
Yeah David I agree... i started thinking about it before Starman posted that link then thought hell this is gonna get into the gazillions... so i guess the answer is that sometime during the journey either mankind became extinct, oil companies finally stopped hijacking alternative power sources or the guys holidays were up and he had to go back.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|