Updating the OSPF routing protocol for communication networks by optimal decision-making over the k-shortest path algorithm