Learn R Programming

evoper (version 0.5.0)

extremize: extremize

Description

Entry point for optimization functions

Usage

extremize(type, objective, options = NULL)

Arguments

type

The optimization method (aco,pso,saa,sda)

objective

An instance of ObjectiveFunction (or subclass) class ObjectiveFunction

options

An apropiate instance from a sublclass of Options class

Examples

Run this code
# NOT RUN {
 f<- PlainFunction$new(f0.rosenbrock2)

 f$Parameter(name="x1",min=-100,max=100)
 f$Parameter(name="x2",min=-100,max=100)

 extremize("pso", f)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab