Alternate minimization gradient method | Synapse