Describir: Mutual debt compensation as a minimization problem