Learn R Programming

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

smoof (version 1.6.0.2)

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

Version

1.6.0.2

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jakob Bossek

Last Published

February 18th, 2020

Functions in smoof (1.6.0.2)

getDescription

Return the description of the 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.
addCountingWrapper

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

Generate ggplot2 object.
getGlobalOptimum

Returns the global optimum and its value.
doesCountEvaluations

Check whether the function is counting its function evaluations.
addLoggingWrapper

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

Determine the number of parameters.
getParamSet

Get parameter set.
getLocalOptimum

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

Return the ID / short name of the function.
hasBoxConstraints

Checks whether the objective function has box constraints.
makeAlpine01Function

Alpine01 function
hasConstraints

Checks whether the objective function has constraints.
makeBK1Function

BK1 function generator
makeBartelsConnFunction

Bartels Conn Function
makeAlpine02Function

Alpine02 function
getMeanFunction

Return the true mean function in the noisy case.
isMultiobjective

Checks whether the given function is multi-objective.
getNumberOfEvaluations

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

Check if function has assigend special tags.
isNoisy

Checks whether the given function is noisy.
hasOtherConstraints

Checks whether the objective function has other constraints.
makeBealeFunction

Beale Function
getNumberOfObjectives

Determine the number of objectives.
makeBentCigarFunction

Bent-Cigar Function
getUpperBoxConstraints

Return upper box constaints.
getWrappedFunction

Extract wrapped function.
getLoggedValues

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

Returns vector of associated tags.
getRefPoint

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

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

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

Return lower box constaints.
makeBukinN6Function

Bukin function N. 6
makeCarromTableFunction

Carrom Table Function
getName

Return the name of the function.
makeDTLZ5Function

DTLZ5 Function (family)
makeAckleyFunction

Ackley Function
makeAdjimanFunction

Adjiman function
hasGlobalOptimum

Checks whether global optimum is known.
makeAluffiPentiniFunction

Aluffi-Pentini function.
hasLocalOptimum

Checks whether local optima are known.
makeBrentFunction

Brent Function
makeBBOBFunction

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

DTLZ3 Function (family)
makeBrownFunction

Brown Function
isSingleobjective

Checks whether the given function is single-objective.
makeChichinadzeFunction

Chichinadze Function
isWrappedSmoofFunction

Checks whether the function is of type smoof_wrapped_function.
makeDTLZ6Function

DTLZ6 Function (family)
makeBoothFunction

Booth Function
makeBirdFunction

Bird Function
makeBohachevskyN1Function

Bohachevsky function N. 1
makeDTLZ4Function

DTLZ4 Function (family)
makeChungReynoldsFunction

Chung Reynolds Function
makeDTLZ2Function

DTLZ2 Function (family)
makeDTLZ1Function

DTLZ1 Function (family)
makeBraninFunction

Branin RCOS function
isSmoofFunction

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

Bukin function N. 4
makeBiSphereFunction

Bi-objective Sphere function
makeBukinN2Function

Bukin function N. 2
makeComplexFunction

Complex function.
makeBiObjBBOBFunction

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

Cosine Mixture Function
makeCubeFunction

Cube Function
makeCrossInTrayFunction

Cross-In-Tray Function
makeHolderTableN1Function

Holder Table function N. 1
makeGOMOPFunction

GOMOP function generator.
makeGeneralizedDropWaveFunction

Generalized Drop-Wave Function
makeDentFunction

Dent Function
makeDeflectedCorrugatedSpringFunction

Deflected Corrugated Spring function
makeDTLZ7Function

DTLZ7 Function (family)
makeHolderTableN2Function

Holder Table function N. 2
makeEggCrateFunction

Egg Crate Function
makeExponentialFunction

Exponential Function
makeEngvallFunction

Complex function.
makeEasomFunction

Easom Function
makeHosakiFunction

Hosaki Function
makeKeaneFunction

Keane Function
makeMPM2Function

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

Judge function.
makeHyperEllipsoidFunction

Hyper-Ellipsoid function
makeMatyasFunction

Matyas Function
makeKearfottFunction

Kearfott function.
makePriceN1Function

Price Function N. 1
makeDeckkersAartsFunction

Deckkers-Aarts Function
makeKursaweFunction

Kursawe Function
makeFreudensteinRothFunction

Freudenstein Roth Function
makePriceN2Function

Price Function N. 2
makeInvertedVincentFunction

Inverted Vincent Function
makeFunctionsByName

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

Periodic Function
makeED1Function

ED1 Function
makeSumOfDifferentSquaresFunction

Sum of Different Squares Function
makePowellSumFunction

Powell-Sum Function
makeDixonPriceFunction

Dixon-Price Function
makePriceN4Function

Price Function N. 4
makeJennrichSampsonFunction

Jennrich-Sampson function.
makeWFG1Function

WFG1 Function
makeUFFunction

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

Rastrigin Function
makeViennetFunction

Viennet function generator
makeED2Function

ED2 Function
makeSwiler2014Function

Swiler2014 function.
makeWFG2Function

WFG2 Function
makeElAttarVidyasagarDuttaFunction

El-Attar-Vidyasagar-Dutta Function
makeHimmelblauFunction

Himmelblau Function
makeEggholderFunction

Egg Holder function
makeMOP4Function

MOP4 function generator.
makeHartmannFunction

Hartmann Function
makeWFG5Function

WFG5 Function
makeLeonFunction

Leon Function
makeDoubleSumFunction

Double-Sum Function
makeZDT4Function

ZDT4 Function
snof

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

ZDT6 Function
makeMOP5Function

MOP5 function generator.
violatesConstraints

Checks whether constraints are violated.
makeWFG6Function

WFG6 Function
mnof

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

Smoof function
smoof-package

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

Zettl Function
makeGriewankFunction

Griewank Function
makeGiuntaFunction

Giunta Function
makeGoldsteinPriceFunction

Goldstein-Price Function
makeHansenFunction

Hansen Function
makeMOP2Function

MOP2 function generator.
makeMcCormickFunction

McCormick Function
makeMOP3Function

MOP3 function generator.
makeMOP1Function

MOP1 function generator.
makeModifiedRastriginFunction

Rastrigin Function
makeMOP6Function

MOP6 function generator.
makeMichalewiczFunction

Michalewicz Function
makeSchafferN4Function

Schaffer Function N. 4
makeMultiObjectiveFunction

Generator for multi-objective target functions.
makeShekelFunction

Shekel functions
makeShubertFunction

Shubert Function
makeSchwefelFunction

Schwefel function
makeRosenbrockFunction

Rosenbrock Function
makeMOP7Function

MOP7 function generator.
makeSphereFunction

Sphere Function
makeSingleObjectiveFunction

Generator for single-objective target functions.
makeSchafferN2Function

Modified Schaffer Function N. 2
makeThreeHumpCamelFunction

Three-Hump Camel Function
makeStyblinkskiTangFunction

Styblinkski-Tang function
makeWFG3Function

WFG3 Function
makeWFG4Function

WFG4 Function
makeWFG9Function

WFG9 Function
makeZDT1Function

ZDT1 Function
makeSixHumpCamelFunction

Three-Hump Camel Function
makeTrecanniFunction

Trecanni Function
makeWFG8Function

WFG8 Function
makeWFG7Function

WFG7 Function
plot.smoof_function

Generate ggplot2 object.
makeZDT3Function

ZDT3 Function
plot1DNumeric

Plot an one-dimensional function.
makeZDT2Function

ZDT2 Function
shouldBeMinimized

Check if function should be minimized.
resetEvaluationCounter

Reset evaluation counter.
plot2DNumeric

Plot a two-dimensional numeric function.
plot3D

Surface plot of two-dimensional test function.
visualizeParetoOptimalFront

Pareto-optimal front visualization.