neighbours: Neighbourhood Functions for Local-Search Algorithms

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).

Package details

AuthorEnrico Schumann [aut, cre] (<https://orcid.org/0000-0001-7601-6576>)
MaintainerEnrico Schumann <es@enricoschumann.net>
LicenseGPL-3
Version0.1-3
URL http://enricoschumann.net/R/packages/neighbours/ https://sr.ht/~enricoschumann/neighbours/ https://github.com/enricoschumann/neighbours
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("neighbours")

Try the neighbours package in your browser

Any scripts or data that you put into this service are public.

neighbours documentation built on Sept. 22, 2023, 1:07 a.m.