An interface for the OSQP solver.
OSQP()
# S4 method for class 'OSQP'
status_map(solver, status)
# S4 method for class 'OSQP'
name(x)
# S4 method for class 'OSQP'
import_solver(solver)
# S4 method for class 'OSQP,list,InverseData'
invert(object, solution, inverse_data)
# S4 method for class 'OSQP'
solve_via_data(
object,
data,
warm_start,
verbose,
feastol,
reltol,
abstol,
num_iter,
solver_opts,
solver_cache
)
A OSQP object.
A status code returned by the solver.
The raw solution returned by the solver.
A InverseData object containing data necessary for the inversion.
Data generated via an apply call.
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.
status_map(OSQP)
: Converts status returned by the OSQP solver to its respective CVXPY status.
name(OSQP)
: Returns the name of the solver.
import_solver(OSQP)
: Imports the solver.
invert(object = OSQP, solution = list, inverse_data = InverseData)
: Returns the solution to the original problem given the inverse_data.
solve_via_data(OSQP)
: Solve a problem represented by data returned from apply.