Concept of optimizers.
More...
#include <num_collect/opt/concepts/optimizer.h>
template<typename T>
typename T::objective_function_type;
typename T::variable_type;
typename T::objective_function_type::variable_type,
typename T::variable_type>;
typename T::value_type;
typename T::objective_function_type::value_type,
typename T::value_type>;
requires requires(const typename T::objective_function_type& obj_fun) {
{ T{obj_fun} };
};
requires requires(const T& obj) {
{
obj.opt_variable()
} -> base::concepts::const_reference_of<typename T::variable_type>;
{
obj.opt_value()
} -> base::concepts::const_reference_of<typename T::value_type>;
{
obj.iterations()
} -> base::concepts::implicitly_convertible_to<index_type>;
{
obj.evaluations()
} -> base::concepts::implicitly_convertible_to<index_type>;
};
}
Concept of iterative solvers.
Concept of objective functions in optimization.
Concept of optimizers.
- Template Parameters
-
Definition at line 37 of file optimizer.h.