Traditional optical transport networks are gradually evolving to intelligent optical networks. Intelligent optical networks can support fast bandwidth provision, so they need a faster reconfiguration algorithm. In this paper, we present an algorithm based on simulated annealing for solving the joint logical topology design and routing problem for WDM optical networks. We introduce new mechanism to accelerate the running speed of the simulated annealing algorithm. Computational experiments show that our modified simulated annealing algorithm can obtain a solution very close to that of the classical simulated annealing algorithm, but the running speed of the modified algorithm is much faster.