Skip to contents

Generic function to mark specific pairs as forbidden.

Usage

mark_forbidden_pairs(cost_matrix, forbidden_indices)

Value

Modified cost matrix with forbidden pairs marked.