Optimization of an optical material using PyAnsys