This virtual class represents the generic interface for a solver.
# S4 method for Solver
validate_solver(solver, constraints)# S4 method for Solver
nonlin_constr(solver)
# S4 method for Solver
Solver.solve(solver, objective, constraints,
cached_data, warm_start, verbose, ...)
# S4 method for Solver
format_results(solver, results_dict, data, cached_data)
A list of canonicalized constraints.
A list representing the canonicalized objective.
A list mapping solver name to cached problem data.
A logical value indicating whether the previous solver result should be used to warm start.
A logical value indicating whether to print solver output.
Additional arguments to the solver.
A list containing the solver output.
A list containing information about the problem.
validate_solver
: Verify the solver can solve the problem.
nonlin_constr
: A logical value indicating whether nonlinear constraints are needed.
Solver.solve
: Call the solver on the canonicalized problem.
format_results
: Convert raw solver output into standard list of results.