New project, Travelling salesman problem[need help]

The Partridge Family were neither partridges nor a family. Discuss.
simplicity
Posts: 18
Joined: July 10th, 2012, 6:55 pm

New project, Travelling salesman problem[need help]

Post by simplicity » July 30th, 2012, 6:57 pm

There is a million pounds award to someone who can solve this problem. I want to solve it and I think I can do it by using Genetic Programming and studying Ants.



I need to do this:
1. Add weights to the random lines.
2. Add a player who can only move using the lines.
3. Make it so the player can't travel to a circle only once.

I need to make it so you can only move between lines. Plus I need to start thinking how I am going to code the AI. I suppose I should get reading the Modern Artificial Intelligence book.

Also, has anyone wrote a genetic algorithm in this framework. As I would like to look at one.
Attachments
TSP2.rar
(34.53 KiB) Downloaded 241 times
Last edited by simplicity on August 1st, 2012, 12:11 pm, edited 4 times in total.

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: New project, Travelling salesman problem[need help]

Post by LuX » July 30th, 2012, 8:44 pm

There is a million pounds award to someone who can solve this problem.
Offered by who? : -P

I doubt something will be that easy to do, if someone were really going to give out a million for such a thing.
ʕ •ᴥ•ʔ

simplicity
Posts: 18
Joined: July 10th, 2012, 6:55 pm

Re: New project, Travelling salesman problem[need help]

Post by simplicity » July 30th, 2012, 9:39 pm

LuX wrote:
There is a million pounds award to someone who can solve this problem.
Offered by who? : -P

I doubt something will be that easy to do, if someone were really going to give out a million for such a thing.
Clay Math institute.

This is assuming that P=NP.



Hey Lux you doing the next AI challenge?

Freeman
Posts: 11
Joined: July 31st, 2012, 11:36 am

Re: New project, Travelling salesman problem[need help]

Post by Freeman » August 1st, 2012, 10:45 am

hey there,

I know a bit about ants from my algorithms and datastructures class
at uni. i dont really see however how ants could get you anywhere close
to the dynammic programming order of complexity O( 2^n x n^2 ), havent
looked at the attached code yet so far. (the problem with genetic programming
being ofc that the occurance of a random solution ( optimal ) is obviously not
guaranteed.

but good luck anyway dude, ill be interested in seeing how far you get, as ive
been a huuuge fan of ants since i first learned about them

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: New project, Travelling salesman problem[need help]

Post by chili » August 1st, 2012, 11:36 am

Hmmm, I would think that ACO and GA are generally mutually exclusive alternatives to each other. How do you propose to implement a system using both of them together?
Chili

Natories
Posts: 107
Joined: June 21st, 2012, 7:06 am
Location: USA
Contact:

Re: New project, Travelling salesman problem[need help]

Post by Natories » August 1st, 2012, 1:39 pm

simplicity wrote:
LuX wrote:
There is a million pounds award to someone who can solve this problem.
Offered by who? : -P

I doubt something will be that easy to do, if someone were really going to give out a million for such a thing.
Clay Math institute.

This is assuming that P=NP.



Hey Lux you doing the next AI challenge?
Who else thought of a transistor when seeing P=NP ... LOL

User avatar
viruskiller
Posts: 399
Joined: June 14th, 2012, 5:07 pm

Re: New project, Travelling salesman problem[need help]

Post by viruskiller » August 1st, 2012, 6:01 pm

i wish i could get a better explanation of the problem to be solved:/ ,and what is ant's?

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: New project, Travelling salesman problem[need help]

Post by Asimov » August 2nd, 2012, 3:48 am

Hi viruskiller,

Ants are little six legged creatures with a sugar fixation.
There was a movie made about them a while ago.

Also I played the game Ants on the spectrum. Where you had to rescue the girl from the ants.

I am sure one of these answers will help you.

Asimov
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: New project, Travelling salesman problem[need help]

Post by chili » August 2nd, 2012, 4:03 am

Anyone here play SimAnt? I used to rent that game for the SNES from a local video rental store called LaserTek. Good times.
Chili

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: New project, Travelling salesman problem[need help]

Post by Asimov » August 2nd, 2012, 12:16 pm

----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

Post Reply