ECOS is a numerical software for solving convex second-order cone programs (SOCPs) of type min c'x s.t. Ax = b Gx <=_K h where the last inequality is generalized, i.e. h - Gx belongs to the cone K.