Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

format_constr

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

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.