| 
    QPALM  
   1.2.2
   Proximal Augmented Lagrangian method for Quadratic Programs 
   | 
 
#include <qpalm.hpp>
 Collaboration diagram for qpalm::Solver:Public Member Functions | |
| Solver (const ::QPALMData *data, const Settings &settings) | |
Create a new solver for the problem defined by data and with the parameters defined by settings.   | |
| Solver (const Data &data, const Settings &settings) | |
Create a new solver for the problem defined by data and with the parameters defined by settings.   | |
| void | update_settings (const Settings &settings) | 
| void | update_bounds (std::optional< const_ref_vec_t > bmin, std::optional< const_ref_vec_t > bmax) | 
| void | update_q (const_ref_vec_t q) | 
| void | update_Q_A (const_ref_vec_t Q_vals, const_ref_vec_t A_vals) | 
| void | warm_start (std::optional< const_ref_vec_t > x, std::optional< const_ref_vec_t > y) | 
| void | solve () | 
| Solve the problem.   | |
| SolutionView | get_solution () const | 
| Get the solution computed by solve().   | |
| const QPALMInfo & | get_info () const | 
| Get the solver information from the last call to solve().   | |
| const_borrowed_vec_t | get_prim_inf_certificate () const | 
| Get the certificate of primal infeasibility of the problem.   | |
| const_borrowed_vec_t | get_dual_inf_certificate () const | 
| Get the certificate of dual infeasibility of the problem.   | |
| index_t | get_n () const | 
| Get the problem dimension \( n \) (size of \( x \)).   | |
| index_t | get_m () const | 
| Get the number of constraints \( m \).   | |
| const ::QPALMWorkspace * | get_c_work_ptr () const | 
| Get a pointer to the underlying C workspace data structure.   | |
| qpalm::Solver::Solver | ( | const ::QPALMData * | data, | 
| const Settings & | settings | ||
| ) | 
Create a new solver for the problem defined by data and with the parameters defined by settings. 
| std::invalid_argument | if calling qpalm_setup failed. This may be caused by invalid bounds or invalid settings. | 
Create a new solver for the problem defined by data and with the parameters defined by settings. 
| std::invalid_argument | if calling qpalm_setup failed. This may be caused by invalid bounds or invalid settings. | 
| void qpalm::Solver::update_settings | ( | const Settings & | settings | ) | 
Definition at line 39 of file qpalm.cpp.
 Here is the call graph for this function:| void qpalm::Solver::update_bounds | ( | std::optional< const_ref_vec_t > | bmin, | 
| std::optional< const_ref_vec_t > | bmax | ||
| ) | 
Definition at line 43 of file qpalm.cpp.
 Here is the call graph for this function:| void qpalm::Solver::update_q | ( | const_ref_vec_t | q | ) | 
Definition at line 49 of file qpalm.cpp.
 Here is the call graph for this function:| void qpalm::Solver::update_Q_A | ( | const_ref_vec_t | Q_vals, | 
| const_ref_vec_t | A_vals | ||
| ) | 
Definition at line 53 of file qpalm.cpp.
 Here is the call graph for this function:| void qpalm::Solver::warm_start | ( | std::optional< const_ref_vec_t > | x, | 
| std::optional< const_ref_vec_t > | y | ||
| ) | 
Definition at line 57 of file qpalm.cpp.
 Here is the call graph for this function:| void qpalm::Solver::solve | ( | ) | 
Solve the problem.
The solution will be available through get_solution() and the solver information and statistics through get_info().
Definition at line 63 of file qpalm.cpp.
 Here is the call graph for this function:| SolutionView qpalm::Solver::get_solution | ( | ) | const | 
Get the solution computed by solve().
| const QPALMInfo & qpalm::Solver::get_info | ( | ) | const | 
Get the solver information from the last call to solve().
| const_borrowed_vec_t qpalm::Solver::get_prim_inf_certificate | ( | ) | const | 
| const_borrowed_vec_t qpalm::Solver::get_dual_inf_certificate | ( | ) | const | 
      
  | 
  inline | 
Get the problem dimension \( n \) (size of \( x \)).
      
  | 
  inline | 
Get the number of constraints \( m \).
      
  | 
  inline | 
Get a pointer to the underlying C workspace data structure.