optimbase.logstartup initializes logging if verbose logging is enabled
verbose element of the optimization object). If the logging
has already been initialized, it generates an error and stops the
If verbose logging is enabled,
optimbase.log prints the given message
in the console. If verbose logging is disabled, it does nothing. If the
logfile element of the optimization object has been set, it writes the
message into the file instead of writing to the console.
optimbase.stoplog prints the given stopping rule message if verbose
termination is enabled (via the
verbosetermination element of the
optimization object). If verbose termination is disabled, it does nothing.
optimbase.logshutdown turns verbose logging off.
1 2 3 4
The optimization object.
The message to print.
All functions return the unchanged optimization object.
Author of Scilab optimbase module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (email@example.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.