
Last chance! 50% off unlimited learning
Sale ends in
Lemarechal's MAXQUAD optimization test function.
maxquad(n, m)
Returns a list with components fn
the generated test function of
n
variables, and gr
the corresponding (analytical) gradient
function.
number of variables of the generated test function.
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.
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
Run the code above in your browser using DataLab