format_constr: Format Constraints

format_constrR Documentation

Format Constraints

Description

Format constraints for the solver.

Usage

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.


CVXR documentation built on June 27, 2024, 5:11 p.m.