alpaqa 1.0.0a15
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
params.cpp File Reference
#include <alpaqa/implementation/params/params.tpp>
#include <alpaqa/params/vec-from-file.hpp>
#include <alpaqa/util/duration-parse.hpp>
#include <alpaqa/util/io/csv.hpp>
#include <alpaqa/util/possible-alias.hpp>
#include <fstream>
#include <alpaqa/util/from_chars-wrapper.hpp>
#include <alpaqa/inner/directions/panoc/anderson.hpp>
#include <alpaqa/inner/directions/panoc/lbfgs.hpp>
#include <alpaqa/inner/directions/panoc/structured-lbfgs.hpp>
#include <alpaqa/inner/directions/panoc/structured-newton.hpp>
#include <alpaqa/inner/directions/pantr/newton-tr.hpp>
#include <alpaqa/inner/fista.hpp>
#include <alpaqa/inner/internal/lipschitz.hpp>
#include <alpaqa/inner/internal/panoc-stop-crit.hpp>
#include <alpaqa/inner/panoc.hpp>
#include <alpaqa/inner/pantr.hpp>
#include <alpaqa/inner/zerofpr.hpp>
#include <alpaqa/outer/alm.hpp>
#include <alpaqa/inner/panoc-ocp.hpp>
#include <alpaqa/params/structs.ipp>
+ Include dependency graph for params.cpp:

Go to the source code of this file.

Namespaces

namespace  alpaqa
 
namespace  alpaqa::params
 

Macros

#define ALPAQA_SET_PARAM_INST(...)
 
#define ALPAQA_SET_PARAM_INST_INT(...)
 

Functions

template<>
void set_param (bool &b, ParamString s)
 
template<>
void set_param (std::string_view &v, ParamString s)
 
template<>
void set_param (std::string &v, ParamString s)
 
template<class T >
requires ((std::floating_point<T> || std::integral<T>) && !std::is_enum_v<T> && !std::is_same_v<T, bool>)
void set_param (T &f, ParamString s)
 Update/overwrite the first argument based on the option in s.
 
template<>
void set_param (alpaqa::vec< config_t > &v, ParamString s)
 
template<>
void set_param (vec_from_file< config_t > &v, ParamString s)
 
template<class Duration >
requires is_duration<Duration>
void set_param (Duration &t, ParamString s)
 
template<>
void set_param (LBFGSStepSize &t, ParamString s)
 
template<>
void set_param (PANOCStopCrit &t, ParamString s)
 
template<class... Ts>
void set_param (util::detail::dummy< Ts... > &, ParamString)
 
template void set_param (util::possible_alias_t< float > &, ParamString)
 
template void set_param (util::possible_alias_t< double, float > &, ParamString)
 
template void set_param (util::possible_alias_t< long double, double, float > &, ParamString)
 
template void set_param (util::possible_alias_t< int8_t > &, ParamString)
 
template void set_param (util::possible_alias_t< uint8_t > &, ParamString)
 
template void set_param (util::possible_alias_t< int16_t > &, ParamString)
 
template void set_param (util::possible_alias_t< uint16_t > &, ParamString)
 
template void set_param (util::possible_alias_t< int32_t > &, ParamString)
 
template void set_param (util::possible_alias_t< int64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< uint32_t > &, ParamString)
 
template void set_param (util::possible_alias_t< uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString)
 
template void set_param (util::possible_alias_t< std::chrono::nanoseconds > &, ParamString)
 
template void set_param (util::possible_alias_t< std::chrono::microseconds > &, ParamString)
 
template void set_param (util::possible_alias_t< std::chrono::milliseconds > &, ParamString)
 
template void set_param (util::possible_alias_t< std::chrono::seconds > &, ParamString)
 
template void set_param (util::possible_alias_t< std::chrono::minutes > &, ParamString)
 
template void set_param (util::possible_alias_t< std::chrono::hours > &, ParamString)
 
template void set_param (util::possible_alias_t< PANOCParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< FISTAParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< ZeroFPRParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< PANTRParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< LBFGSParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< AndersonAccelParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< LBFGSDirectionParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< AndersonDirectionParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< NewtonTRDirectionParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< SteihaugCGParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< StructuredNewtonDirectionParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< ALMParams< config_t > > &, ParamString)
 
template void set_param (util::possible_alias_t< PANOCOCPParams< config_t > > &, ParamString)
 

Macro Definition Documentation

◆ ALPAQA_SET_PARAM_INST

#define ALPAQA_SET_PARAM_INST (   ...)
Value:
template void ALPAQA_EXPORT set_param( \
util::possible_alias_t<__VA_ARGS__> &, ParamString)

Definition at line 198 of file params.cpp.

◆ ALPAQA_SET_PARAM_INST_INT

#define ALPAQA_SET_PARAM_INST_INT (   ...)
Value:
ALPAQA_SET_PARAM_INST(__VA_ARGS__, int8_t, uint8_t, int16_t, uint16_t, \
int32_t, int64_t, uint32_t, uint64_t)
#define ALPAQA_SET_PARAM_INST(...)
Definition params.cpp:198

Definition at line 221 of file params.cpp.