~enricoschumann/neighbours

8e39b27f391092833e9934e8adc8e42c55fa9750 — Enrico Schumann 1 year, 2 months ago 35df00a master v0.1-3_CRAN
Prepare version 0.1-3
5 files changed, 16 insertions(+), 6 deletions(-)

M ChangeLog
M DESCRIPTION
M NEWS
M man/neighbourfun.Rd
M vignettes/neighbours.Rnw
M ChangeLog => ChangeLog +9 -0
@@ 1,3 1,12 @@
2023-09-21  Enrico Schumann  <es@enricoschumann.net>

        * DESCRIPTION (Version): 0.1-3

        * vignettes/neighbours.Rnw: remove "fontenc"

        * DESCRIPTION (Depends): the package depends on
        R >= 3.3, because it uses \doi{} in the docs

2023-06-29  Enrico Schumann  <es@enricoschumann.net>

        * R/next_subset.R (next_subset): add function

M DESCRIPTION => DESCRIPTION +2 -1
@@ 2,7 2,7 @@ Package: neighbours
Type: Package
Title: Neighbourhood Functions for Local-Search Algorithms
Version: 0.1-3
Date: 2023-06-29
Date: 2023-09-21
Maintainer: Enrico Schumann <es@enricoschumann.net>
Authors@R: person(given = "Enrico", family = "Schumann",
                  role  = c("aut", "cre"),


@@ 26,4 26,5 @@ License: GPL-3
URL: http://enricoschumann.net/R/packages/neighbours/ ,
     https://sr.ht/~enricoschumann/neighbours/ ,
     https://github.com/enricoschumann/neighbours
Depends: R (>= 3.3)
Suggests: NMOF, quadprog, tinytest

M NEWS => NEWS +1 -1
@@ 1,4 1,4 @@
v0.1-3  (2023-07-??; not yet released)
v0.1-3  (2023-09-21)

  o New function "next_subset" for computing the next
    k-of-n subset.

M man/neighbourfun.Rd => man/neighbourfun.Rd +1 -1
@@ 111,7 111,7 @@ neighborfun (min = 0, max = 1, kmin = NULL, kmax = NULL,

  Gilli, M., Maringer, D. and Schumann, E. (2019) \emph{Numerical
  Methods and Optimization in Finance}. 2nd edition. Elsevier.\cr
  \url{https://www.elsevier.com/books/numerical-methods-and-optimization-in-finance/gilli/978-0-12-815065-8}
  \doi{10.1016/C2017-0-01621-X}

  Schumann, E. (2023) \emph{Financial Optimisation with R
    (\pkg{NMOF} Manual)}.\cr

M vignettes/neighbours.Rnw => vignettes/neighbours.Rnw +3 -3
@@ 2,11 2,11 @@
\documentclass[a4paper,11pt]{article}
\usepackage[left = 3cm, top = 2cm, bottom = 2cm, right = 4cm, marginparwidth=3.5cm]{geometry}
\usepackage[noae,nogin]{Sweave}
\usepackage{amsmath,amstext}
\usepackage{libertine}
\usepackage[T1]{fontenc}
\usepackage[scaled=0.9]{inconsolata}
% \usepackage[T1]{fontenc}
\renewcommand*\familydefault{\sfdefault}
\usepackage{amsmath,amstext}
\usepackage{sfmath}
\usepackage{hyperref}
\usepackage{natbib}


@@ 385,7 385,7 @@ $x^{\Delta}$ will be relatively sparse, i.e. many of
its elements are zero.

\begin{equation*}
   x^{\mathrm{n}} = \phantom{A(}x^{\mathrm{c}} + x^{\Delta}\,.
  x^{\mathrm{n}} = x^{\mathrm{c}} + x^{\Delta}\,.
\end{equation*}
Then we have:
\begin{equation*}