Skip to content
Snippets Groups Projects
Commit e5010ef5 authored by Christian Doh Dinga's avatar Christian Doh Dinga
Browse files

delete print comments

parent c6f428d2
No related branches found
No related tags found
1 merge request!1Solve distributed admm problem using centralized optimization
......@@ -25,7 +25,6 @@ def admm_main(primal_var_and_λ_EOM: Dict, admm_parameters: Dict, EOM: Dict, mod
admm_parameters["Residuals"]["Primal"]["EOM"].append(primal_residuals)
# Dual residuals
if iter > 1:
# print(f'######################## print dual residuals for iteration {iter}: start #########################')
squared_dual_residual_for_all_agents = 0
for agent in agents['eom']:
term_to_subtract_current_iteration = np.sum(np.array([primal_var_and_λ_EOM["g"][agt][-1] for agt in agents['eom']]), axis=0) / (EOM["nAgents"] + 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment