added flag for recovered optimal in ecos