Skip to content

vntrs

0.3.0Package record

Variable Neighborhood Trust Region Search

0packages depend
3Kdownloads / year
82.6%test coverage
13/13flavors OK

Overview

About

Implements a variable neighborhood trust region search (VNTRS) algorithm for nonlinear global optimization, based on Bierlaire et al. (2009) "A Heuristic for Nonlinear Global Optimization" doi:10.1287/ijoc.1090.0343. The method combines neighborhood exploration with a trust-region framework to search the solution space efficiently. It can terminate a local search early when the iterates converge toward a previously visited local optimum or when further improvement within the current region is unlikely. The algorithm can also be used to identify multiple local optima.

Changes in 0.3.0
  • Reorganized optional arguments of vntrs().
  • Renamed argument tolerance to identical_tolerance to clarify that it identifies identical optima.
  • Added argument scale. Its default "relative" applies scale-free distance, objective-gap, duplicate-optimum, and gradient criteria; "absolute" applies the corresponding unscaled measures used by Bierlaire et al. (2009).
  • Made duplicate-optimum detection scale-free by default, while retaining an absolute comparison through scale = "absolute".
  • Added arguments known_optimum_radius and interruption_gradient_tolerance to control the distance and gradient thresholds for premature interruption.
  • Added argument evaluation_limit to impose a maximum number of objective-function calls.
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
  • Now samples initialization points across finite parameter bounds. init_min and init_max remain the fallback for parameters without finite bounds.
  • Expanded the parameter documentation with explanations and recommended values.
  • Improved initialization when the objective is non-finite at a randomly generated starting point.
  • Now sorts returned optima from best to worst by objective value.
  • Reduced objective-function evaluations by delaying numerical gradients until a trial step is accepted and by reusing available values and gradients.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
Show 4 earlier changesHide 4 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-04-16
  • NOTE13 OK, 1 NOTE2026-03-28
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 344 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsiteYes · pkgdown
Help pages
2 (1 internal)includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
83%
Return-value docs
100%
Help pages citing references
50%

Downloads

3K
CRAN downloads in the past year
Rank #13,356 · ~8/day · ~253/mo
Daily download trend is not available in this view yet.
31430 days
84990 days
3K1 year
Compare downloads with other packages →
Also on386 r2u4 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
License file reads as GPL-3.0 · Last activity 2026-09-03
Responsiveness
not measured
PracticesBeta

12 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/loelschlaeger/vntrs on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Issue templatesPR template
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-03 · The repository has a site deploy workflow

pkgdown site last built 2026-09-03

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing vntrs adds 117 packages (55 with compiled code, 86 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (0)
none
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2021)
Releases (5)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-09-03 · current release · diff ↗
  • 0.2.1
    record
    2026-05-07 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    record
    2025-10-25 · diff ↗ ·
    removed 1 export
    check_controls
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    record
    2023-12-21 · diff ↗ ·
    added 1 export
    check_controls
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    record
    2021-10-18
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-10-18
Total releases
5 / 5 yrs
License
GPL-3 OSI
Download size
212 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("vntrs")
Oelschläger, L. (2026). vntrs: Variable Neighborhood Trust Region Search (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.vntrs

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for vntrs version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy