The ConstantSolver class.
# S4 method for class 'ConstantSolver'
mip_capable(solver)
# S4 method for class 'ConstantSolver,Problem'
accepts(object, problem)
# S4 method for class 'ConstantSolver,Problem'
perform(object, problem)
# S4 method for class 'ConstantSolver,Solution,list'
invert(object, solution, inverse_data)
# S4 method for class 'ConstantSolver'
name(x)
# S4 method for class 'ConstantSolver'
import_solver(solver)
# S4 method for class 'ConstantSolver'
is_installed(solver)
# S4 method for class 'ConstantSolver'
solve_via_data(
object,
data,
warm_start,
verbose,
feastol,
reltol,
abstol,
num_iter,
solver_opts,
solver_cache
)
# S4 method for class 'ConstantSolver,ANY'
reduction_solve(object, problem, warm_start, verbose, solver_opts)
A ConstantSolver object.
A Problem object.
A Solution object to invert.
A list containing data necessary for the inversion.
Data for the solver.
A boolean of whether to warm start the solver.
A boolean of whether to enable solver verbosity.
The feasible tolerance.
The relative tolerance.
The absolute tolerance.
The maximum number of iterations.
A list of Solver specific options
Cache for the solver.
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.