ROL
|
An example combining ROL and Sacado to mimize the Zakharov function. The gradient and the action of the Hessian on a given vector are computed by Sacado using automatic differentiation. More...
#include <iostream>
#include "ROL_Algorithm.hpp"
#include "ROL_LineSearchStep.hpp"
#include "ROL_StatusTest.hpp"
#include "ROL_ParameterList.hpp"
#include "ROL_Stream.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "example_01b.hpp"
Go to the source code of this file.
Typedefs | |
typedef double | RealT |
Functions | |
int | main (int argc, char **argv) |
An example combining ROL and Sacado to mimize the Zakharov function. The gradient and the action of the Hessian on a given vector are computed by Sacado using automatic differentiation.
Definition in file example_01b.cpp.
typedef double RealT |
Definition at line 66 of file example_01b.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 68 of file example_01b.cpp.
References ROL::StdVector< Real, Element >::axpy(), ROL::StdVector< Real, Element >::norm(), and ROL::Algorithm< Real >::run().