alpaqa 1.0.0a17
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Functions
problem.hpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/problem/problem-counters.hpp>
#include <alpaqa/problem/type-erased-problem.hpp>
#include "options.hpp"
#include <filesystem>
#include <memory>
#include <optional>
+ Include dependency graph for problem.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ConstrCount
 
struct  LoadedProblem
 

Functions

LoadedProblem load_problem (std::string_view type, const fs::path &dir, const fs::path &file, Options &opts)
 

Class Documentation

◆ LoadedProblem

struct LoadedProblem
+ Collaboration diagram for LoadedProblem:
Class Members
TypeErasedProblem< config_t > problem
path abs_path
path path
string name = path.filename().string()
shared_ptr< EvalCounter > evaluations = nullptr
vec initial_guess_x = vec::Zero(problem.get_n()) Unknowns.
vec initial_guess_y = vec::Zero(problem.get_m()) Multipliers g.
vec initial_guess_w = alpaqa::null_vec<config_t> Multipliers bounds.
optional< ConstrCount > box_constr_count = std::nullopt
optional< ConstrCount > general_constr_count = std::nullopt
optional< length_t > nnz_jac_g = std::nullopt
optional< length_t > nnz_hess_L = std::nullopt
optional< length_t > nnz_hess_ψ = std::nullopt

Function Documentation

◆ load_problem()

LoadedProblem load_problem ( std::string_view  type,
const fs::path &  dir,
const fs::path &  file,
Options opts 
)

Definition at line 183 of file problem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: