Format constraints for the solver.

format_constr(object, eq_constr, leq_constr, dims, solver)

Arguments

object

A Constraint object.

eq_constr

A list of the equality constraints in the canonical problem.

leq_constr

A list of the inequality constraints in the canonical problem.

dims

A list with the dimensions of the conic constraints.

solver

A string representing the solver to be called.

Value

A list containing equality constraints, inequality constraints, and dimensions.