ConstantSolver-class: The ConstantSolver class.

ConstantSolver-classR Documentation

The ConstantSolver class.

Description

The ConstantSolver class.

Usage

## S4 method for signature 'ConstantSolver'
mip_capable(solver)

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

## S4 method for signature 'ConstantSolver,Problem'
perform(object, problem)

## S4 method for signature 'ConstantSolver,Solution,list'
invert(object, solution, inverse_data)

## S4 method for signature 'ConstantSolver'
name(x)

## S4 method for signature 'ConstantSolver'
import_solver(solver)

## S4 method for signature 'ConstantSolver'
is_installed(solver)

## S4 method for signature 'ConstantSolver'
solve_via_data(
  object,
  data,
  warm_start,
  verbose,
  feastol,
  reltol,
  abstol,
  num_iter,
  solver_opts,
  solver_cache
)

## S4 method for signature 'ConstantSolver,ANY'
reduction_solve(object, problem, warm_start, verbose, solver_opts)

Arguments

solver, object, x

A ConstantSolver object.

problem

A Problem object.

solution

A Solution object to invert.

inverse_data

A list containing data necessary for the inversion.

data

Data for the solver.

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

solver_cache

Cache for the solver.

Methods (by generic)

  • mip_capable(ConstantSolver): Can the solver handle mixed-integer programs?

  • accepts(object = ConstantSolver, problem = Problem): Is the solver capable of solving the problem?

  • perform(object = ConstantSolver, problem = Problem): Returns a list of the ConstantSolver, Problem, and an empty list.

  • invert(object = ConstantSolver, solution = Solution, inverse_data = list): Returns the solution.

  • name(ConstantSolver): Returns the name of the solver.

  • import_solver(ConstantSolver): Imports the solver.

  • is_installed(ConstantSolver): Is the solver installed?

  • solve_via_data(ConstantSolver): Solve a problem represented by data returned from apply.

  • reduction_solve(object = ConstantSolver, problem = ANY): Solve the problem and return a Solution object.


anqif/CVXR documentation built on Feb. 6, 2024, 4:28 a.m.