setOptimizationSettings
sets optimization task settings including parameters, experiments and method options.
setOptimizationSettings(
expression = NULL,
maximize = NULL,
subtask = NULL,
randomize_start_values = NULL,
calculate_statistics = NULL,
update_model = NULL,
executable = NULL,
parameters = NULL,
method = NULL,
model = getCurrentModel()
)
setOpt(
expression = NULL,
maximize = NULL,
subtask = NULL,
randomize_start_values = NULL,
calculate_statistics = NULL,
update_model = NULL,
executable = NULL,
parameters = NULL,
method = NULL,
model = getCurrentModel()
)
Expression to optimize, as string.
flag
string
Available tasks: 'steadyState', 'timeCourse', 'scan', 'fluxMode', 'optimization', 'parameterFitting', 'mca', 'lyap', 'tssAnalysis', 'sens', 'moieties', 'crosssection', 'lna', 'analytics', 'timeSens'.
flag
flag
flag
flag
corc_opt_parm or list of corc_opt_parm objects
See also defineOptimizationParameter
.
string or list
Set the method directly with a string or with a list containing the entry named `method`.
The list may contain further method arguments and their values.
Available methods: 'Statistics', 'DifferentialEvolution', 'SRES', 'EvolutionaryProgram', 'GeneticAlgorithm', 'GeneticAlgorithmSR', 'HookeJeeves', 'LevenbergMarquardt', 'NelderMead', 'ParticleSwarm', 'Praxis', 'RandomSearch', 'ScatterSearch', 'SimulatedAnnealing', 'SteepestDescent', 'TruncatedNewton'.
a model object
The online article on managing tasks provides some further context.
Other optimization:
addOptimizationParameter()
,
clearOptimizationParameters()
,
defineOptimizationParameter()
,
getOptimizationSettings()
,
runOptimization()