Inexact distributed optimization schemes