Optimization of the superconducting transition temperature of the