Package: smoof 1.7.0.9000

smoof: Single and Multi-Objective Optimization Test Functions

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.

Authors:Jakob Bossek [aut, cre], Pascal Kerschke [ctb], Lennart Schäpermeier [ctb]

smoof_1.7.0.9000.tar.gz
smoof_1.7.0.9000.zip(r-4.7)smoof_1.7.0.9000.zip(r-4.6)smoof_1.7.0.9000.zip(r-4.5)
smoof_1.7.0.9000.tgz(r-4.6-x86_64)smoof_1.7.0.9000.tgz(r-4.6-arm64)smoof_1.7.0.9000.tgz(r-4.5-x86_64)smoof_1.7.0.9000.tgz(r-4.5-arm64)
smoof_1.7.0.9000.tar.gz(r-4.7-arm64)smoof_1.7.0.9000.tar.gz(r-4.7-x86_64)smoof_1.7.0.9000.tar.gz(r-4.6-arm64)smoof_1.7.0.9000.tar.gz(r-4.6-x86_64)
smoof_1.7.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
smoof/json (API)
NEWS

# Install 'smoof' in R:
install.packages('smoof', repos = c('https://jakobbossek.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jakobbossek/smoof/issues

Pkgdown/docs site:https://jakobbossek.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

benchmark-functionsmulti-objective-optimizationsingle-objective-optimizationcpp

9.51 score 36 stars 12 packages 248 scripts 7.8k downloads 192 exports 25 dependencies

Last updated from:794334d98d. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK188
linux-devel-x86_64OK205
source / vignettesOK226
linux-release-arm64OK192
linux-release-x86_64OK189
macos-release-arm64OK186
macos-release-x86_64OK320
macos-oldrel-arm64OK194
macos-oldrel-x86_64OK575
windows-develOK211
windows-releaseOK180
windows-oldrelOK228
wasm-releaseOK141

Exports:addCountingWrapperaddLoggingWrappercomputeExpectedRunningTimeconvertToMaximizationconvertToMinimizationdoesCountEvaluationsexportNKFunctionfilterFunctionsByTagsgetAvailableTagsgetDescriptiongetGlobalOptimumgetIDgetLocalOptimumgetLoggedValuesgetLowerBoxConstraintsgetMeanFunctiongetNamegetNumberOfEvaluationsgetNumberOfObjectivesgetNumberOfParametersgetOptimaDfgetRefPointgetTagsgetUpperBoxConstraintsgetWrappedFunctionhasBoxConstraintshasConstraintshasGlobalOptimumhasLocalOptimumhasOtherConstraintshasTagsimportNKFunctionisMultiobjectiveisNoisyisSingleobjectiveisSmoofFunctionisVectorizedisWrappedSmoofFunctionmakeAckleyFunctionmakeAdjimanFunctionmakeAlpine01FunctionmakeAlpine02FunctionmakeAluffiPentiniFunctionmakeBartelsConnFunctionmakeBBOBFunctionmakeBealeFunctionmakeBentCigarFunctionmakeBiObjBBOBFunctionmakeBirdFunctionmakeBiSphereFunctionmakeBK1FunctionmakeBohachevskyN1FunctionmakeBoothFunctionmakeBraninFunctionmakeBrentFunctionmakeBrownFunctionmakeBukinN2FunctionmakeBukinN4FunctionmakeBukinN6FunctionmakeCarromTableFunctionmakeChichinadzeFunctionmakeChungReynoldsFunctionmakeComplexFunctionmakeCosineMixtureFunctionmakeCrossInTrayFunctionmakeCubeFunctionmakeDeckkersAartsFunctionmakeDeflectedCorrugatedSpringFunctionmakeDentFunctionmakeDixonPriceFunctionmakeDoubleSumFunctionmakeDTLZ1FunctionmakeDTLZ2FunctionmakeDTLZ3FunctionmakeDTLZ4FunctionmakeDTLZ5FunctionmakeDTLZ6FunctionmakeDTLZ7FunctionmakeEasomFunctionmakeED1FunctionmakeED2FunctionmakeEggCrateFunctionmakeEggholderFunctionmakeElAttarVidyasagarDuttaFunctionmakeEngvallFunctionmakeExponentialFunctionmakeFreudensteinRothFunctionmakeFunctionsByNamemakeGeneralizedDropWaveFunctionmakeGiuntaFunctionmakeGoldsteinPriceFunctionmakeGOMOPFunctionmakeGriewankFunctionmakeHansenFunctionmakeHartmannFunctionmakeHimmelblauFunctionmakeHolderTableN1FunctionmakeHolderTableN2FunctionmakeHosakiFunctionmakeHyperEllipsoidFunctionmakeInvertedVincentFunctionmakeJennrichSampsonFunctionmakeJudgeFunctionmakeKeaneFunctionmakeKearfottFunctionmakeKursaweFunctionmakeLeonFunctionmakeMatyasFunctionmakeMcCormickFunctionmakeMichalewiczFunctionmakeMMF10FunctionmakeMMF11FunctionmakeMMF12FunctionmakeMMF13FunctionmakeMMF14aFunctionmakeMMF14FunctionmakeMMF15aFunctionmakeMMF15FunctionmakeMMF1eFunctionmakeMMF1FunctionmakeMMF1zFunctionmakeMMF2FunctionmakeMMF3FunctionmakeMMF4FunctionmakeMMF5FunctionmakeMMF6FunctionmakeMMF7FunctionmakeMMF8FunctionmakeMMF9FunctionmakeMNKFunctionmakeModifiedRastriginFunctionmakeMOP1FunctionmakeMOP2FunctionmakeMOP3FunctionmakeMOP4FunctionmakeMOP5FunctionmakeMOP6FunctionmakeMOP7FunctionmakeMPM2FunctionmakeMultiObjectiveFunctionmakeNKFunctionmakeObjectiveFunctionmakeOmniTestFunctionmakePeriodicFunctionmakePowellSumFunctionmakePriceN1FunctionmakePriceN2FunctionmakePriceN4FunctionmakeRastriginFunctionmakeRMNKFunctionmakeRosenbrockFunctionmakeSchafferN2FunctionmakeSchafferN4FunctionmakeSchwefelFunctionmakeShekelFunctionmakeShubertFunctionmakeSingleObjectiveFunctionmakeSixHumpCamelFunctionmakeSphereFunctionmakeStyblinkskiTangFunctionmakeSumOfDifferentSquaresFunctionmakeSwiler2014FunctionmakeSYMPARTrotatedFunctionmakeSYMPARTsimpleFunctionmakeThreeHumpCamelFunctionmakeTrecanniFunctionmakeUFFunctionmakeViennetFunctionmakeWFG1FunctionmakeWFG2FunctionmakeWFG3FunctionmakeWFG4FunctionmakeWFG5FunctionmakeWFG6FunctionmakeWFG7FunctionmakeWFG8FunctionmakeWFG9FunctionmakeZDT1FunctionmakeZDT2FunctionmakeZDT3FunctionmakeZDT4FunctionmakeZDT6FunctionmakeZettlFunctionmnofplot1DNumericplot2DNumericplot3DresetEvaluationCountershouldBeMinimizedsnofviolatesConstraintsvisualizeParetoOptimalFront

Dependencies:backportsBBmisccheckmateclicpp11data.tablefarverfastmatchggplot2gluegtableisobandlabelinglifecycleParamHelpersR6RColorBrewerRcppRcppArmadillorlangS7scalesvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Return a function which counts its function evaluationsaddCountingWrapper
Return a function which internally stores x or y valuesaddLoggingWrapper
Generate ggplot2 objectautoplot.smoof_function
Compute the Expected Running Time (ERT) performance measurecomputeExpectedRunningTime
Conversion between minimization and maximization problemsconversion convertToMaximization convertToMinimization
Check whether the function is counting its function evaluationsdoesCountEvaluations
Export/import (rM)NK-landscapesexportNKFunction importNKFunction
Get a list of implemented test functions with specific tagsfilterFunctionsByTags
Returns a character vector of possible function tagsgetAvailableTags
Returns the description of the functiongetDescription
Returns the global optimum and its valuegetGlobalOptimum
Returns the ID / short name of the functiongetID
Returns the local optima of a single objective smoof functiongetLocalOptimum
Extracts the logged values of a function wrapped by a logging wrappergetLoggedValues
Returns lower box constraints for a Smoof functiongetLowerBoxConstraints
Returns the true mean function in the noisy casegetMeanFunction
Returns the name of the functiongetName
Returns the number of function evaluations performed by the wrapped 'smoof_function'getNumberOfEvaluations
Determines the number of objectivesgetNumberOfObjectives
Determines the number of parametersgetNumberOfParameters
Get Data Frame of optimagetOptimaDf
Get parameter setgetParamSet
Returns the reference point of a multi-objective functiongetRefPoint
Returns the vector of associated tagsgetTags
Return upper box constraintsgetUpperBoxConstraints
Extract wrapped functiongetWrappedFunction
Checks whether the objective function has box constraintshasBoxConstraints
Checks whether the objective function has constraintshasConstraints
Checks whether the global optimum is knownhasGlobalOptimum
Checks whether local optima are knownhasLocalOptimum
Checks whether the objective function has other constraintshasOtherConstraints
Checks if the function has assigned special tagshasTags
Checks whether the given function is multi-objectiveisMultiobjective
Checks whether the given function is noisyisNoisy
Checks whether the given function is single-objectiveisSingleobjective
Checks whether the given object is a 'smoof_function' or a 'smoof_wrapped_function'isSmoofFunction
Checks whether the given function accepts "vectorized" inputisVectorized
Checks whether the function is of type 'smoof_wrapped_function'isWrappedSmoofFunction
Ackley FunctionmakeAckleyFunction
Adjiman functionmakeAdjimanFunction
Alpine01 functionmakeAlpine01Function
Alpine02 functionmakeAlpine02Function
Aluffi-Pentini functionmakeAluffiPentiniFunction
Bartels Conn FunctionmakeBartelsConnFunction
Generator for noiseless function set of the real-parameter BBOBmakeBBOBFunction
Beale FunctionmakeBealeFunction
Bent-Cigar FunctionmakeBentCigarFunction
Generate Bi-Objective Function from the Real-Parameter Bi-Objective Black-Box Optimization Benchmarking (BBOB)makeBiObjBBOBFunction
Bird FunctionmakeBirdFunction
Bi-objective Sphere functionmakeBiSphereFunction
BK1 function generatormakeBK1Function
Bohachevsky function N. 1makeBohachevskyN1Function
Booth FunctionmakeBoothFunction
Branin RCOS functionmakeBraninFunction
Brent FunctionmakeBrentFunction
Brown FunctionmakeBrownFunction
Bukin function N. 2makeBukinN2Function
Bukin function N. 4makeBukinN4Function
Bukin function N. 6makeBukinN6Function
Carrom Table FunctionmakeCarromTableFunction
Chichinadze FunctionmakeChichinadzeFunction
Chung Reynolds FunctionmakeChungReynoldsFunction
Complex functionmakeComplexFunction
Cosine Mixture FunctionmakeCosineMixtureFunction
Cross-In-Tray FunctionmakeCrossInTrayFunction
Cube FunctionmakeCubeFunction
Deckkers-Aarts FunctionmakeDeckkersAartsFunction
Deflected Corrugated Spring functionmakeDeflectedCorrugatedSpringFunction
Dent Function GeneratormakeDentFunction
Dixon-Price FunctionmakeDixonPriceFunction
Double-Sum FunctionmakeDoubleSumFunction
DTLZ1 Function (family)makeDTLZ1Function
DTLZ2 Function (family)makeDTLZ2Function
DTLZ3 Function (family)makeDTLZ3Function
DTLZ4 Function (family)makeDTLZ4Function
DTLZ5 Function (family)makeDTLZ5Function
DTLZ6 Function (family)makeDTLZ6Function
DTLZ7 Function (family)makeDTLZ7Function
Easom FunctionmakeEasomFunction
ED1 FunctionmakeED1Function
ED2 FunctionmakeED2Function
Egg Crate FunctionmakeEggCrateFunction
Egg Holder functionmakeEggholderFunction
El-Attar-Vidyasagar-Dutta FunctionmakeElAttarVidyasagarDuttaFunction
Complex functionmakeEngvallFunction
Exponential FunctionmakeExponentialFunction
Freudenstein Roth FunctionmakeFreudensteinRothFunction
Generate smoof function by passing a character vector of generator namesmakeFunctionsByName
Generalized Drop-Wave FunctionmakeGeneralizedDropWaveFunction
Giunta FunctionmakeGiuntaFunction
Goldstein-Price FunctionmakeGoldsteinPriceFunction
GOMOP function generatormakeGOMOPFunction
Griewank FunctionmakeGriewankFunction
Hansen FunctionmakeHansenFunction
Hartmann FunctionmakeHartmannFunction
Himmelblau FunctionmakeHimmelblauFunction
Holder Table function N. 1makeHolderTableN1Function
Holder Table function N. 2makeHolderTableN2Function
Hosaki FunctionmakeHosakiFunction
Hyper-Ellipsoid functionmakeHyperEllipsoidFunction
Inverted Vincent FunctionmakeInvertedVincentFunction
Jennrich-Sampson functionmakeJennrichSampsonFunction
Judge functionmakeJudgeFunction
Keane FunctionmakeKeaneFunction
Kearfott functionmakeKearfottFunction
Kursawe FunctionmakeKursaweFunction
Leon FunctionmakeLeonFunction
Matyas FunctionmakeMatyasFunction
McCormick FunctionmakeMcCormickFunction
Michalewicz FunctionmakeMichalewiczFunction
MMF10 FunctionmakeMMF10Function
MMF11 FunctionmakeMMF11Function
MMF12 FunctionmakeMMF12Function
MMF13 FunctionmakeMMF13Function
MMF14a FunctionmakeMMF14aFunction
MMF14 FunctionmakeMMF14Function
MMF15a FunctionmakeMMF15aFunction
MMF15 FunctionmakeMMF15Function
MMF1e FunctionmakeMMF1eFunction
MMF1 FunctionmakeMMF1Function
MMF1z FunctionmakeMMF1zFunction
MMF2 FunctionmakeMMF2Function
MMF3 FunctionmakeMMF3Function
MMF4 FunctionmakeMMF4Function
MMF5 FunctionmakeMMF5Function
MMF6 FunctionmakeMMF6Function
MMF7 FunctionmakeMMF7Function
MMF8 FunctionmakeMMF8Function
MMF9 FunctionmakeMMF9Function
Generators for (r)MNK-landscapesmakeMNKFunction makeRMNKFunction
Rastrigin FunctionmakeModifiedRastriginFunction
MOP1 function generatormakeMOP1Function
MOP2 function generatormakeMOP2Function
MOP3 function generatormakeMOP3Function
MOP4 function generatormakeMOP4Function
MOP5 function generatormakeMOP5Function
MOP6 function generatormakeMOP6Function
MOP7 function generatormakeMOP7Function
Generator for function with multiple peaks following the multiple peaks model 2makeMPM2Function
Generator for multi-objective target functionsmakeMultiObjectiveFunction
Generator for NK-landscapesmakeNKFunction
Internal generator for function of smoof typemakeObjectiveFunction
MMF13 FunctionmakeOmniTestFunction
Periodic FunctionmakePeriodicFunction
Powell-Sum FunctionmakePowellSumFunction
Price Function N. 1makePriceN1Function
Price Function N. 2makePriceN2Function
Price Function N. 4makePriceN4Function
Rastrigin FunctionmakeRastriginFunction
Rosenbrock FunctionmakeRosenbrockFunction
Modified Schaffer Function N. 2makeSchafferN2Function
Schaffer Function N. 4makeSchafferN4Function
Schwefel functionmakeSchwefelFunction
Shekel functionsmakeShekelFunction
Shubert FunctionmakeShubertFunction
Generator for single-objective target functionsmakeSingleObjectiveFunction
Three-Hump Camel FunctionmakeSixHumpCamelFunction
Sphere FunctionmakeSphereFunction
Styblinkski-Tang functionmakeStyblinkskiTangFunction
Sum of Different Squares FunctionmakeSumOfDifferentSquaresFunction
Swiler2014 functionmakeSwiler2014Function
SYM-PART Rotated FunctionmakeSYMPARTrotatedFunction
SYM-PART Simple FunctionmakeSYMPARTsimpleFunction
Three-Hump Camel FunctionmakeThreeHumpCamelFunction
Trecanni FunctionmakeTrecanniFunction
Generator for the functions UF1, ..., UF10 of the CEC 2009makeUFFunction
Viennet function generatormakeViennetFunction
WFG1 FunctionmakeWFG1Function
WFG2 FunctionmakeWFG2Function
WFG3 FunctionmakeWFG3Function
WFG4 FunctionmakeWFG4Function
WFG5 FunctionmakeWFG5Function
WFG6 FunctionmakeWFG6Function
WFG7 FunctionmakeWFG7Function
WFG8 FunctionmakeWFG8Function
WFG9 FunctionmakeWFG9Function
ZDT1 FunctionmakeZDT1Function
ZDT2 FunctionmakeZDT2Function
ZDT3 FunctionmakeZDT3Function
ZDT4 FunctionmakeZDT4Function
ZDT6 FunctionmakeZDT6Function
Zettl FunctionmakeZettlFunction
Helper function to create a numeric multi-objective optimization test functionmnof
Generate ggplot2 objectplot.smoof_function
Plot an one-dimensional functionplot1DNumeric
Plot a two-dimensional numeric functionplot2DNumeric
Surface plot of two-dimensional test functionplot3D
Reset evaluation counterresetEvaluationCounter
Check if function should be minimizedshouldBeMinimized
Smoof functionsmoof_function smoof_multi_objective_function smoof_single_objective_function
Helper function to create numeric single-objective optimization test functionsnof
Checks whether constraints are violatedviolatesConstraints
Pareto-optimal front visualizationvisualizeParetoOptimalFront