Gain optimization for enhanced solution quality of optoelectronic Ising machines | Synapse