Optimal Topologies And Algorithms For Minimizing Data Retransmissions In Wireless Networks