|
ROL
|
Verify that the symmetrized version of a primal dual system is indeed symmetric and that the solution to the unsymmetrized version satisfies the symmetrized version. More...
#include "Teuchos_GlobalMPISession.hpp"#include "ROL_RandomVector.hpp"#include "ROL_StdVector.hpp"#include "ROL_NonlinearProgram.hpp"#include "ROL_OptimizationProblem.hpp"#include "ROL_InteriorPointPenalty.hpp"#include "ROL_PrimalDualInteriorPointResidual.hpp"#include "ROL_LinearOperatorFromConstraint.hpp"#include "ROL_KrylovFactory.hpp"#include "HS_ProblemFactory.hpp"#include <iomanip>Go to the source code of this file.
Classes | |
| class | IdentityOperator< Real > |
Macros | |
| #define | OPTIMIZATION_PROBLEM_REFACTOR |
Typedefs | |
| typedef double | RealT |
Functions | |
| template<class Real > | |
| void | printVector (const ROL::Vector< Real > &x, std::ostream &outStream) |
| template<class Real > | |
| void | printMatrix (const std::vector< ROL::Ptr< ROL::Vector< Real > > > &A, const std::vector< ROL::Ptr< ROL::Vector< Real > > > &I, std::ostream &outStream) |
| int | main (int argc, char *argv[]) |
Verify that the symmetrized version of a primal dual system is indeed symmetric and that the solution to the unsymmetrized version satisfies the symmetrized version.
Note: CG will almost certainly fail with exit flag 2 (negative eigenvalues)
Definition in file step/interiorpoint/test_03.cpp.
| #define OPTIMIZATION_PROBLEM_REFACTOR |
Definition at line 10 of file step/interiorpoint/test_03.cpp.
| typedef double RealT |
Definition at line 90 of file step/interiorpoint/test_03.cpp.
| void printVector | ( | const ROL::Vector< Real > & | x, |
| std::ostream & | outStream | ||
| ) |
Definition at line 38 of file step/interiorpoint/test_03.cpp.
References printVector().
Referenced by printVector().
| void printMatrix | ( | const std::vector< ROL::Ptr< ROL::Vector< Real > > > & | A, |
| const std::vector< ROL::Ptr< ROL::Vector< Real > > > & | I, | ||
| std::ostream & | outStream | ||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 92 of file step/interiorpoint/test_03.cpp.
References printMatrix().