Learn R Programming

smoof (version 1.6.0.3)

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,548

Version

1.6.0.3

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 10th, 2023

Functions in smoof (1.6.0.3)

getGlobalOptimum

Returns the global optimum and its value.
addLoggingWrapper

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

Return the description of the function.
doesCountEvaluations

Check whether the function is counting its function evaluations.
addCountingWrapper

Return a function which counts its function evaluations.
autoplot.smoof_function

Generate ggplot2 object.
getLowerBoxConstraints

Return lower box constaints.
getLoggedValues

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

Return the true mean function in the noisy case.
getID

Return the ID / short name of the function or NA if no ID is set.
computeExpectedRunningTime

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

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

Returns a character vector of possible function tags.
filterFunctionsByTags

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

Conversion between minimization and maximization problems.
getParamSet

Get parameter set.
getNumberOfParameters

Determine the number of parameters.
getLocalOptimum

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

Return the name of the function.
hasGlobalOptimum

Checks whether global optimum is known.
getUpperBoxConstraints

Return upper box constaints.
isWrappedSmoofFunction

Checks whether the function is of type smoof_wrapped_function.
isVectorized

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

Checks whether the given function is multi-objective.
hasBoxConstraints

Checks whether the objective function has box constraints.
hasConstraints

Checks whether the objective function has constraints.
isNoisy

Checks whether the given function is noisy.
makeBK1Function

BK1 function generator
makeBirdFunction

Bird Function
getWrappedFunction

Extract wrapped function.
isSmoofFunction

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

Checks whether the given function is single-objective.
hasTags

Check if function has assigend special tags.
makeAdjimanFunction

Adjiman function
makeAckleyFunction

Ackley Function
hasOtherConstraints

Checks whether the objective function has other constraints.
hasLocalOptimum

Checks whether local optima are known.
makeChichinadzeFunction

Chichinadze Function
makeChungReynoldsFunction

Chung Reynolds Function
makeBraninFunction

Branin RCOS function
makeBohachevskyN1Function

Bohachevsky function N. 1
makeBoothFunction

Booth Function
makeBartelsConnFunction

Bartels Conn Function
makeDTLZ1Function

DTLZ1 Function (family)
getRefPoint

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

Determine the number of objectives.
makeBealeFunction

Beale Function
makeBiObjBBOBFunction

Generator for the function set of the real-parameter Bi-Objective Black-Box Optimization Benchmarking (BBOB).
makeAlpine02Function

Alpine02 function
makeComplexFunction

Complex function.
makeBiSphereFunction

Bi-objective Sphere function
makeAlpine01Function

Alpine01 function
makeCosineMixtureFunction

Cosine Mixture Function
makeCrossInTrayFunction

Cross-In-Tray Function
getTags

Returns vector of associated tags.
makeCubeFunction

Cube Function
makeDTLZ7Function

DTLZ7 Function (family)
makeDTLZ2Function

DTLZ2 Function (family)
makeDeckkersAartsFunction

Deckkers-Aarts Function
makeBentCigarFunction

Bent-Cigar Function
makeDixonPriceFunction

Dixon-Price Function
makeFreudensteinRothFunction

Freudenstein Roth Function
makeBukinN6Function

Bukin function N. 6
makeDoubleSumFunction

Double-Sum Function
makeCarromTableFunction

Carrom Table Function
makeAluffiPentiniFunction

Aluffi-Pentini function.
makeGiuntaFunction

Giunta Function
makeDentFunction

Dent Function
makeDeflectedCorrugatedSpringFunction

Deflected Corrugated Spring function
makeGoldsteinPriceFunction

Goldstein-Price Function
makeBukinN2Function

Bukin function N. 2
makeDTLZ4Function

DTLZ4 Function (family)
makeDTLZ3Function

DTLZ3 Function (family)
makeBukinN4Function

Bukin function N. 4
makeEggholderFunction

Egg Holder function
makeFunctionsByName

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

GOMOP function generator.
makeHimmelblauFunction

Himmelblau Function
makeED1Function

ED1 Function
makeED2Function

ED2 Function
makeHartmannFunction

Hartmann Function
makeGriewankFunction

Griewank Function
makeHansenFunction

Hansen Function
makeMMF11Function

MMF11 Function
makeHolderTableN2Function

Holder Table function N. 2
makeKearfottFunction

Kearfott function.
makeElAttarVidyasagarDuttaFunction

El-Attar-Vidyasagar-Dutta Function
makeGeneralizedDropWaveFunction

Generalized Drop-Wave Function
makeHolderTableN1Function

Holder Table function N. 1
makeMMF14Function

MMF14 Function
makeMMF14aFunction

MMF14a Function
makeMMF13Function

MMF13 Function
makeMMF5Function

MMF5 Function
makeMMF4Function

MMF4 Function
makeInvertedVincentFunction

Inverted Vincent Function
makeJennrichSampsonFunction

Jennrich-Sampson function.
makeBBOBFunction

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

MMF1 Function
makeKeaneFunction

Keane Function
makeMMF6Function

MMF6 Function
makeJudgeFunction

Judge function.
makeMMF15aFunction

MMF15a Function
makeMOP5Function

MOP5 function generator.
makePowellSumFunction

Powell-Sum Function
makeMOP6Function

MOP6 function generator.
makePeriodicFunction

Periodic Function
makeKursaweFunction

Kursawe Function
makeMMF1zFunction

MMF1z Function
makeMMF1eFunction

MMF1e Function
makeEasomFunction

Easom Function
makeBrownFunction

Brown Function
makeHyperEllipsoidFunction

Hyper-Ellipsoid function
makeBrentFunction

Brent Function
makeRosenbrockFunction

Rosenbrock Function
makeMOP3Function

MOP3 function generator.
makeExponentialFunction

Exponential Function
makeDTLZ5Function

DTLZ5 Function (family)
makeDTLZ6Function

DTLZ6 Function (family)
makeOmniTestFunction

MMF13 Function
makeMultiObjectiveFunction

Generator for multi-objective target functions.
makeSchafferN4Function

Schaffer Function N. 4
makeSingleObjectiveFunction

Generator for single-objective target functions.
makeMOP4Function

MOP4 function generator.
makePriceN4Function

Price Function N. 4
makeMMF7Function

MMF7 Function
makeMMF8Function

MMF8 Function
makePriceN1Function

Price Function N. 1
makeMMF12Function

MMF12 Function
makeModifiedRastriginFunction

Rastrigin Function
makePriceN2Function

Price Function N. 2
makeMichalewiczFunction

Michalewicz Function
makeMMF15Function

MMF15 Function
makeRastriginFunction

Rastrigin Function
makeSYMPARTrotatedFunction

MMF13 Function
makeSphereFunction

Sphere Function
makeStyblinkskiTangFunction

Styblinkski-Tang function
makeWFG6Function

WFG6 Function
makeWFG3Function

WFG3 Function
makeWFG4Function

WFG4 Function
makeEngvallFunction

Complex function.
makeEggCrateFunction

Egg Crate Function
makeLeonFunction

Leon Function
makeWFG1Function

WFG1 Function
makeMOP2Function

MOP2 function generator.
makeZettlFunction

Zettl Function
makeWFG2Function

WFG2 Function
mnof

Helper function to create numeric multi-objective optimization test function.
resetEvaluationCounter

Reset evaluation counter.
makeMcCormickFunction

McCormick Function
makeHosakiFunction

Hosaki Function
makeZDT3Function

ZDT3 Function
makeZDT2Function

ZDT2 Function
makeSwiler2014Function

Swiler2014 function.
makeSumOfDifferentSquaresFunction

Sum of Different Squares Function
makeMMF10Function

MMF10 Function
plot.smoof_function

Generate ggplot2 object.
plot2DNumeric

Plot a two-dimensional numeric function.
makeMOP1Function

MOP1 function generator.
makeMOP7Function

MOP7 function generator.
makeSchwefelFunction

Schwefel function
makeZDT4Function

ZDT4 Function
makeMMF9Function

MMF9 Function
makeMMF2Function

MMF2 Function
shouldBeMinimized

Check if function should be minimized.
smoof-package

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

WFG5 Function
smoof_function

Smoof function
makeZDT6Function

ZDT6 Function
makeShekelFunction

Shekel functions
makeShubertFunction

Shubert Function
makeWFG7Function

WFG7 Function
makeMPM2Function

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

WFG8 Function
plot1DNumeric

Plot an one-dimensional function.
makeSYMPARTsimpleFunction

MMF13 Function
makeSchafferN2Function

Modified Schaffer Function N. 2
snof

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

MMF3 Function
makeThreeHumpCamelFunction

Three-Hump Camel Function
makeMatyasFunction

Matyas Function
makeTrecanniFunction

Trecanni Function
makeSixHumpCamelFunction

Three-Hump Camel Function
plot3D

Surface plot of two-dimensional test function.
violatesConstraints

Checks whether constraints are violated.
makeUFFunction

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

Viennet function generator
visualizeParetoOptimalFront

Pareto-optimal front visualization.
makeZDT1Function

ZDT1 Function
makeWFG9Function

WFG9 Function