Data Mining Algorithms In R/Packages/optimsimplex/optimsimplex.print

Description edit

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 edit

   optimsimplex.print(this = NULL)
   optimsimplex.tostring(this = NULL)

Arguments edit

this A simplex object.

Value edit

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 edit

Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)

Examples edit

   opt <- optimsimplex.new(method='axes',x0=1:5)$newobj
   optimsimplex.tostring(opt)
   optimsimplex.print(opt)