apply_all_constraints: Apply all constraints to cost matrix

View source: R/matching_constraints.R

apply_all_constraintsR Documentation

Apply all constraints to cost matrix

Description

Main entry point for applying constraints.

Usage

apply_all_constraints(
  cost_matrix,
  left,
  right,
  vars,
  max_distance = Inf,
  calipers = NULL,
  forbidden = NULL
)

Value

Modified cost matrix with all constraints applied.


couplr documentation built on Jan. 20, 2026, 5:07 p.m.