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

SolvingChain-class

The SolvingChain class.


Description

This class represents a reduction chain that ends with a solver.

Usage

## S4 method for signature 'SolvingChain,Chain'
prepend(object, chain)

## S4 method for signature 'SolvingChain,Problem'
reduction_solve(
  object,
  problem,
  warm_start,
  verbose,
  feastol,
  reltol,
  abstol,
  num_iter,
  solver_opts
)

## S4 method for signature 'SolvingChain'
reduction_solve_via_data(
  object,
  problem,
  data,
  warm_start,
  verbose,
  feastol,
  reltol,
  abstol,
  num_iter,
  solver_opts
)

Arguments

object

A SolvingChain object.

chain

A Chain to prepend.

problem

The problem to solve.

warm_start

A boolean of whether to warm start the solver.

verbose

A boolean of whether to enable solver verbosity.

feastol

The feasible tolerance.

reltol

The relative tolerance.

abstol

The absolute tolerance.

num_iter

The maximum number of iterations.

solver_opts

A list of Solver specific options

data

Data for the solver.

Methods (by generic)

  • prepend: Create and return a new SolvingChain by concatenating chain with this instance.

  • reduction_solve: Applies each reduction in the chain to the problem, solves it, and then inverts the chain to return a solution of the supplied problem.

  • reduction_solve_via_data: Solves the problem using the data output by the an apply invocation.


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.