Skip to content

Commit

Permalink
Moved primal-dual interior-point reformulation to own class PrimalDua…
Browse files Browse the repository at this point in the history
…lInteriorPointProblem
  • Loading branch information
cvanaret committed Dec 4, 2024
1 parent fcf1c19 commit 9a588e7
Show file tree
Hide file tree
Showing 6 changed files with 281 additions and 108 deletions.
4 changes: 2 additions & 2 deletions uno/ingredients/subproblems/SubproblemFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "SubproblemFactory.hpp"
#include "ingredients/subproblems/inequality_constrained_methods/QPSubproblem.hpp"
#include "ingredients/subproblems/inequality_constrained_methods/LPSubproblem.hpp"
#include "ingredients/subproblems/interior_point_methods/PrimalDualInteriorPointSubproblem.hpp"
#include "ingredients/subproblems/interior_point_methods/PrimalDualInteriorPointMethod.hpp"
#include "solvers/QPSolverFactory.hpp"
#include "solvers/SymmetricIndefiniteLinearSolverFactory.hpp"
#include "options/Options.hpp"
Expand All @@ -26,7 +26,7 @@ namespace uno {
}
// interior-point method
else if (subproblem_strategy == "primal_dual_interior_point") {
return std::make_unique<PrimalDualInteriorPointSubproblem>(number_variables, number_constraints, number_jacobian_nonzeros,
return std::make_unique<PrimalDualInteriorPointMethod>(number_variables, number_constraints, number_jacobian_nonzeros,
number_hessian_nonzeros, options);
}
throw std::invalid_argument("Subproblem strategy " + subproblem_strategy + " is not supported");
Expand Down
Loading

0 comments on commit 9a588e7

Please sign in to comment.