7#ifndef __IP_AUGRESTOSYSTEMSOLVER_HPP__
8#define __IP_AUGRESTOSYSTEMSOLVER_HPP__
39 bool skip_orig_aug_solver_init =
true
49 const std::string& prefix
78 Index numberOfNegEVals
154 const Vector& any_vec_in_c
163 const Vector& any_vec_in_d
170 const Vector& any_vec_in_n_c
176 const Vector& any_vec_in_p_c
182 const Vector& any_vec_in_n_d
188 const Vector& any_vec_in_p_d
Class that converts an augmented system with compound restoration pieces into a smaller "pivoted" sys...
SmartPtr< const Vector > Sigma_tilde_n_d_inv(const SmartPtr< const Vector > &sigma_tilde_n_d, Number delta_x, const Vector &any_vec_in_n_d)
SmartPtr< const Vector > Sigma_tilde_p_d_inv(const SmartPtr< const Vector > &sigma_tilde_p_d, Number delta_x, const Vector &any_vec_in_p_d)
AugRestoSystemSolver()
Default Constructor.
CachedResults< SmartPtr< Vector > > neg_omega_d_plus_D_d_cache_
SmartPtr< const Vector > Rhs_cR(const Vector &rhs_c, const SmartPtr< const Vector > &sigma_tilde_n_c_inv, const Vector &rhs_n_c, const SmartPtr< const Vector > &sigma_tilde_p_c_inv, const Vector &rhs_p_c)
bool skip_orig_aug_solver_init_
bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
CachedResults< SmartPtr< Vector > > neg_omega_c_plus_D_c_cache_
SmartPtr< const Vector > Neg_Omega_c_plus_D_c(const SmartPtr< const Vector > &sigma_tilde_n_c_inv, const SmartPtr< const Vector > &sigma_tilde_p_c_inv, const Vector *D_c, const Vector &any_vec_in_c)
virtual bool ProvidesInertia() const
Query whether inertia is computed by linear solver.
SmartPtr< const Vector > Rhs_dR(const Vector &rhs_d, const SmartPtr< const Vector > &sigma_tilde_n_d_inv, const Vector &rhs_n_d, const Matrix &pd_L, const SmartPtr< const Vector > &sigma_tilde_p_d_inv, const Vector &rhs_p_d, const Matrix &pd_U)
CachedResults< SmartPtr< Vector > > sigma_tilde_p_c_inv_cache_
CachedResults< SmartPtr< Vector > > d_x_plus_wr_d_cache_
virtual ESymSolverStatus Solve(const SymMatrix *W, Number W_factor, const Vector *D_x, Number delta_x, const Vector *D_s, Number delta_s, const Matrix *J_c, const Vector *D_c, Number delta_c, const Matrix *J_d, const Vector *D_d, Number delta_d, const Vector &rhs_x, const Vector &rhs_s, const Vector &rhs_c, const Vector &rhs_d, Vector &sol_x, Vector &sol_s, Vector &sol_c, Vector &sol_d, bool check_NegEVals, Index numberOfNegEVals)
Translate the augmented system (in the full space of the restoration variables) into the smaller spac...
CachedResults< SmartPtr< Vector > > rhs_dR_cache_
SmartPtr< const Vector > D_x_plus_wr_d(const SmartPtr< const Vector > &CD_x0, Number factor, const Vector &wr_d)
CachedResults< SmartPtr< Vector > > sigma_tilde_n_c_inv_cache_
CachedResults< SmartPtr< Vector > > sigma_tilde_p_d_inv_cache_
void operator=(const AugRestoSystemSolver &)
Default Assignment Operator.
virtual ~AugRestoSystemSolver()
Destructor.
virtual bool IncreaseQuality()
Request to increase quality of solution for next solve.
SmartPtr< const Vector > Neg_Omega_d_plus_D_d(const Matrix &Pd_L, const SmartPtr< const Vector > &sigma_tilde_n_d_inv, const Matrix &neg_Pd_U, const SmartPtr< const Vector > &sigma_tilde_p_d_inv, const Vector *D_d, const Vector &any_vec_in_d)
CachedResults< SmartPtr< Vector > > sigma_tilde_n_d_inv_cache_
AugRestoSystemSolver(const AugRestoSystemSolver &)
Copy Constructor.
virtual Index NumberOfNegEVals() const
Returns the number of negative eigenvalues from the original augmented system call.
SmartPtr< AugSystemSolver > orig_aug_solver_
SmartPtr< const Vector > Sigma_tilde_n_c_inv(const SmartPtr< const Vector > &sigma_tilde_n_c, Number delta_x, const Vector &any_vec_in_n_c)
Sigma tilde is the sum of Sigma and delta_x times the identity.
AugRestoSystemSolver(AugSystemSolver &orig_aug_solver, bool skip_orig_aug_solver_init=true)
Constructor.
SmartPtr< const Vector > Sigma_tilde_p_c_inv(const SmartPtr< const Vector > &sigma_tilde_p_c, Number delta_x, const Vector &any_vec_in_p_c)
CachedResults< SmartPtr< Vector > > rhs_cR_cache_
Base class for Solver for the augmented system.
Templated class for Cached Results.
This class stores a list of user set options.
Template class for Smart Pointers.
This is the base class for all derived symmetric matrix types.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ESymSolverStatus
Enum to report outcome of a linear solve.
ipindex Index
Type of all indices of vectors, matrices etc.
ipnumber Number
Type of all numbers.