Abstract In this paper, a heuristic algorithm-least efFect (LE) algorithm is proposed for the dynamic centralized wavelength assignment problem in fixed-routing wavelength division multiplexing (WDM) networks without wavelength conversion. Compared with the previously proposed algorithms, LE algorithm can modei the effect of wavelength assignment on the net-work more accurately. Simulation results show that LE algorithm performs better than those algorithms in the most cases.