Base class for Solver for the augmented system. More...
#include <IpAugSystemSolver.hpp>
Private Member Functions | |
Default Compiler Generated Methods | |
(Hidden to avoid implicit creation/calling). These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. | |
AugSystemSolver (const AugSystemSolver &) | |
Copy Constructor. | |
void | operator= (const AugSystemSolver &) |
Default Assignment Operator. | |
Additional Inherited Members | |
Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Base class for Solver for the augmented system.
This is the base class for linear solvers that solve the augmented system, which is defined as
\(\left[\begin{array}{cccc} W + D_x + \delta_xI & 0 & J_c^T & J_d^T\\ 0 & D_s + \delta_sI & 0 & -I \\ J_c & 0 & D_c - \delta_cI & 0\\ J_d & -I & 0 & D_d - \delta_dI \end{array}\right] \left(\begin{array}{c}sol_x\\sol_s\\sol_c\\sol_d\end{array}\right)= \left(\begin{array}{c}rhs_x\\rhs_s\\rhs_c\\rhs_d\end{array}\right)\)
Since this system might be solved repeatedly for different right hand sides, it is desirable to step the factorization of a direct linear solver if possible.
Definition at line 36 of file IpAugSystemSolver.hpp.
|
inline |
Default constructor.
Definition at line 42 of file IpAugSystemSolver.hpp.
|
inlinevirtual |
Destructor.
Definition at line 45 of file IpAugSystemSolver.hpp.
|
private |
Copy Constructor.
|
pure virtual |
overloaded from AlgorithmStrategyObject
Implements Ipopt::AlgorithmStrategyObject.
Implemented in Ipopt::AugRestoSystemSolver, Ipopt::GenAugSystemSolver, Ipopt::LowRankAugSystemSolver, Ipopt::LowRankSSAugSystemSolver, and Ipopt::StdAugSystemSolver.
|
inlinevirtual |
Set up the augmented system and solve it for a given right hand side.
If desired (i.e. if check_NegEVals is true), then the solution is only computed if the number of negative eigenvalues matches numberOfNegEVals.
Reimplemented in Ipopt::AugRestoSystemSolver, Ipopt::LowRankAugSystemSolver, and Ipopt::LowRankSSAugSystemSolver.
Definition at line 63 of file IpAugSystemSolver.hpp.
|
inlinevirtual |
Like Solve, but for multiple right hand sides.
The inheriting class has to overload at least one of Solve and MultiSolve.
Reimplemented in Ipopt::GenAugSystemSolver, and Ipopt::StdAugSystemSolver.
Definition at line 113 of file IpAugSystemSolver.hpp.
Number of negative eigenvalues detected during last solve.
Implemented in Ipopt::AugRestoSystemSolver, Ipopt::GenAugSystemSolver, Ipopt::LowRankAugSystemSolver, Ipopt::LowRankSSAugSystemSolver, and Ipopt::StdAugSystemSolver.
Query whether inertia is computed by linear solver.
Implemented in Ipopt::AugRestoSystemSolver, Ipopt::GenAugSystemSolver, Ipopt::LowRankAugSystemSolver, Ipopt::LowRankSSAugSystemSolver, and Ipopt::StdAugSystemSolver.
Request to increase quality of solution for next solve.
Asks underlying linear solver to increase quality of solution for the next solve (e.g. increase pivot tolerance). Returns false, if this is not possible (e.g. maximal pivot tolerance already used.)
Implemented in Ipopt::AugRestoSystemSolver, Ipopt::GenAugSystemSolver, Ipopt::LowRankAugSystemSolver, Ipopt::LowRankSSAugSystemSolver, and Ipopt::StdAugSystemSolver.
|
private |
Default Assignment Operator.