GA for MC

56 views
Skip to first unread message

Vasilis

unread,
Jan 22, 2015, 9:39:56 AM1/22/15
to pyev...@googlegroups.com
Hi all,

I would like to use GA for optimizing various parameters in Physics Monte Carlo runs, and I would like to know if the following are possible:

1. How to use the G1DList with mixed type arguments: integer, real, 3d vectors and/or strings. All the examples/tutorials I found up to now are always using only one type of arguments.

2. My evaluation function is very slow. I need to prepare a special input for the Monte Carlo, submit a run on our cluster, wait for the results, analyze and return the fitness value. I saw on the documentation that by setting to parallel it is limited only to the number of CPU cores. I would like to have more parallel jobs where each one submits a job. Is it possible and how?

Any example for the above will be highly appreciated

Thanks in advance
Vasilis

Christian S. Perone

unread,
Jan 22, 2015, 4:56:21 PM1/22/15
to pyev...@googlegroups.com
Hi, for the question 1, see example #11 for the use of alleles (http://pyevolve.sourceforge.net/0_6rc1/examples.html#example-11-the-use-of-alleles).
For the question 2, you can clone the development version of Pyevolve from Github and then use the new paramater that was added to the method setMultiprocessing (https://github.com/perone/Pyevolve/commit/948006be75947f11d3928e653091109ae5478d99#diff-df68f23552c4457d507e96bac32c25c4R386).

Cheers,



--

---
You received this message because you are subscribed to the Google Groups "pyevolve" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyevolve+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
"Forgive, O Lord, my little jokes on Thee, and I'll forgive Thy great big joke on me."
Reply all
Reply to author
Forward
0 new messages