Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::SolverUnconstrained< Data, Problem > Class Template Reference

#include <solverunconstrained.hpp>

Detailed Description

template<typename Data, template< class > class Problem = problem>
class Feel::SolverUnconstrained< Data, Problem >

Author
Ivan Oliveira and Christophe Prud'homme

Classes

class  COptions
 parameters for the solver More...
 
class  Stats
 Statistics holder for the solver. More...
 

Public Types

enum  {
  _E_n = problem_type::_E_n,
  _E_g = 0,
  _E_h = 0,
  _E_nA = problem_type::_E_nA,
  _E_nL = problem_type::_E_nL,
  _E_nAL = problem_type::_E_nAL
}
 
typedef problem_type::ad_0_type ad_0_type
 automatic differentiation type of order one
 
typedef problem_type::ad_1_type ad_1_type
 automatic differentiation type of order one
 
typedef problem_type::ad_2_type ad_2_type
 automatic differentiation type of order two
 
typedef ublas::banded_matrix
< double > 
banded_matrix_type
 
typedef
directionalScalingMatrix
< value_type
dsm_type
 
typedef problem_type::f_type f_type
 functional objective type
 
typedef problem_type::matrix_type matrix_type
 matrix type
 
typedef COptions options_type
 option data type
 
typedef Problem< Data > problem_type
 problem data type
 
typedef SolverUnconstrained
< Data, Problem > 
solver_type
 this solver type
 
typedef Stats statistics_type
 statistics data type
 
typedef
problem_type::symmetric_matrix_type 
symmetric_matrix_type
 
typedef ad_0_type::value_type value_type
 numerical type
 
typedef problem_type::vector_type vector_type
 numerical type More...
 

Public Member Functions

bool optimize (vector_type &__x)
 optimization algorithm More...
 
problem_typeproblem ()
 
void redefine_problem (value_type x_definitions[_E_n][3])
 redefined the bounds of the control variables
 
 SolverUnconstrained (value_type x_definitions[_E_n][3])
 constructor that takes the control variables bounds
 
 SolverUnconstrained (Data const &__data)
 constructor that takes a data instance
 
statistics_type const & stats () const
 
 ~SolverUnconstrained ()
 destructor
 

Member Typedef Documentation

template<typename Data, template< class > class Problem = problem>
typedef problem_type::vector_type Feel::SolverUnconstrained< Data, Problem >::vector_type

numerical type

vector type

Member Enumeration Documentation

template<typename Data, template< class > class Problem = problem>
anonymous enum
Enumerator
_E_n 

number of control variables

_E_g 

number of inequality constraints

_E_h 

number of equality constraints

_E_nA 

size of the matrix

_E_nL 

number of multipliers

_E_nAL 

size of the multipliers matrix

Member Function Documentation

template<typename Data , template< class > class Problem>
bool Feel::SolverUnconstrained< Data, Problem >::optimize ( vector_type __x)

optimization algorithm

find an approximate stot for the step to make solve : Find $\tilde{s}^k = \mathrm{arg}\mathrm{min}_{s \in R^n}{\tilde{\phi}^k : ||s|| < \Delta^k}$


The documentation for this class was generated from the following file:

Generated on Fri Oct 25 2013 14:24:32 for Feel++ by doxygen 1.8.4