The routing and wavelength assignment (RWA) problem is an optical networking problem with the goal of maximizing the number of optical connections.