Package: couplr 1.8.1
couplr: Optimal Pairing and Matching via Linear Assignment
Solves optimal pairing and matching problems using linear assignment algorithms. Provides implementations of the Hungarian method (Kuhn 1955) <doi:10.1002/nav.3800020109>, Jonker-Volgenant shortest path algorithm (Jonker and Volgenant 1987) <doi:10.1007/BF02278710>, Auction algorithm (Bertsekas 1988) <doi:10.1007/BF02186476>, cost-scaling (Goldberg and Kennedy 1995) <doi:10.1007/BF01585996>, scaling algorithms (Gabow and Tarjan 1989) <doi:10.1137/0218069>, push-relabel (Goldberg and Tarjan 1988) <doi:10.1145/48014.61051>, and Sinkhorn entropy-regularized transport (Cuturi 2013) <doi:10.48550/arxiv.1306.0895>. Designed for matching plots, sites, samples, or any pairwise optimization problem. Supports rectangular matrices, forbidden assignments, data frame inputs, batch solving, k-best solutions, and pixel-level image morphing for visualization. Includes automatic preprocessing with variable health checks, multiple scaling methods (standardized, range, robust), greedy matching algorithms, and comprehensive balance diagnostics for assessing match quality using standardized differences and distribution comparisons.
Authors:
couplr_1.8.1.tar.gz
couplr_1.8.1.zip(r-4.7-x86_64)couplr_1.8.1.zip(r-4.7-arm64)couplr_1.8.1.zip(r-4.6-x86_64)couplr_1.8.1.zip(r-4.6-arm64)couplr_1.8.1.zip(r-4.5-x86_64)
couplr_1.8.1.tgz(r-4.6-x86_64)couplr_1.8.1.tgz(r-4.6-arm64)couplr_1.8.1.tgz(r-4.5-x86_64)couplr_1.8.1.tgz(r-4.5-arm64)
couplr_1.8.1.tar.gz(r-4.7-arm64)couplr_1.8.1.tar.gz(r-4.7-x86_64)couplr_1.8.1.tar.gz(r-4.6-arm64)couplr_1.8.1.tar.gz(r-4.6-x86_64)
couplr_1.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
couplr/json (API)
| # Install 'couplr' in R: |
| install.packages('couplr', repos = c('https://gcol33.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gcol33/couplr/issues
Pkgdown/docs site:https://gillescolling.com
- hospital_staff - Hospital staff scheduling example dataset
bipartite-matchinglinear-assignmentoptimizationcpp
Last updated from:42da71e4ed. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 373 | ||
| linux-devel-x86_64 | OK | 359 | ||
| source / vignettes | OK | 472 | ||
| linux-release-arm64 | OK | 356 | ||
| linux-release-x86_64 | OK | 436 | ||
| macos-release-arm64 | OK | 267 | ||
| macos-release-x86_64 | OK | 545 | ||
| macos-oldrel-arm64 | OK | 280 | ||
| macos-oldrel-x86_64 | OK | 854 | ||
| windows-devel-arm64 | OK | 731 | ||
| windows-devel-x86_64 | OK | 520 | ||
| windows-release-arm64 | OK | 645 | ||
| windows-release-x86_64 | OK | 627 | ||
| windows-oldrel-x86_64 | OK | 636 | ||
| wasm-release | OK | 189 |
Exports:animated_methodsas_assignment_matrixas_matchitassignmentassignment_dualsaugmentbalance_diagnosticsbalance_tablebottleneck_assignmentcardinality_matchcem_matchcompute_distancesdiagnose_distance_matrixestimate_dense_matrix_mbestimate_dense_solve_mbexample_costsexample_dfexplain_dispatchfull_matchget_method_usedget_total_costgroup_byis_distance_objectis_lap_solve_batch_resultis_lap_solve_kbest_resultis_lap_solve_resultjoin_matchedlap_animatelap_solvelap_solve_batchlap_solve_kbestlap_solve_line_metricmatch_couplesmatch_datamatch_pathmatchmakerpixel_morphpixel_morph_animatepreprocess_matching_varsps_matchsensitivity_analysissinkhornsinkhorn_to_assignmentsolver_status_valuessubclass_matchupdate_constraintsverify_assignmentverify_flow
Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangtibbletidyselectutf8vctrswithr
Last update: 2026-10-10
Started: 2025-11-15
Last update: 2026-10-10
Started: 2026-01-07
Last update: 2026-10-10
Started: 2025-11-20
Last update: 2026-10-10
Started: 2025-11-07
Last update: 2026-10-10
Started: 2025-11-15
Last update: 2026-10-10
Started: 2026-01-07