ade.examples.goldstein-price.Solver(object)
class documentation
Part of ade.examples.goldstein-price
(View In Hierarchy)
Known subclasses: ade.examples.goldstein-price.GoldSteinPrice_Solver
I solve a compiled test equation using asynchronous differential evolution.
Class Variable | N | The number of parallel processes to run. Leave it at None , the
default, to have the number set to however many CPU cores you have. |
Method | __init__ | Solver () |
Method | report | Prints a one-line message about a new best candidate's values and SSE. |
Method | __call__ | Call my instance to set up a Population full of
Individual s,
establish a reporting callback, and run asynchronous DifferentialEvolution . |
N =
The number of parallel processes to run. Leave it at
None
, the
default, to have the number set to however many CPU cores you have.
def
report(self, values, counter, SSE):
Prints a one-line message about a new best candidate's values and SSE.
@defer.inlineCallbacks
def __call__(self):
def __call__(self):
Call my instance to set up a Population
full of
Individual
s,
establish a reporting callback, and run asynchronous DifferentialEvolution
.