Optimization of Rural-Urban Development and Migration