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::SolverConstrained< Data, Problem > Class Template Reference

#include <solverconstrained.hpp>

Detailed Description

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

Author
Ivan Oliveira and Christophe Prud'homme

Classes

class  COptions
 holds the options for the SolverConstrained More...
 
class  Stats
 holds the statistics for SolverConstrained More...
 

Public Types

enum  {
  _E_n = problem_type::_E_n,
  _E_f = problem_type::_E_f,
  _E_g = problem_type::_E_g,
  _E_h = problem_type::_E_h,
  _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 problem_type::f_type f_type
 
typedef problem_type::g_type g_type
 
typedef problem_type::h_type h_type
 
typedef COptions options_type
 option data type
 
typedef Problem< Data > problem_type
 problem data type
 
typedef SolverConstrained
< Data, Problem > 
solver_type
 this solver type
 
typedef Stats statistics_type
 statistics data type
 
typedef ad_0_type::value_type value_type
 numerical type
 

Public Member Functions

bool optimize (double __x[_E_n])
 optimizes the problem defined by problem_type More...
 
problem_typeproblem ()
 
void redefine_problem (double x_definitions[_E_n][3])
 redefined the control variables bounds and if they are avtive
 
 SolverConstrained (double x_definitions[_E_n][3])
 default constructor
 
statistics_type const & stats () const
 
 ~SolverConstrained ()
 destructor
 

Member Enumeration Documentation

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

number of control variables

_E_f 

number of objective functions

_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::SolverConstrained< Data, Problem >::optimize ( double  __x[_E_n])

optimizes the problem defined by problem_type

Returns
true if optimization succeeded, false otherwise

References Feel::dx().

template<typename Data , template< class > class Problem = problem>
problem_type& Feel::SolverConstrained< Data, Problem >::problem ( )
inline
Returns
the problem specifications
template<typename Data , template< class > class Problem = problem>
statistics_type const& Feel::SolverConstrained< Data, Problem >::stats ( ) const
inline
Returns
the statistics of the solver

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

Generated on Sun Dec 22 2013 13:11:21 for Feel++ by doxygen 1.8.5