Learn R Programming

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

smoof (version 1.5.1)

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

5,767

Version

1.5.1

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jakob Bossek

Last Published

August 14th, 2017

Functions in smoof (1.5.1)

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.
autoplot.smoof_function

Generate ggplot2 object.
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.
getLoggedValues

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

Return lower box constaints.
hasOtherConstraints

Checks whether the objective function has other constraints.
hasTags

Check if function has assigend special tags.
makeAlpine01Function

Alpine01 function
makeAlpine02Function

Alpine02 function
makeBohachevskyN1Function

Bohachevsky function N. 1
makeBoothFunction

Booth Function
getNumberOfParameters

Determine the number of parameters.
getParamSet

Get parameter set.
getRefPoint

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

Returns vector of associated tags.
isSingleobjective

Checks whether the given function is single-objective.
getMeanFunction

Return the true mean function in the noisy case.
getName

Return the name of the function.
getUpperBoxConstraints

Return upper box constaints.
getWrappedFunction

Extract wrapped function.
isVectorized

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

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

Determine the number of objectives.
hasGlobalOptimum

Checks whether global optimum is known.
hasLocalOptimum

Checks whether local optima are known.
isMultiobjective

Checks whether the given function is multi-objective.
getID

Return the ID / short name of the function.
getLocalOptimum

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

Checks whether the objective function has box constraints.
hasConstraints

Checks whether the objective function has constraints.
makeAckleyFunction

Ackley Function
makeAdjimanFunction

Adjiman function
makeBK1Function

BK1 function generator
makeBartelsConnFunction

Bartels Conn Function
makeCarromTableFunction

Carrom Table Function
makeChichinadzeFunction

Chichinadze Function
makeBukinN4Function

Bukin function N. 4
makeBukinN6Function

Bukin function N. 6
makeCosineMixtureFunction

Cosine Mixture Function
makeCrossInTrayFunction

Cross-In-Tray Function
makeDoubleSumFunction

Double-Sum Function
makeEasomFunction

Easom Function
makeDTLZ2Function

DTLZ2 Function (family)
makeDTLZ3Function

DTLZ3 Function (family)
makeEggCrateFunction

Egg Crate Function
makeEggholderFunction

Egg Holder function
makeGeneralizedDropWaveFunction

Generalized Drop-Wave Function
makeGiuntaFunction

Giunta Function
makeHimmelblauFunction

Himmelblau Function
makeHolderTableN1Function

Holder Table function N. 1
makeMPM2Function

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

Goldstein-Price Function
makeGriewankFunction

Griewank Function
makeKeaneFunction

Keane Function
isNoisy

Checks whether the given function is noisy.
makeBealeFunction

Beale Function
makeBentCigarFunction

Bent-Cigar Function
makeBrownFunction

Brown Function
makeBukinN2Function

Bukin function N. 2
makeDTLZ6Function

DTLZ6 Function (family)
makeKearfottFunction

Kearfott function.
makeMOP4Function

MOP4 function generator.
makeMOP5Function

MOP5 function generator.
isWrappedSmoofFunction

Checks whether the function is of type smoof_wrapped_function.
makeAluffiPentiniFunction

Aluffi-Pentini function.
makeMatyasFunction

Matyas Function
makePeriodicFunction

Periodic Function
makePowellSumFunction

Powell-Sum Function
makeModifiedRastriginFunction

Rastrigin Function
makeMultiObjectiveFunction

Generator for multi-objective target functions.
makeShekelFunction

Shekel functions
makeSphereFunction

Sphere Function
makeStyblinkskiTangFunction

Styblinkski-Tang function
makeSumOfDifferentSquaresFunction

Sum of Different Squares Function
makeBBOBFunction

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

Shubert Function
makeZDT3Function

ZDT3 Function
makeZDT4Function

ZDT4 Function
plot1DNumeric

Plot an one-dimensional function.
plot2DNumeric

Plot a two-dimensional numeric function.
makeDTLZ7Function

DTLZ7 Function (family)
makeDentFunction

Dent Function
makeDixonPriceFunction

Dixon-Price Function
makeSwiler2014Function

Swiler2014 function.
makeZDT6Function

ZDT6 Function
makeZettlFunction

Zettl Function
makeHansenFunction

Hansen Function
makeHartmannFunction

Hartmann Function
makeHyperEllipsoidFunction

Hyper-Ellipsoid function
makeBraninFunction

Branin RCOS function
makeBrentFunction

Brent Function
makeDTLZ4Function

DTLZ4 Function (family)
makeDTLZ5Function

DTLZ5 Function (family)
makeInvertedVincentFunction

Inverted Vincent Function
makeLeonFunction

Leon Function
makeMOP1Function

MOP1 function generator.
violatesConstraints

Checks whether constraints are violated.
visualizeParetoOptimalFront

Pareto-optimal front visualization.
makePriceN4Function

Price Function N. 4
makeRastriginFunction

Rastrigin Function
makeSchafferN4Function

Schaffer Function N. 4
makeSchwefelFunction

Schwefel function
makeThreeHumpCamelFunction

Three-Hump Camel Function
makeTrecanniFunction

Trecanni Function
makeDeckkersAartsFunction

Deckkers-Aarts Function
makeDeflectedCorrugatedSpringFunction

Deflected Corrugated Spring function
makeFunctionsByName

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

Check if function should be minimized.
smoof-package

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

Smoof function
isSmoofFunction

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

Bi-objective Sphere function
makeBirdFunction

Bird Function
snof

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

GOMOP function generator.
makeJennrichSampsonFunction

Jennrich-Sampson function.
makeJudgeFunction

Judge function.
makeMOP2Function

MOP2 function generator.
makeMOP3Function

MOP3 function generator.
makeMcCormickFunction

McCormick Function
makeMichalewiczFunction

Michalewicz Function
makeRosenbrockFunction

Rosenbrock Function
makeSchafferN2Function

Modified Schaffer Function N. 2
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.
makeChungReynoldsFunction

Chung Reynolds Function
makeComplexFunction

Complex function.
makeCubeFunction

Cube Function
makeDTLZ1Function

DTLZ1 Function (family)
makeElAttarVidyasagarDuttaFunction

El-Attar-Vidyasagar-Dutta Function
makeEngvallFunction

Complex function.
makeExponentialFunction

Exponential Function
makeFreudensteinRothFunction

Freudenstein Roth Function
makeHolderTableN2Function

Holder Table function N. 2
makeHosakiFunction

Hosaki Function
makeMOP6Function

MOP6 function generator.
makeMOP7Function

MOP7 function generator.
makePriceN1Function

Price Function N. 1
makePriceN2Function

Price Function N. 2
makeSingleObjectiveFunction

Generator for single-objective target functions.
makeSixHumpCamelFunction

Three-Hump Camel Function
makeZDT1Function

ZDT1 Function
makeZDT2Function

ZDT2 Function
mnof

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

Generate ggplot2 object.