powered by
Entry point for optimization functions
extremize(type, objective, options = NULL)
The optimization method (aco,pso,saa,sda)
An instance of ObjectiveFunction (or subclass) class ObjectiveFunction
An apropiate instance from a sublclass of Options class
# 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