On Programmable Control And Optimization For Multi-Hop Wireless Networks