Nonconvex constrained optimization
Loading...
Searching...
No Matches
problem-loader.hpp File Reference
#include <alpaqa/problem-loader-export.h>
#include <alpaqa/config/config.hpp>
#include <alpaqa/params/options.hpp>
#include <alpaqa/problem/problem-counters.hpp>
#include <alpaqa/problem/type-erased-problem.hpp>
#include <filesystem>
#include <iosfwd>
#include <memory>
#include <optional>
Include dependency graph for problem-loader.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

Namespaces

namespace  alpaqa

Functions

PROBLEM_LOADER_EXPORT LoadedProblem load_problem (std::string_view type, const fs::path &file, Options &opts)
PROBLEM_LOADER_EXPORT void print_problem_description (std::ostream &os, LoadedProblem &problem, bool show_funcs=true)

Class Documentation

◆ alpaqa::LoadedProblem

struct alpaqa::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_num_variables()) Unknowns.
vec initial_guess_y 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