grouper: Optimal Group Assignment and Workload Allocation

Integer programming models to assign students to groups by maximising diversity or topic preferences, and to allocate multi-role teaching workloads while balancing role demand, preferences, fairness, and cohort protection.

Version: 0.7.3
Depends: R (≥ 3.5)
Imports: cluster, dplyr, magrittr, ompr, rlang, yaml
Suggests: knitr, ompr.roi, pkgdown, rmarkdown, ROI.plugin.glpk, ROI.plugin.highs, testthat (≥ 3.0.0)
Published: 2026-07-08
DOI: 10.32614/CRAN.package.grouper
Author: Vik Gopal [aut], Kevin Lam [aut], Ju Xue [ctb], Mingyuan Zhang [aut, cre], National University of Singapore [cph]
Maintainer: Mingyuan Zhang <e0970135 at u.nus.edu>
BugReports: https://github.com/Zimmy313/grouper/issues
License: MIT + file LICENSE
URL: https://Zimmy313.github.io/grouper/, https://github.com/Zimmy313/grouper
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: grouper results

Documentation:

Reference manual: grouper.html , grouper.pdf
Vignettes: Related work and grouper (source, R code)
Maximising Diversity and Balancing Skill (source, R code)
Maximising Preference (source, R code)
Application to simple datasets (source, R code)
Multi-role Workload Allocation (source, R code)

Downloads:

Package source: grouper_0.7.3.tar.gz
Windows binaries: r-devel: grouper_0.5.0.zip, r-release: grouper_0.5.0.zip, r-oldrel: grouper_0.5.0.zip
macOS binaries: r-release (arm64): grouper_0.7.3.tgz, r-oldrel (arm64): grouper_0.7.3.tgz, r-release (x86_64): grouper_0.7.3.tgz, r-oldrel (x86_64): grouper_0.7.3.tgz
Old sources: grouper archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=grouper to link to this page.