Learn R Programming

⚠️There's a newer version (1.6.0.3) of this package.Take me there.

smoof (version 1.5)

Single and Multi-Objective Optimization Test Functions

Description

Provides generators for a high number of both single- and multi- objective test functions which are frequently used for the benchmarking of (numerical) optimization algorithms. Moreover, it offers a set of convenient functions to generate, plot and work with objective functions.

Copy Link

Version

Install

install.packages('smoof')

Monthly Downloads

2,540

Version

1.5

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jakob Bossek

Last Published

April 26th, 2017

Functions in smoof (1.5)

autoplot.smoof_function

computeExpectedRunningTime

Compute the Expected Running Time (ERT) performance measure.
addCountingWrapper

Return a function which counts its function evaluations.
addLoggingWrapper

Return a function which internally stores x or y values.
getDescription

Return the description of the function.
getGlobalOptimum

Returns the global optimum and its value.
conversion

Conversion between minimization and maximization problems.
doesCountEvaluations

Check whether the function is counting its function evaluations.
filterFunctionsByTags

Get a list of implemented test functions with specific tags.
getAvailableTags

Returns a character vector of possible function tags.
getID

Return the ID / short name of the function.
getLocalOptimum

Returns the local optima of a single objective smoof function.
getRefPoint

Returns the reference point of a multi-objective function.
getTags

Returns vector of associated tags.
makeAckleyFunction

Ackley Function
makeAdjimanFunction

Adjiman function
makeBealeFunction

Beale Function
getLoggedValues

Extract logged values of a function wrapped by a logging wrapper.
getLowerBoxConstraints

Return lower box constaints.
getUpperBoxConstraints

Return upper box constaints.
getWrappedFunction

Extract wrapped function.
getNumberOfParameters

Determine the number of parameters.
getParamSet

Get parameter set.
hasBoxConstraints

Checks whether the objective function has box constraints.
getNumberOfEvaluations

Return the number of function evaluations performed by the wrapped smoof_function.
getNumberOfObjectives

Determine the number of objectives.
isSingleobjective

Checks whether the given function is single-objective.
isSmoofFunction

Checks whether the given object is a smoof_function or a smoof_wrapped_function.
getMeanFunction

Return the true mean function in the noisy case.
getName

Return the name of the function.
hasGlobalOptimum

Checks whether global optimum is known.
isVectorized

Checks whether the given function accept “vectorized” input.
isWrappedSmoofFunction

Checks whether the function is of type smoof_wrapped_function.
makeBiSphereFunction

Bi-objective Sphere function
makeBirdFunction

Bird Function
makeBrownFunction

Brown Function
hasLocalOptimum

Checks whether local optima are known.
makeAlpine01Function

Alpine01 function
makeAlpine02Function

Alpine02 function
makeBohachevskyN1Function

Bohachevsky function N. 1
hasOtherConstraints

Checks whether the objective function has other constraints.
hasTags

Check if function has assigend special tags.
makeAluffiPentiniFunction

Aluffi-Pentini function.
makeBBOBFunction

Generator for the noiseless function set of the real-parameter Black-Box Optimization Benchmarking (BBOB).
makeBentCigarFunction

Bent-Cigar Function
makeBukinN4Function

Bukin function N. 4
makeBukinN6Function

Bukin function N. 6
makeCosineMixtureFunction

Cosine Mixture Function
makeCrossInTrayFunction

Cross-In-Tray Function
makeCubeFunction

Cube Function
makeDTLZ1Function

DTLZ1 Function (family)
makeEggCrateFunction

Egg Crate Function
makeEggholderFunction

Egg Holder function
makeElAttarVidyasagarDuttaFunction

El-Attar-Vidyasagar-Dutta Function
makeEngvallFunction

Complex function.
makeHolderTableN1Function

Holder Table function N. 1
makeHolderTableN2Function

Holder Table function N. 2
hasConstraints

Checks whether the objective function has constraints.
isMultiobjective

Checks whether the given function is multi-objective.
isNoisy

Checks whether the given function is noisy.
makeBraninFunction

Branin RCOS function
makeMOP6Function

MOP6 function generator.
makeMOP7Function

MOP7 function generator.
makeThreeHumpCamelFunction

Three-Hump Camel Function
makeTrecanniFunction

Trecanni Function
makeBoothFunction

Booth Function
makeChungReynoldsFunction

Chung Reynolds Function
makeComplexFunction

Complex function.
makeDeckkersAartsFunction

Deckkers-Aarts Function
makeDeflectedCorrugatedSpringFunction

Deflected Corrugated Spring function
makeFunctionsByName

Generate smoof function by passing a character vector of generator names.
makeGOMOPFunction

GOMOP function generator.
makeGoldsteinPriceFunction

Goldstein-Price Function
makeGriewankFunction

Griewank Function
makeHosakiFunction

Hosaki Function
makeHyperEllipsoidFunction

Hyper-Ellipsoid function
makeZDT1Function

ZDT1 Function
makeZDT2Function

ZDT2 Function
makeBukinN2Function

Bukin function N. 2
makeDTLZ4Function

DTLZ4 Function (family)
makeDTLZ5Function

DTLZ5 Function (family)
makeBrentFunction

Brent Function
makeDTLZ6Function

DTLZ6 Function (family)
makeExponentialFunction

Exponential Function
makeMOP2Function

MOP2 function generator.
makeMOP3Function

MOP3 function generator.
makeSchafferN2Function

Modified Schaffer Function N. 2
makePriceN2Function

Price Function N. 2
makePriceN4Function

Price Function N. 4
shouldBeMinimized

Check if function should be minimized.
smoof-package

smoof: Single and Multi-Objective Optimization test functions.
makeDTLZ7Function

DTLZ7 Function (family)
makeFreudensteinRothFunction

Freudenstein Roth Function
makeJennrichSampsonFunction

Jennrich-Sampson function.
makeJudgeFunction

Judge function.
makeDoubleSumFunction

Double-Sum Function
makeEasomFunction

Easom Function
makeHansenFunction

Hansen Function
makeHimmelblauFunction

Himmelblau Function
makeSchafferN4Function

Schaffer Function N. 4
makeSingleObjectiveFunction

Generator for single-objective target functions.
makeSixHumpCamelFunction

Three-Hump Camel Function
makeUFFunction

Generator for the functions UF1, ..., UF10 of the CEC 2009.
makeViennetFunction

Viennet function generator
plot3D

Surface plot of two-dimensional test function.
resetEvaluationCounter

Reset evaluation counter.
makeMPM2Function

Generator for function with multiple peaks following the multiple peaks model 2.
makeMatyasFunction

Matyas Function
makeRastriginFunction

Rastrigin Function
makeRosenbrockFunction

Rosenbrock Function
makeBK1Function

BK1 function generator
makeBartelsConnFunction

Bartels Conn Function
makeCarromTableFunction

Carrom Table Function
makeChichinadzeFunction

Chichinadze Function
makeDTLZ2Function

DTLZ2 Function (family)
makeDTLZ3Function

DTLZ3 Function (family)
makeDentFunction

Dent Function
makeDixonPriceFunction

Dixon-Price Function
makeGeneralizedDropWaveFunction

Generalized Drop-Wave Function
makeGiuntaFunction

Giunta Function
makeLeonFunction

Leon Function
makeMOP1Function

MOP1 function generator.
makeKeaneFunction

Keane Function
makeKearfottFunction

Kearfott function.
makeMcCormickFunction

McCormick Function
makeMichalewiczFunction

Michalewicz Function
makeSphereFunction

Sphere Function
makeStyblinkskiTangFunction

Styblinkski-Tang function
mnof

Helper function to create numeric multi-objective optimization test function.
plot.smoof_function

makeMOP4Function

MOP4 function generator.
makeMOP5Function

MOP5 function generator.
makePowellSumFunction

Powell-Sum Function
smoof_function

Smoof function
snof

Helper function to create numeric single-objective optimization test function.
makeMultiObjectiveFunction

Generator for multi-objective target functions.
makePeriodicFunction

Periodic Function
makeSchwefelFunction

Schwefel function
makeShubertFunction

Shubert Function
makePriceN1Function

Price Function N. 1
makeSumOfDifferentSquaresFunction

Sum of Different Squares Function
makeSwiler2014Function

Swiler2014 function.
makeZDT6Function

ZDT6 Function
makeZDT3Function

ZDT3 Function
makeZDT4Function

ZDT4 Function
violatesConstraints

Checks whether constraints are violated.
visualizeParetoOptimalFront

Pareto-optimal front visualization.
makeZettlFunction

Zettl Function
plot1DNumeric

Plot an one-dimensional function.
plot2DNumeric

Plot a two-dimensional numeric function.