Single and Multi-Objective Optimization Test Functions
Overview
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.
New features
- Added support for the extended bi-objective BBOB functions (FIDs 56-92) in makeBiObjBBOBFunction
- Added extra helper functions to extract all problem instance-specific data from MPM2 generator
- Added R-based evaluation environment for MPM2 generator which greatly accelerates evaluation in multi-objective settings
- Added support for single- and multi-objective NK-landscapes
- Sanity checks for smoof functions evaluations are now optional (you may set the option smoof.check_input_before_evaluation to FALSE in order to deactivate those checks). This can lead to significant speed ups when a function is evaluated many times
Bugfixes
- Fixed bug in getLoggedValues when logging of x-values was set to FALSE in addLoggingWrapper
- Fixed bug with instance ID mapping in makeBiObjBBOBFunction
- Fixed some documentation issues
From NEWS.md in the release
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘getParamSet.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 194 (1 internal)includes a package overview page
- Examples that run
- 89%17 run in a plain check · 2 never run
- Exported functions with examples
- 9%
- Documented parameters
- 100%
- Return-value docs
- 98%
- Help pages citing references
- 64%
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 25
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jakobbossek/smoof on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-03-08 · The repository has a site deploy workflow
Dependencies
Installing smoof adds 25 packages (15 with compiled code, 23 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, Rcpp 1.8 MB.
Show all 16 packagesHide all 16 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.7.0Latest2026-02-24 · current release · diff ↗ ·
added 7 exports
exportNKFunction, getOptimaDf, importNKFunction, makeMNKFunction, makeNKFunction, makeObjectiveFunction, makeRMNKFunction - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.6.0.32023-03-10 · diff ↗ ·
added 22 exports
makeMMF10Function, makeMMF11Function, makeMMF12Function, makeMMF13Function, makeMMF14Function, makeMMF14aFunction, makeMMF15Function, makeMMF15aFunction, makeMMF1Function, makeMMF1eFunction, makeMMF1zFunction, makeMMF2Function, makeMMF3Function, makeMMF4Function, makeMMF5Function, makeMMF6Function, makeMMF7Function, makeMMF8Function, makeMMF9Function, makeOmniTestFunction, makeSYMPARTrotatedFunction, makeSYMPARTsimpleFunction - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-02-18
- 1.6.0.22020-02-18 · diff ↗
- orphanedOrphaned by its maintainer2020-01-31installation issues were not corrected in time
- 1.6.0.12020-01-31 · diff ↗
- 1.6.02020-01-16 · diff ↗ ·
added 13 exports
makeBiObjBBOBFunction, makeED1Function, makeED2Function, makeKursaweFunction, makeWFG1Function, makeWFG2Function, makeWFG3Function, makeWFG4Function, makeWFG5Function, makeWFG6Function, makeWFG7Function, makeWFG8Function, makeWFG9Function - RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
Show 10 earlier eventsHide 10 earlier events
- 1.5.12017-08-14 · diff ↗ ·
added 4 exports
makeHartmannFunction, makeInvertedVincentFunction, makeModifiedRastriginFunction, makeShekelFunction - 1.5
- RR 3.4.0 released · 2017-04-21
- 1.42016-08-03 · diff ↗ ·
removed 1 export
getParamSetadded 14 exports
hasLocalOptimum, makeBK1Function, makeBiSphereFunction, makeDentFunction, makeGOMOPFunction, makeMOP1Function, makeMOP2Function, makeMOP3Function, makeMOP4Function, makeMOP5Function, makeMOP6Function, makeMOP7Function, makeSwiler2014Function, makeViennetFunction - RR 3.3.0 released · 2016-05-03
- 1.3
- 1.22016-01-22 · diff ↗ ·
removed 1 export
makeFunctionByNameadded 4 exports
convertToMaximization, convertToMinimization, getID, makeFunctionsByName - 1.12015-11-24 · diff ↗ ·
removed 1 export
makeBochachevskyFunctionadded 21 exports
getLowerBoxConstraints, getUpperBoxConstraints, hasTags, makeAluffiPentiniFunction, makeBentCigarFunction, makeBohachevskyN1Function, makeComplexFunction, makeDTLZ1Function, makeDTLZ2Function, makeDTLZ3Function, makeDTLZ4Function, makeDTLZ5Function, makeDTLZ6Function, makeDTLZ7Function, makeDeflectedCorrugatedSpringFunction, makeEngvallFunction, makeFunctionByName, makeJennrichSampsonFunction, makeJudgeFunction, makeKearfottFunction, shouldBeMinimized - 1.02015-05-18
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-05-18
- Total releases
- 12 / 11 yrs
- License
- BSD_2_clause + file LICENSE OSI
- Download size
- 231 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("smoof")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.