Learn R Programming

labsimplex (version 0.1.2)

exampleOptimization: Performs a complete simplex optimization over a response surface

Description

The function uses the information in a simplex or creates a new one by using the defined centroid and step-size to perform a simplex optimization using the responses produced in the example response surfaces included in the package.

Usage

exampleOptimization(surface, simplex = NULL, centroid = c(7, 340),
  stepsize = c(0.6, 10), algor = "fixed", experiments = 17, noise = 0)

Arguments

surface

example response surface to be used. See exampleSurfaceR2, exampleSurfaceR3 and exampleSurfaceR2.2pks

simplex

object of class smplx with the simplex information. See labsimplex

centroid

numeric vector of size n with coordinates of the centroid

stepsize

numeric vector of size n with the step-sizes for each coordinate

algor

algorithm to be followed in the vertex generation. 'fixed' for a fixed step-size simplex or 'variable' for a variable step-size simplex

experiments

number of vertexes to evaluate

noise

absolute noise to be included in the results

Value

An object with class smplx with the simplex optimization data.