tests/testthat/_snaps/cardinality.md

the certified block prints

Code
  print(fit$cardinality)
Output
  Matched units:       16
  Best possible:       16
  Optimality gap:      0
  Certified optimal

the uncertified block prints

Code
  print(fit$cardinality)
Output
  Matched units:       21
  Global upper bound:  22
  Cardinality gap:     1 unit (4.545%)

the heuristic block prints

Code
  print(fit$cardinality)
Output
  Matched units:       15
  Best possible:       not computed
  Heuristic: no optimality guarantee


Try the couplr package in your browser

Any scripts or data that you put into this service are public.

couplr documentation built on Sept. 17, 2026, 1:08 a.m.