Demoes for sgd, lbfgs, cg, bfgs