tests/testthat/_snaps/cardinality-exact.md

a certified report prints its gap

Code
  print.cardinality_report(report)
Output
  Matched units:       8
  Best possible:       8
  Optimality gap:      0
  Certified optimal

an interrupted report prints its bound

Code
  print.cardinality_report(report)
Output
  Matched units:       13
  Global upper bound:  15
  Cardinality gap:     2 units (13.333%)


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.