New limited memory variable metric optimizer (VMLM)