format_constr function

Format Constraints

Format Constraints

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.

Returns

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

  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07