ROL
|
An example equality constrained problem combining ROL and Sacado This is the same problem as found in rol/examples/simple-eq-constr with the objective gradient, objective Hessian direction, constraint Jacobian direction, constraint adjoint Jacobian direction, and constraint adjoint Hessian direction computed via automatic differentiation with Sacado. More...
#include <iostream>
#include "ROL_Sacado_Objective.hpp"
#include "ROL_Sacado_Constraint.hpp"
#include "ROL_Algorithm.hpp"
#include "ROL_CompositeStep.hpp"
#include "ROL_ConstraintStatusTest.hpp"
#include "ROL_Constraint.hpp"
#include "ROL_ParameterList.hpp"
#include "ROL_Stream.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "example_02.hpp"
Go to the source code of this file.
Typedefs | |
typedef double | RealT |
Functions | |
int | main (int argc, char **argv) |
An example equality constrained problem combining ROL and Sacado This is the same problem as found in rol/examples/simple-eq-constr with the objective gradient, objective Hessian direction, constraint Jacobian direction, constraint adjoint Jacobian direction, and constraint adjoint Hessian direction computed via automatic differentiation with Sacado.
Definition in file sacado/example_02.cpp.
typedef double RealT |
Definition at line 39 of file sacado/example_02.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 41 of file sacado/example_02.cpp.
References ROL::StdVector< Real, Element >::axpy(), dim, ROL::StdVector< Real, Element >::norm(), ROL::Algorithm< Real >::run(), and ROL::Vector< Real >::zero().