R/fitByNsga2.R
fitByNsga2.Rd
Fit a hydromad model using the NSGA2 genetic algorithm from the mco package
fitByNsga2(
MODEL,
objective = hydromad.getOption("objective"),
control = hydromad.getOption("nsga2.control")
)
a model specification created by hydromad
. It
should not be fully specified, i.e one or more parameters should be defined
by ranges of values rather than exact values.
objective function to maximise, given as a
function(Q, X, ...)
. See objFunVal
.
arguments for nsga2 function. See nsga2
the best model from those sampled, according to the given
objective
function. Also, these extra elements are inserted:
the result from SCEoptim
.
the objective
function used.
Not currently implemented. Total number of evaluations of the model simulation function.
timing vector as returned by
system.time
.
nsga2