# UTILS - [cost_function_matrix](cost_function_matrix.md): Build matrices for cost function - [cost_value](cost_value.md): Calculate the total cost - [local_constraint_matrix](local_constraint_matrix.md): Build local constraint matrices - [penalty_matrix](penalty_matrix.md): Build matrices for penalty cost calculation - [uf_subproblem](uf_subproblem.md): Solve the sub-optimization problem in distributed algorithm for user friendly problem ```{toctree} :maxdepth: 2 :hidden: cost_function_matrix cost_value local_constraint_matrix penalty_matrix uf_subproblem ```