maxquad | R Documentation |
Lemarechal's MAXQUAD optimization test function.
maxquad(n, m)
n |
number of variables of the generated test function. |
m |
number of functions to compete for the maximum. |
MAXQUAD actually is a family of minimax functions, parametrized by the
number n
of variables and the number m
of functions whose
maximum it is.
Returns a list with components fn
the generated test function of
n
variables, and gr
the corresponding (analytical) gradient
function.
Kuntsevich, A., and F. Kappel (1997). SolvOpt – The Solver for Local Nonlinear Optimization Problems. Manual Version 1.1, Institute of Mathematics, University of Graz.
Lemarechal, C., and R. Mifflin, Eds. (1978). Nonsmooth Optimization. Pergamon Press, Oxford.
Shor, N. Z. (1985). Minimization Methods for Non-differentiable Functions. Series in Computational Mathematics, Springer-Verlag, Berlin.
# Test function of 5 variables, defined as maximum of 5 smooth functions
maxq <- maxquad(5, 5)
fnMaxquad <- maxq$fn
grMaxquad <- maxq$gr
# shor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.