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

ConicSolver-class

The ConicSolver class.


Description

Conic solver class with reduction semantics.

Usage

## S4 method for signature 'ConicSolver,Problem'
accepts(object, problem)

## S4 method for signature 'ConicSolver'
reduction_format_constr(object, problem, constr, exp_cone_order)

## S4 method for signature 'ConicSolver'
group_coeff_offset(object, problem, constraints, exp_cone_order)

## S4 method for signature 'ConicSolver,Solution,InverseData'
invert(object, solution, inverse_data)

Arguments

object

A ConicSolver object.

problem

A Problem object.

constr

A Constraint to format.

exp_cone_order

A list indicating how the exponential cone arguments are ordered.

constraints

A list of Constraint objects.

solution

A Solution object to invert.

inverse_data

A InverseData object containing data necessary for the inversion.

Methods (by generic)

  • accepts: Can the problem be solved with a conic solver?

  • reduction_format_constr: Return a list representing a cone program whose problem data tensors will yield the coefficient "A" and offset "b" for the respective constraints: Linear Equations: A Linear inequalities: A Second order cone: A Exponential cone: A Semidefinite cone: A

  • group_coeff_offset: Combine the constraints into a single matrix, offset.

  • invert: Returns the solution to the original problem given the inverse_data.


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.