alpaqa 1.0.0a8
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Member Functions | List of all members
UnconstrProblem< Conf > Class Template Reference

#include <alpaqa/include/alpaqa/problem/unconstr-problem.hpp>

Detailed Description

template<Config Conf>
class alpaqa::UnconstrProblem< Conf >

Implements common problem functions for minimization problems without constraints.

Meant to be used as a base class for custom problem implementations.

Examples
C++/SimpleUnconstrProblem/main.cpp.

Definition at line 12 of file unconstr-problem.hpp.

+ Collaboration diagram for UnconstrProblem< Conf >:

Public Member Functions

length_t get_m () const
 Number of constraints.
 
void eval_g (crvec, rvec) const
 
void eval_grad_g_prod (crvec, crvec, rvec grad) const
 
void eval_jac_g (crvec, rindexvec, rindexvec, rvec) const
 
void eval_grad_gi (crvec, index_t, rvec grad_gi) const
 
real_t eval_prox_grad_step (real_t γ, crvec x, crvec grad_ψ, rvec x̂, rvec p) const
 
void eval_proj_diff_g (crvec, rvec) const
 
void eval_proj_multipliers (rvec, real_t) const
 

Member Function Documentation

◆ get_m()

length_t get_m ( ) const
inline

Number of constraints.

Definition at line 16 of file unconstr-problem.hpp.

◆ eval_g()

void eval_g ( crvec  ,
rvec   
) const
inline

Definition at line 18 of file unconstr-problem.hpp.

◆ eval_grad_g_prod()

void eval_grad_g_prod ( crvec  ,
crvec  ,
rvec  grad 
) const
inline

Definition at line 19 of file unconstr-problem.hpp.

◆ eval_jac_g()

void eval_jac_g ( crvec  ,
rindexvec  ,
rindexvec  ,
rvec   
) const
inline

Definition at line 20 of file unconstr-problem.hpp.

◆ eval_grad_gi()

void eval_grad_gi ( crvec  ,
index_t  ,
rvec  grad_gi 
) const
inline

Definition at line 21 of file unconstr-problem.hpp.

◆ eval_prox_grad_step()

real_t eval_prox_grad_step ( real_t  γ,
crvec  x,
crvec  grad_ψ,
rvec  ,
rvec  p 
) const
inline
See also
TypeErasedProblem::eval_prox_grad_step

Definition at line 24 of file unconstr-problem.hpp.

◆ eval_proj_diff_g()

void eval_proj_diff_g ( crvec  ,
rvec   
) const
inline
See also
TypeErasedProblem::eval_proj_diff_g

Definition at line 31 of file unconstr-problem.hpp.

◆ eval_proj_multipliers()

void eval_proj_multipliers ( rvec  ,
real_t   
) const
inline

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