vntrs 0.3.1
CRAN release: 2026-11-27
Now stops a local search with a warning if the objective function returns a non-finite value at a point where its value is needed to approximate a derivative.
Now also checks
time_limitbetween the local searches of the initialization.Now rejects bounds without feasible values (a
lowerbound ofInfor anupperbound of-Inf).
vntrs 0.3.0
CRAN release: 2026-09-03
Reorganized optional arguments of
vntrs().Renamed argument
tolerancetoidentical_toleranceto 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_radiusandinterruption_gradient_toleranceto control the distance and gradient thresholds for premature interruption.Added argument
evaluation_limitto impose a maximum number of objective-function calls.Now samples initialization points across finite parameter bounds.
init_minandinit_maxremain 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. # vntrs 0.2.2
Replaced the absolute gradient convergence check with a scaled gradient criterion.
Reworked missing-derivative handling.
Added damped-BFGS trust-region models and reuse of local curvature across continued searches.
