List of all members | Public Member Functions
casadi::AlpaqaProblem Class Reference

#include <alpaqa_problem.hpp>

Detailed Description

Definition at line 14 of file alpaqa_problem.hpp.

Inheritance diagram for casadi::AlpaqaProblem:
Inheritance graph
[legend]

Public Member Functions

 AlpaqaProblem (const AlpaqaInterface &solver, AlpaqaMemory *mem)
 
 ~AlpaqaProblem ()
 
real_t eval_f (crvec x) const
 
void eval_grad_f (crvec x, rvec grad_fx) const
 
real_t eval_f_grad_f (crvec x, rvec grad_fx) const
 
void eval_g (crvec x, rvec g) const
 
void eval_grad_g_prod (crvec x, crvec y, rvec grad_gxy) const
 
void eval_grad_ψ (crvec x, crvec y, crvec Σ, rvec grad_ψ, rvec work_n, rvec work_m) const
 
real_t eval_ψ_grad_ψ (crvec x, crvec y, crvec Σ, rvec grad_ψ, rvec work_n, rvec work_m) const
 
void eval_grad_L (crvec x, crvec y, rvec grad_L, rvec work_n) const
 
real_t eval_ψ (crvec x, crvec y, crvec Σ, rvec ŷ) const
 
void eval_grad_gi (crvec x, index_t i, rvec grad_i) const
 
length_t get_jac_g_num_nonzeros () const
 
void eval_jac_g (crvec x, rindexvec inner_idx, rindexvec outer_ptr, rvec J_values) const
 
void eval_hess_L_prod (crvec x, crvec y, real_t scale, crvec v, rvec Hv) const
 
length_t get_hess_L_num_nonzeros () const
 
void eval_hess_L (crvec x, crvec y, real_t scale, rindexvec inner_idx, rindexvec outer_ptr, rvec H_values) const
 
void eval_hess_ψ_prod (crvec x, crvec y, crvec Σ, real_t scale, crvec v, rvec Hv) const
 
length_t get_hess_ψ_num_nonzeros () const
 
void eval_hess_ψ (crvec x, crvec y, crvec Σ, real_t scale, rindexvec inner_idx, rindexvec outer_ptr, rvec H_values) const
 
bool provides_eval_grad_gi () const
 
bool provides_eval_jac_g () const
 
bool provides_eval_hess_L_prod () const
 
bool provides_eval_hess_L () const
 
bool provides_eval_hess_ψ_prod () const
 
bool provides_eval_hess_ψ () const
 

Constructor & Destructor Documentation

◆ AlpaqaProblem()

casadi::AlpaqaProblem::AlpaqaProblem ( const AlpaqaInterface solver,
AlpaqaMemory mem 
)

◆ ~AlpaqaProblem()

casadi::AlpaqaProblem::~AlpaqaProblem ( )

Member Function Documentation

◆ eval_f()

real_t casadi::AlpaqaProblem::eval_f ( crvec  x) const

◆ eval_f_grad_f()

real_t casadi::AlpaqaProblem::eval_f_grad_f ( crvec  x,
rvec  grad_fx 
) const

◆ eval_g()

void casadi::AlpaqaProblem::eval_g ( crvec  x,
rvec  g 
) const

◆ eval_grad_f()

void casadi::AlpaqaProblem::eval_grad_f ( crvec  x,
rvec  grad_fx 
) const

◆ eval_grad_g_prod()

void casadi::AlpaqaProblem::eval_grad_g_prod ( crvec  x,
crvec  y,
rvec  grad_gxy 
) const

◆ eval_grad_gi()

void casadi::AlpaqaProblem::eval_grad_gi ( crvec  x,
index_t  i,
rvec  grad_i 
) const

◆ eval_grad_L()

void casadi::AlpaqaProblem::eval_grad_L ( crvec  x,
crvec  y,
rvec  grad_L,
rvec  work_n 
) const

◆ eval_grad_ψ()

void casadi::AlpaqaProblem::eval_grad_ψ ( crvec  x,
crvec  y,
crvec  Σ,
rvec  grad_ψ,
rvec  work_n,
rvec  work_m 
) const

◆ eval_hess_L()

void casadi::AlpaqaProblem::eval_hess_L ( crvec  x,
crvec  y,
real_t  scale,
rindexvec  inner_idx,
rindexvec  outer_ptr,
rvec  H_values 
) const

◆ eval_hess_L_prod()

void casadi::AlpaqaProblem::eval_hess_L_prod ( crvec  x,
crvec  y,
real_t  scale,
crvec  v,
rvec  Hv 
) const

◆ eval_hess_ψ()

void casadi::AlpaqaProblem::eval_hess_ψ ( crvec  x,
crvec  y,
crvec  Σ,
real_t  scale,
rindexvec  inner_idx,
rindexvec  outer_ptr,
rvec  H_values 
) const

◆ eval_hess_ψ_prod()

void casadi::AlpaqaProblem::eval_hess_ψ_prod ( crvec  x,
crvec  y,
crvec  Σ,
real_t  scale,
crvec  v,
rvec  Hv 
) const

◆ eval_jac_g()

void casadi::AlpaqaProblem::eval_jac_g ( crvec  x,
rindexvec  inner_idx,
rindexvec  outer_ptr,
rvec  J_values 
) const

◆ eval_ψ()

real_t casadi::AlpaqaProblem::eval_ψ ( crvec  x,
crvec  y,
crvec  Σ,
rvec  ŷ 
) const

◆ eval_ψ_grad_ψ()

real_t casadi::AlpaqaProblem::eval_ψ_grad_ψ ( crvec  x,
crvec  y,
crvec  Σ,
rvec  grad_ψ,
rvec  work_n,
rvec  work_m 
) const

◆ get_hess_L_num_nonzeros()

length_t casadi::AlpaqaProblem::get_hess_L_num_nonzeros ( ) const

◆ get_hess_ψ_num_nonzeros()

length_t casadi::AlpaqaProblem::get_hess_ψ_num_nonzeros ( ) const

◆ get_jac_g_num_nonzeros()

length_t casadi::AlpaqaProblem::get_jac_g_num_nonzeros ( ) const

◆ provides_eval_grad_gi()

bool casadi::AlpaqaProblem::provides_eval_grad_gi ( ) const
inline
See also
TypeErasedProblem::provides_eval_grad_gi

Definition at line 46 of file alpaqa_problem.hpp.

◆ provides_eval_hess_L()

bool casadi::AlpaqaProblem::provides_eval_hess_L ( ) const
inline
See also
TypeErasedProblem::provides_eval_hess_L

Definition at line 52 of file alpaqa_problem.hpp.

◆ provides_eval_hess_L_prod()

bool casadi::AlpaqaProblem::provides_eval_hess_L_prod ( ) const
inline
See also
TypeErasedProblem::provides_eval_hess_L_prod

Definition at line 50 of file alpaqa_problem.hpp.

◆ provides_eval_hess_ψ()

bool casadi::AlpaqaProblem::provides_eval_hess_ψ ( ) const
inline
See also
TypeErasedProblem::provides_eval_hess_ψ

Definition at line 56 of file alpaqa_problem.hpp.

◆ provides_eval_hess_ψ_prod()

bool casadi::AlpaqaProblem::provides_eval_hess_ψ_prod ( ) const
inline
See also
TypeErasedProblem::provides_eval_hess_ψ_prod

Definition at line 54 of file alpaqa_problem.hpp.

◆ provides_eval_jac_g()

bool casadi::AlpaqaProblem::provides_eval_jac_g ( ) const
inline
See also
TypeErasedProblem::provides_eval_jac_g

Definition at line 48 of file alpaqa_problem.hpp.


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