Learn R Programming

couplr (version 1.0.10)

apply_all_constraints: 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
)

Arguments

Value

Modified cost matrix with all constraints applied.