BoxAndSingleConstraintSolver.h
Go to the documentation of this file.
1 /* Copyright 2020 CNRS-AIST JRL */
2 
3 #pragma once
4 
6 
7 namespace jrl::qp::experimental
8 {
16 {
17 public:
20 
21  TerminationStatus solve(const VectorConstRef & x0,
22  const VectorConstRef & c,
23  double bl,
24  const VectorConstRef & xl,
25  const VectorConstRef & xu);
26 
27  virtual internal::InitTermination init_() override;
28 
29 private:
30  Eigen::Matrix<double, 1, 1> bl_;
31  Eigen::Matrix<double, 1, 1> bu_;
32 };
33 } // namespace jrl::qp::experimental
34 
35 #include <jrl-qp/test/problems.h>
36 namespace jrl::qp::test
37 {
47 LeastSquareProblem<> JRLQP_DLLAPI generateBoxAndSingleConstraintProblem(int nbVar, bool act, double actLevel = 0.5);
48 
49 } // namespace jrl::qp::test
jrl::qp::test::LeastSquareProblem
Definition: problems.h:63
jrl::qp::test
Definition: BoxAndSingleConstraintSolver.h:36
jrl::qp::VectorConstRef
Eigen::Ref< const Eigen::VectorXd > VectorConstRef
Definition: defs.h:13
jrl::qp::TerminationStatus
TerminationStatus
Definition: enums.h:26
GoldfarbIdnaniSolver.h
problems.h
jrl::qp::experimental::BoxAndSingleConstraintSolver
Definition: BoxAndSingleConstraintSolver.h:15
jrl::qp::test::generateBoxAndSingleConstraintProblem
LeastSquareProblem JRLQP_DLLAPI generateBoxAndSingleConstraintProblem(int nbVar, bool act, double actLevel=0.5)
Definition: BoxAndSingleConstraintSolver.cpp:99
JRLQP_DLLAPI
#define JRLQP_DLLAPI
Definition: api.h:35
jrl::qp::experimental
Definition: BlockGISolver.h:15
jrl::qp::experimental::GoldfarbIdnaniSolver
Definition: GoldfarbIdnaniSolver.h:12
jrl::qp::internal::InitTermination
Definition: TerminationType.h:38