#include <qpalm.hpp>
Main QPALM solver.
- See also
- qpalm_solve
- Examples
- examples/cxx/qpalm_demo.cpp.
Definition at line 140 of file qpalm.hpp.
◆ Solver() [1/2]
Create a new solver for the problem defined by data
and with the parameters defined by settings
.
- Exceptions
-
std::invalid_argument | if calling qpalm_setup failed. This may be caused by invalid bounds or invalid settings. |
Definition at line 27 of file qpalm.cpp.
◆ Solver() [2/2]
qpalm::Solver::Solver |
( |
const Data & |
data, |
|
|
const Settings & |
settings |
|
) |
| |
|
inline |
Create a new solver for the problem defined by data
and with the parameters defined by settings
.
- Exceptions
-
std::invalid_argument | if calling qpalm_setup failed. This may be caused by invalid bounds or invalid settings. |
Definition at line 151 of file qpalm.hpp.
◆ update_settings()
void qpalm::Solver::update_settings |
( |
const Settings & |
settings | ) |
|
◆ update_bounds()
◆ update_q()
◆ update_Q_A()
- See also
- qpalm_update_Q_A
- Note
- Updates only the values, sparsity pattern should remain the same.
Definition at line 53 of file qpalm.cpp.
◆ warm_start()
◆ solve()
void qpalm::Solver::solve |
( |
| ) |
|
◆ cancel()
void qpalm::Solver::cancel |
( |
| ) |
|
Cancel the ongoing call to solve.
Thread- and signal handler-safe.
Definition at line 65 of file qpalm.cpp.
◆ get_solution()
◆ get_info()
const QPALMInfo & qpalm::Solver::get_info |
( |
| ) |
const |
◆ get_prim_inf_certificate()
Get the certificate of primal infeasibility of the problem.
Definition at line 84 of file qpalm.cpp.
◆ get_dual_inf_certificate()
Get the certificate of dual infeasibility of the problem.
Definition at line 89 of file qpalm.cpp.
◆ get_n()
index_t qpalm::Solver::get_n |
( |
| ) |
const |
|
inline |
◆ get_m()
index_t qpalm::Solver::get_m |
( |
| ) |
const |
|
inline |
◆ get_c_work_ptr()
The documentation for this class was generated from the following files: