let update_groups_project_coeff pnum coeff = 
  List.iter (fun g -> update_group_project_coeff g pnum coeff) !num_groups