1. In a computing environment, a method performed on at least one processor, comprising, developing a learned mechanism for use in outputting a result given input data, including solving a minimization problem that includes a loss function and a regularization term, including processing each data item of a set of data, and for each data item, computing and maintaining information representative of a computed optimization variable and previously computed optimization variables, computing a subgradient based upon the optimization variable, and maintaining information representative of the computed subgradient and previously computed subgradients.