Design, Analysis, And Optimization Of Traffic Engineering For Software Defined Networks