411 REFERENCE · Wikibooks
Data Mining Algorithms In R/Packages/optimsimplex/optimsimplex.print
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Description
optimsimplex.tostring formats the coordinates and function values in a character vector.
optimsimplex.print displays to screen the content of the current simplex with dimensions, coordinates and function values. This function calls optimsimplex.tostring to format the content of the simplex.
Usage
optimsimplex.print(this = NULL)
optimsimplex.tostring(this = NULL)
Arguments
this A simplex object.
Value
optimsimplex.tostring returns a vector of character string of length nbve, where nbve is the number of vertices.
optimsimplex.print does not return any value but print to screen (or log file) the content of the current simplex.
Authors
Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)
Examples
opt <- optimsimplex.new(method='axes',x0=1:5)$newobj
optimsimplex.tostring(opt)
optimsimplex.print(opt)