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>.
| Version: | 0.2.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | highs (≥ 1.14.0), Matrix, stats |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-10-07 |
| DOI: | 10.32614/CRAN.package.turfLP (may not be active yet) |
| Author: | John Ennis [aut, cre], Aigora [cph, fnd] |
| Maintainer: | John Ennis <john.m.ennis at aigora.com> |
| BugReports: | https://github.com/aigorahub/turfLP/issues |
| License: | MIT + file LICENSE |
| Copyright: | See the file COPYRIGHTS. turfLP copyright details |
| URL: | https://github.com/aigorahub/turfLP |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | turfLP citation info |
| Materials: | NEWS |
| CRAN checks: | turfLP results |
| Reference manual: | turfLP.html , turfLP.pdf |
| Package source: | turfLP_0.2.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: turfLP_0.2.0.zip |
| macOS binaries: | r-release (arm64): turfLP_0.2.0.tgz, r-oldrel (arm64): turfLP_0.2.0.tgz, r-release (x86_64): turfLP_0.2.0.tgz, r-oldrel (x86_64): turfLP_0.2.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=turfLP to link to this page.