Skip to content

Commit

Permalink
Drop: remove osqp from solver factory
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiconstantin committed Apr 12, 2023
1 parent 8128206 commit 2b1c351
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/SolverFactory.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#' @include OsqpSolver.R QuadprogSolver.R
#' @include QuadprogSolver.R

SolverFactory <- R6::R6Class("SolverFactory",
public = list(
get_solver = function(type) {
return(
switch(type,
osqp = OsqpSolver$new(),
quadprog = QuadprogSolver$new(),
stop(.__ERRORS__$not_developed)
)
Expand Down

0 comments on commit 2b1c351

Please sign in to comment.