Package: neighbours Type: Package Title: Neighbourhood Functions for Local-Search Algorithms Version: 0.1-5 Date: 2025-12-17 Maintainer: Enrico Schumann Authors@R: person(given = "Enrico", family = "Schumann", role = c("aut", "cre"), email = "es@enricoschumann.net", comment = c(ORCID = "0000-0001-7601-6576")) Description: Neighbourhood functions are key components of local-search algorithms such as Simulated Annealing or Threshold Accepting. These functions take a solution and return a slightly-modified copy of it, i.e. a neighbour. The package provides a function neighbourfun() that constructs such neighbourhood functions, based on parameters such as admissible ranges for elements in a solution. Supported are numeric and logical solutions. The algorithms were originally created for portfolio-optimisation applications, but can be used for other models as well. Several recipes for neighbour computations are taken from "Numerical Methods and Optimization in Finance" by M. Gilli, D. Maringer and E. Schumann (2019, ISBN:978-0128150658). License: GPL-3 URL: https://enricoschumann.net/R/packages/neighbours/ , https://sr.ht/~enricoschumann/neighbours/ , https://github.com/enricoschumann/neighbours Depends: R (>= 3.3) Suggests: NMOF, quadprog, tinytest Repository: https://enricoschumann.r-universe.dev Date/Publication: 2025-12-17 09:58:28 UTC RemoteUrl: https://github.com/enricoschumann/neighbours RemoteRef: HEAD RemoteSha: c21a43e6951b12f1e7b5a539684fd464cc67b62b NeedsCompilation: no Packaged: 2026-09-19 08:15:55 UTC; root Author: Enrico Schumann [aut, cre] (ORCID: )