Package: turfLP 0.2.0

John Ennis

turfLP: TURF Analysis with Integer Linear Programming

Finds product portfolios that maximize TURF (total unduplicated reach and frequency) with integer linear programming, following Serra (2013) <doi:10.1016/j.foodqual.2012.10.001>. The maximum reach problem is the maximal covering location problem of Church and ReVelle (1974) <doi:10.1007/BF01942293>. The package solves it as an integer linear program, so it finds exact optima without enumerating every portfolio. Ties on reach are broken by frequency and then by the harmonic mean of the individual product reaches. The package also finds the smallest portfolio that reaches every reachable respondent. For related work on TURF for large data sets, see Ennis, Fayle, and Ennis (2012) <doi:10.1016/j.foodqual.2011.06.004>.

Authors:John Ennis [aut, cre], Aigora [cph, fnd]

turfLP_0.2.0.tar.gz
turfLP_0.2.0.zip(r-4.7-any)turfLP_0.2.0.zip(r-4.6-any)turfLP_0.2.0.zip(r-4.5-any)
turfLP_0.2.0.tgz(r-4.6-any)turfLP_0.2.0.tgz(r-4.5-any)
turfLP_0.2.0.tar.gz(r-4.7-any)turfLP_0.2.0.tar.gz(r-4.6-any)
turfLP_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
turfLP/json (API)

# Install 'turfLP' in R:
install.packages('turfLP', repos = c('https://aigorahub.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/aigorahub/turflp/issues

Datasets:
  • cafe - Simulated cafe drink data
  • chips - Simulated potato chip purchase intent data
  • coffee - Black coffee liking data
  • ham - Cured ham liking data
  • icecream - Simulated ice cream liking data
  • lunchbags - Lunch bag purchase data
  • pies - Thanksgiving pie data

On CRAN:

Conda:

3.88 score 5 stars 2 scripts 79 downloads 4 exports 6 dependencies

Last updated from:9e6e7e569c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK202
source / vignettesOK152
linux-releaseOK185
macos-releaseOK193
macos-oldrelOK182
windows-develOK177
windows-releaseOK166
windows-oldrelOK165
wasm-releaseOK83

Exports:turfturf_min_coverturf_simulateturf_sizes

Dependencies:backportscheckmatehighslatticeMatrixRcpp