Fwd: Code for restarting optimization welcome.

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Fwd: Code for restarting optimization welcome.

by Robert Marks-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Actually, I am a new member -- I joined today, and was using another
email address.
Bob Marks


---------- Forwarded message ----------
From:  <jgap-users-owner@...>
Date: Sat, May 30, 2009 at 11:00 AM
Subject: Code for restarting optimization welcome.
To: bobm@...


You are no regular member of the JGAP list.



---------- Forwarded message ----------
From: bobm@... (Robert Marks)
To: SF1@..., =@agsm.edu.au, jgap-users@...
Date: Sat, 30 May 2009 07:35:33 +1000 (EST)
Subject: Code for restarting optimization welcome.
Dear JGAP Users,

>From a rusty C programmer, new to Java, to RePast, and to JGAP:

I want to restart an optimization after halting and writing out the
latest population of chromosomes.  Before restarting, I'd like to
seed the last population with some designer chromosomes.

Questions: 1. How to write out each generation of chromosomes?
2.  How to read in a particular population at the beginning of any
optimization run?

Any code welcome or pointers welcome.

Bob Marks

--
Robert MARKS, Economics/ALL/AGSM Bldg,
             ASB, UNSW SYDNEY, NSW 2052,
             Australia

Global Financial Crisis timeline at
http://www.agsm.edu.au/bobm/iows/timeline-dec08.pdf

Home page:    http://www.agsm.edu.au/bobm

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users

Re: Fwd: Code for restarting optimization welcome.

by Klaus Meffert-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robert,

Please see the sample class MinimizingMakeChange in package examples: There,
evolution takes place within a loop (look out for population.evolve()).
After evolve(), you can get the population by population.getChromosomes()
and set it back via population.setChromosomes() . Please see class
org.jgap.Population .

Best

Klaus
www.klaus-meffert.com

 

> -----Original Message-----
> >From a rusty C programmer, new to Java, to RePast, and to JGAP:
>
> I want to restart an optimization after halting and writing
> out the latest population of chromosomes.  Before restarting,
> I'd like to seed the last population with some designer chromosomes.
>
> Questions: 1. How to write out each generation of chromosomes?
> 2.  How to read in a particular population at the beginning
> of any optimization run?
>
> Any code welcome or pointers welcome.
>
> Bob Marks
>
> --
> Robert MARKS, Economics/ALL/AGSM Bldg,
>              ASB, UNSW SYDNEY, NSW 2052,
>              Australia
>
> Global Financial Crisis timeline at
> http://www.agsm.edu.au/bobm/iows/timeline-dec08.pdf
>
> Home page:    http://www.agsm.edu.au/bobm
>
> --------------------------------------------------------------
> ----------------
> Register Now for Creativity and Technology (CaT), June 3rd,
> NYC. CaT is a gathering of tech-side developers & brand
> creativity professionals. Meet the minds behind Google
> Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp
> as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> jgap-users mailing list
> jgap-users@...
> https://lists.sourceforge.net/lists/listinfo/jgap-users


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users