extremize: extremize

Description Usage Arguments Examples

View source: R/evoper.R

Description

Entry point for optimization functions

Usage

1
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

1
2
3
4
5
6
7
8
9
## 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)

## End(Not run)

antonio-pgarcia/evoper documentation built on Aug. 30, 2020, 10:40 p.m.