The ConstantSolver class.
# S4 method for ConstantSolver
mip_capable(solver)# S4 method for ConstantSolver,Problem
accepts(object, problem)
# S4 method for ConstantSolver,Problem
perform(object, problem)
# S4 method for ConstantSolver,Solution,list
invert(object, solution, inverse_data)
# S4 method for ConstantSolver
name(x)
# S4 method for ConstantSolver
import_solver(solver)
# S4 method for ConstantSolver
is_installed(solver)
# S4 method for ConstantSolver
solve_via_data(
object,
data,
warm_start,
verbose,
feastol,
reltol,
abstol,
num_iter,
solver_opts,
solver_cache = list()
)
# S4 method for ConstantSolver,ANY
reduction_solve(object, problem, warm_start, verbose, solver_opts)
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
: Can the solver handle mixed-integer programs?
accepts
: Is the solver capable of solving the problem?
perform
: Returns a list of the ConstantSolver, Problem, and an empty list.
invert
: Returns the solution.
name
: Returns the name of the solver.
import_solver
: Imports the solver.
is_installed
: Is the solver installed?
solve_via_data
: Solve a problem represented by data returned from apply.
reduction_solve
: Solve the problem and return a '>Solution object.