`R/reduction_solvers.R`

, `R/conic_solvers.R`

`ReductionSolver-class.Rd`

The ReductionSolver class.

```
# S4 method for ReductionSolver
mip_capable(solver)
# S4 method for ReductionSolver
name(x)
# S4 method for ReductionSolver
import_solver(solver)
# S4 method for ReductionSolver
is_installed(solver)
# S4 method for ReductionSolver
solve_via_data(
object,
data,
warm_start,
verbose,
feastol,
reltol,
abstol,
num_iter,
solver_opts,
solver_cache
)
# S4 method for ReductionSolver,ANY
reduction_solve(
object,
problem,
warm_start,
verbose,
feastol,
reltol,
abstol,
num_iter,
solver_opts
)
# S4 method for ECOS
solve_via_data(
object,
data,
warm_start,
verbose,
feastol,
reltol,
abstol,
num_iter,
solver_opts,
solver_cache
)
```

- solver, object, x
A ReductionSolver object.

- data
Data generated via an apply call.

- warm_start
A boolean of whether to warm start the solver.

- verbose
An integer number indicating level of solver verbosity.

- feastol
The feasible tolerance on the primal and dual residual.

- reltol
The relative tolerance on the duality gap.

- abstol
The absolute tolerance on the duality gap.

- num_iter
The maximum number of iterations.

- solver_opts
A list of Solver specific options

- solver_cache
Cache for the solver.

- problem
A Problem object.

`mip_capable(ReductionSolver)`

: Can the solver handle mixed-integer programs?`name(ReductionSolver)`

: Returns the name of the solver`import_solver(ReductionSolver)`

: Imports the solver`is_installed(ReductionSolver)`

: Is the solver installed?`solve_via_data(ReductionSolver)`

: Solve a problem represented by data returned from apply.`reduction_solve(object = ReductionSolver, problem = ANY)`

: Solve a problem represented by data returned from apply.`solve_via_data(ECOS)`

: Solve a problem represented by data returned from apply.