Semif-Affine Elastic Netowrk Optimizer