Home | Community | Message Board

Cannabis Seeds Zamnesia
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post Pages: 1
Intelligence and the Travelling Salesman Problem
    #5096286 -

No, not a joke. The Travelling Salesman Problem is a favorite in AI research and database search testing.

It goes like this: A salesman must drive to 50 cities across the nation. The distances between all cities are known. Now find the shortest route. May sound simple to one who has not looked into it, but is v-e-r-y complex. There are 50 factorial possible combinations (50 * 49 * 48 * 47 * 46... * 3 * 2 * 1).

A computer might take 100,000 years to be sure to get the best route by comparing each one.

Or by doing a simple genetic mutation, one can find a route that is very close to the best in 30 minutes. The power of selection in action.


--------------------



The proof is in the pudding.

Edited by Swami (12/23/05 03:04 AM)

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: Swami]
    #5096534 -

Swami said:
Or by doing a simple genetic mutation, one can find a route that is very close to the best in 30 minutes. The power of selection in action.



What?

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: TheCow]
    #5096568 -

Example: Randomly pick eight possible routes. Select the shortest. Swap two cities from each route. Select the shortest. Repeat until no further progress is made after X number of runs. (Stasis)

The absolute best result is NOT guaranteed, but will be very close.

Simplified, this is how evolution works. Once the conditions are set, no external monitoring intelligence is necessary.


--------------------



The proof is in the pudding.

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: TheCow]
    #5096571 -

Evolve a path. Check a bunch of random paths, find the ones that work best, then try a bunch more paths based on those with random mutations added. This was will give pretty good results rapidly, but there's no guarantee of finding the best path without actually testing them all.

I may be reading a bit much into this, but I believe Swami is trying to propose a theory wherein life on Earth, and perhaps the entire universe as we know it, was produced by a process of intelligent design. As this is all very tricky, cutting-edge AI kind of stuff, there clearly must have been an intelligent creator to implement the complex algorithm to allow the universe and life to flourish and evolve.

You raise a compelling argument, Swami. I for one have been successfully swayed towards Intelligent Design. Thanks for showing me the light :heart:

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: GulGen]
    #5096579 -

GulGen said:
Evolve a path. Check a bunch of random paths, find the ones that work best, then try a bunch more paths based on those with random mutations added. This was will give pretty good results rapidly, but there's no guarantee of finding the best path without actually testing them all.

I may be reading a bit much into this, but I believe Swami is trying to propose a theory wherein life on Earth, and perhaps the entire universe as we know it, was produced by a process of intelligent design. As this is all very tricky, cutting-edge AI kind of stuff, there clearly must have been an intelligent creator to implement the complex algorithm to allow the universe and life to flourish and evolve.

You raise a compelling argument, Swami. I for one have been successfully swayed towards Intelligent Design. Thanks for showing me the light :heart:



Ah how cute, hes trying to be sarcastic.

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: TheCow]
    #10353797 -

*bump for relevance*


--------------------

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: OrgoneConclusion]
    #10354013 -

Bump for an enjoyable read is more like it. :thumbup:


--------------------
:redpanda:
If I should die this very moment
I wouldn't fear
For I've never known completeness
Like being here
Wrapped in the warmth of you
Loving every breath of you

:heartpump: :bunnyhug: :yinyang:

:yinyang: :levitate: :earth: :levitate: :yinyang:

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: fireworks_god]
    #10354205 -

fireworks_god said:
Bump for an enjoyable read is more like it. :thumbup:



I hate puzzles almost as much as P&S S&P PP&S SS&P or whatever the "final" name of this fiasco is.


--------------------
Anxiety is what you make it.

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: LunarEclipse]
    #10354270 -

:emocry:


--------------------
:bunny::bunnyhug:
All this time I've loved you
And never known your face
All this time I've missed you
And searched this human race
Here is true peace
Here my heart knows calm
Safe in your soul
Bathed in your sighs

:bunnyhug: :yinyang2:

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: GulGen]
    #10356395 -

GulGen said:
I may be reading a bit much into this, but I believe Swami is trying to propose a theory wherein life on Earth, and perhaps the entire universe as we know it, was produced by a process of intelligent design. As this is all very tricky, cutting-edge AI kind of stuff, there clearly must have been an intelligent creator to implement the complex algorithm to allow the universe and life to flourish and evolve.

You raise a compelling argument, Swami. I for one have been successfully swayed towards Intelligent Design. Thanks for showing me the light :heart:



i mean this in the most respectful sense possible, but:

Personalisms plus a caveat of respectfulness such as are you fucking illiterate are still personalisms and are not allowed in PS&P.

Swami said:
Simplified, this is how evolution works. Once the conditions are set, no external monitoring intelligence is necessary.




--------------------
Weedmaster P knows the truth.

Edited by deCypher (05/18/09 07:37 PM)

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: Swami]
    #10358421 -

I don't understand why you swap 2 cities after choosing the best out of the 8. I realize that it shows a possibly faster route, but the swapping of 2 cities in a tangled route of 50 points seems like a miniscule change.

Couldn't the problem be done in a smaller amount of steps by only analyzing different routes of the 50 cities and applying them to a probability distribution?

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: Epigallo]
    #10360564 -

I apologize for the flaming.
DeCypher, thank you for pointing out that I crossed the line.

That said, I still feel it's inexcusable to make baseless extrapolations about someone's theories and then attack them for it ... especially considering that Swami made it clear that his actual theory was explicitly contrary to GulGen's "inference."
Sarcastic and ignorant attacks on imaginary non-arguments degrade a thread just as much as flaming does.


Bradley, what do you mean by "only analyzing different routes" and "applying a probability distribution?"

The swapping of 2 cities is just a very easy "mutation" to perform computationally, and one which if iterated enough times while selecting for success gives good results.
It's ... well, it's evolutionary computation, as Swami said.
There are a ton of different mutations which might work, the swapping of 2 cities is just one of them.


--------------------
Weedmaster P knows the truth.

Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: laserpig]
    #10361616 -


Extras: Filter Print Post Top
Re: Intelligence and the Travelling Salesman Problem [Re: zneocide]
    #10363443 -

Quote:
Bradley, what do you mean by "only analyzing different routes" and "applying a probability distribution?"

The swapping of 2 cities is just a very easy "mutation" to perform computationally, and one which if iterated enough times while selecting for success gives good results.
It's ... well, it's evolutionary computation, as Swami said.
There are a ton of different mutations which might work, the swapping of 2 cities is just one of them.



By "only analyzing different routes" I mean why not just stick to random permutations of the 50 cities, rather than bothering with small mutations of each permutation. Like I said, a mutation of swapping two cities would seem likely to have a relatively small effect on the overall traveling time.

By "apply a probability distribution" I mean to use statistics to determine when there is a very small chance (whatever desired by the computer; e.g. .01%) of achieving a faster route. With normally distributed data it would be apparent when it is wise to stop calculations. In fact, one would always see some progress eventually so you pretty much have to do this.

Can you prove that swapping two cities reduces overall computational time?

Extras: Filter Print Post Top
Jump to top Pages: 1


Similar ThreadsPosterViewsRepliesLast post
* What is Intelligence?
( 1 2 all )
The_Clash_UK 2,305 21 07/16/02 04:33 PM
by francisco
* There isn't intelligent life out there reason 2
( 1 2 3 4 5 6 7 8 all )
Dogomush 10,335 141 09/07/09 12:46 PM
by sandman3698
* Even more time travel. recalcitrant 1,506 16 09/19/03 02:31 PM
by Strumpling
* There isn't intelligent life on other planets
( 1 2 3 4 all )
Dogomush 5,930 79 02/06/06 05:44 PM
by TheGus
* Problems in Philosophy: Knowledge chodamunky 1,169 3 05/03/04 10:38 AM
by TheShroomHermit
* interdimensional/interstellar travel via psychedelics?
( 1 2 3 4 5 all )
guitarmon 13,025 95 11/22/03 10:57 PM
by Anonymous
* What is intelligence?
( 1 2 all )
silversoul7 2,301 32 11/15/03 12:01 AM
by ZenGecko
* Intelligent Design
( 1 2 all )
djd586 3,331 22 12/18/03 05:32 PM
by fireworks_god

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Middleman, DividedQuantum
1,496 topic views. 0 members, 17 guests and 23 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.026 seconds spending 0.004 seconds on 16 queries.