This is an archive of a previous version of Sodarace.

Please visit http://sodarace.net for the latest version.

forum  |  »» sodaplay
 
»» forums  »» artificial intelligence forum

subject: GA for Everyone!

40 replies on 3 pages. most recent reply: 22-Jun-06 11:50 by Chirag

»» back to topic list  

This topic has 40 replies on 3 pages [ 1 2 3 | » ]
»» previous topic   »» next topic  


Chirag

»» models
»» homepage

GA for Everyone!   posted: 13-Feb-04 18:57   »» 
Hi again, i been away for a couple of months doing other things but im back here again for awhile. Ive got a present for all you people out there who cant program but want to optimise ur models without having to sit there for hours tweaking minor settings.

Its a little program that you run along side the race application. Its quite simple. Just load in ur existing model. select the variables u want to optimise, start and let run for a few hours.

ive hardly tested it but it should work ok. you could report any problems here. just be sure to start a new instance of the race app every time u want to start again.

unzip and run "run.bat" to begin

Download from here: http://www.dcs.qmul.ac.uk/sodarace/downloads.html

its the last link



um3k

»» models
»» homepage

Re: GA for Everyone!   posted: 13-Feb-04 19:41   »» 
Running it now. Looks good so far.

guest
Re: GA for Everyone!   posted: 14-Feb-04 01:01   »» 
I'm never in here but your program seems great! I love it! (well, you know what I mean.)
It's only been working a few minutes Switched off G and wave phase. And there's been great progress. Of course it's working with a low G ameoba

guest
Re: GA for Everyone!   posted: 14-Feb-04 01:03   »» 
Ah! wait half the models are becoming so unstable they have literally become deformed shaking objects... nothing a little terrain couldn't fix

guest
Re: GA for Everyone!   posted: 14-Feb-04 02:09   »» 
All right your thing made twowheeler into fastest

model: http://sodarace.net/upload/themanthatdied/twowheeler.jnlp
model: http://sodarace.net/upload/themanthatdied/fastest.jnlp

guest
Re: GA for Everyone!   posted: 14-Feb-04 02:11   »» 
posting glitch but it went from 700 to 196

Chirag

»» models
»» homepage

Re: GA for Everyone!   posted: 14-Feb-04 09:21   »» 
yeah thats spose to happen. Some of the models will become messed up, but you should be left with a pretty fast one at the end

SodaFan

»» models

Re: GA for Everyone!   posted: 14-Feb-04 14:54   »» 
What do you have to do to get it working? I click on the batch file and the window comes up where you have to choose all your settings, BUT NOTHING IS WORKING! Everything is gray and unclickable. Even the filename box! I am running Windows XP, do you think that has anything to do with it?

Lectvay

»» models
»» homepage

Re: GA for Everyone!   posted: 14-Feb-04 15:47   »» 
SodaFan - For me, if I open the sodarace application the settings are no longer gray.

But, I'm still having trouble getting this to work. I choose "browse," select an XML model, and then click "Start GA." Then, the application just closes. What am I doing wrong?

Sounds like a very cool program, Chirag. I hope I can get it working and try it out soon.

guest
Re: GA for Everyone!   posted: 14-Feb-04 16:33   »» 
Hmm... Sometime if you just tweak the settings it won't do that... Also a tip the only thing I turn off for a ameoba was the resting lengths of springs and muscle... When teh model became faster I restarted the program and turn down the mutation and rate (remember to keep them equivalent)

Chirag

»» models
»» homepage

Re: GA for Everyone!   posted: 14-Feb-04 21:31   »» 
yeah if you start the program without the race app running everything is disabled. Once you start the race app the buttons should become enabled. Or just start the race app before you run the program.

If the program has trouble reading an XML file it will just close. Might be sumthin wrong with ur xml file. test it on sumthin like dainty walker.

SodaFan

»» models

Re: GA for Everyone!   posted: 14-Feb-04 23:33   »» 
Ok, I see what I was doing wrong. I was starting the race app but I was offline because I had it downloaded. Unfortunately, the race app only works if you start it online. I have it working now. And Lectvay, do you have "accept all" selected in the race app when you click "Start GA?" Because if you don't, it doesn't do anything. If you do, the application will still close but the race app will be doing all the work and automatically saving the fastest model under "fastest" in the folder where you put the program. Am I right Chirag?

Lectvay

»» models
»» homepage

Re: GA for Everyone!   posted: 15-Feb-04 02:35   »» 
Hi Chirag,

As themanthatdied suggested, I changed the settings a bit and now the same XML file works. Is it possible there is some small bug in the program? I am sure that I am using the same model file as before.

To be specific, I unchecked the options for changing the spring and muscle lengths.

I'm enjoying using your program. Thank you!

Chirag

»» models
»» homepage

Re: GA for Everyone!   posted: 15-Feb-04 06:31   »» 
The window that comes up initially is just for you to choose the settings. Once you start the GA it will dissappear but the program is still running as you can tell it should still be generating models. The program will close when you close the race app.

I'll look into that bug Lectvay. Could you post the XML file you were using?

Lectvay

»» models
»» homepage

Re: GA for Everyone!   posted: 15-Feb-04 17:24   »» 
It is working consistently now, so I'm guessing it wasn't due to the model. I think the problem might have been that I had sodaconstructor local open at the same time, to make a terrain. Anyway, I'm just glad it's working now. Thanks again.



This topic has 40 replies on 3 pages [ 1 2 3 | » ]


»» previous topic   »» next topic  

»» back to topic list  »» top of the page  

PLEASE READ THE FORUM GUIDELINES AND ALWAYS PREVIEW TO CHECK MESSAGES BEFORE POSTING...
...Help keep our forums creative and constructive. Thank you.


»» forum home