'Formats SOC constraints as inequalities for the solver.
Parameters
eq_constr : list
A list of the equality constraints in the canonical problem.
leq_constr : list
A list of the inequality constraints in the canonical problem.
dims : dict
A dict with the dimensions of the conic constraints.
solver : str
The solver being called.'

def format(self, eq_constr, leq_constr, dims, solver):

    leq_constr += self.__format[1]
    dims[s.SOC_DIM].append(self.size[0])
