Text this: Optimization Methods in Electromagnetic Radiation