Format constraints for the solver.
format_constr(object, eq_constr, leq_constr, dims, solver)
A Constraint object.
A list of the equality constraints in the canonical problem.
A list of the inequality constraints in the canonical problem.
A list with the dimensions of the conic constraints.
A string representing the solver to be called.
A list containing equality constraints, inequality constraints, and dimensions.