CODE V is a powerful tool for the modeling, analysis and design of optical systems of all types. It includes powerful optimization methods, diffraction-based analysis and much more.
LightTool Illumination is an illumination design program with special CAD-like features for 3D solid modeling and analysis of illumination systems.