|
ROL
|
Validate BinaryConstraint class. More...
#include "ROL_OptimizationSolver.hpp"#include "ROL_BinaryConstraint.hpp"#include "ROL_DiagonalOperator.hpp"#include "ROL_QuadraticObjective.hpp"#include "ROL_RandomVector.hpp"#include "ROL_StdVector.hpp"#include "Teuchos_oblackholestream.hpp"#include "Teuchos_GlobalMPISession.hpp"#include "Teuchos_XMLParameterListHelpers.hpp"Go to the source code of this file.
Typedefs | |
| typedef double | RealT |
Functions | |
| template<class Real > | |
| Teuchos::RCP< ROL::Objective< Real > > | createDiagonalQuadraticObjective (const ROL::Vector< Real > &a, const ROL::Vector< Real > &b) |
| int | main (int argc, char *argv[]) |
Validate BinaryConstraint class.
Solve a bound constrained problem where a solution is sought on the surface of the bounding set by converting the bound constraint into an equality constraint.
Definition in file test_13.cpp.
| typedef double RealT |
Definition at line 82 of file test_13.cpp.
| Teuchos::RCP<ROL::Objective<Real> > createDiagonalQuadraticObjective | ( | const ROL::Vector< Real > & | a, |
| const ROL::Vector< Real > & | b | ||
| ) |
Definition at line 72 of file test_13.cpp.
References ROL::Vector< Real >::clone().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 84 of file test_13.cpp.
References ROL::OptimizationProblem< Real >::check(), createDiagonalQuadraticObjective(), ROL::RandomizeVector(), and ROL::OptimizationSolver< Real >::solve().
1.8.13