Skip to main content

optiSLang MOPSolver API 2024 R1

dynardo::mop::MOPSolver Class Reference

Last update: 10.07.2023

Public Types

typedef dynardo::algorithm::datatypes::SurrogateInfoContainer surrogate_info_container_type
 
typedef dynardo::algorithm::datatypes::name_size_list_type responses_pair_type
 
typedef std::vector< std::pair< bool, dynardo::string_type > > quality_usage_suffix_vector_type
 
typedef std::pair< dynardo::string_list_type, dynardo::string_list_type > input_output_names_pair_type
 
typedef std::map< dynardo::string_type, input_output_names_pair_type > external_solver_input_output_names_map_type
 
typedef std::map< dynardo::string_type, dynardo::path_type > title_path_map_type
 
typedef std::vector< double > qualities_vector_type
 
typedef std::vector< qualities_vector_type > collected_qualities_vector_type
 
typedef boost::variant< qualities_vector_type, collected_qualities_vector_type > qualities_variant_type
 
typedef std::map< dynardo::string_type, qualities_variant_type > qualities_map_type
 

Public Member Functions

 MOPSolver (bool _signals_wanted=true)
 
 MOPSolver (const dynardo::path_type &_omdb, bool _signals_wanted=true)
 
void SetWorkingDirectory (const dynardo::path_type &_wdir)
 
void SetInitializeNames (const dynardo::string_list_type &_initialize_responses, const dynardo::string_list_type &_initialize_errors)
 
bool InitializeSolver (const dynardo::path_type &)
 
bool InitializeSolver (const dynardo::algorithm::datatypes::OMDB &, const dynardo::path_type &=dynardo::path_type())
 
bool InitializeSolver ()
 
bool CanApproximateFMOP (const title_path_map_type &_title_path_map)
 
void InitializeFMOPSolver ()
 
void ReleaseFMOPSolver ()
 
void InitializeMOPCustomSolvers ()
 
bool BoundariesViolated (const dynardo::design_type &_design, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw)
 
void SetLog (dynardo::utils::log::LogBase_ptr_type)
 
dynardo::utils::log::LogBase_ptr_type GetLog ()
 
dynardo::utils::log::LogBase & GetLoggerRef ()
 
void SetMOPSolverPermissions (const dynardo::mop::MOPSolverPermissions &_mopsolver_permissions)
 
const dynardo::algorithm::datatypes::OMDB & GetOMDB () const
 
const surrogate_info_container_type & GetSurrogateInfos () const
 
const dynardo::design_type & GetReferenceDesign ()
 
const dynardo::string_list_type & GetParameterNames ()
 
const dynardo::string_list_type & GetResponseNames ()
 
const dynardo::string_list_type & GetCriteriaNames ()
 
const dynardo::criterion_seq_type & GetAllCriteria ()
 
external_solver_input_output_names_map_type GetExternalInputsOutputsNames ()
 
dynardo::design_type GetDesignWithOnlyActiveParameter (const design_type &orig_design)
 
void RemoveCVValues ()
 
qualities_map_type ApproximateQualityValues (const dynardo::design_type &_design, dynardo::enums::eExtrapolationTypes _extrapolation_type)
 
dynardo::design_type Approximate (const dynardo::design_type &_design, bool _extrapolate)
 
dynardo::design_type Approximate (const dynardo::design_type &_design, dynardo::enums::eExtrapolationTypes _extrapolation_type, const dynardo::optislang::typedefs::matrix_type &_request_matrix_oracle=dynardo::optislang::typedefs::matrix_type())
 
dynardo::design_container_type Approximate (const dynardo::design_container_type &_designs, bool _with_criteria, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw, const dynardo::optislang::typedefs::matrix_type &_request_matrix_oracle=dynardo::optislang::typedefs::matrix_type())
 
dynardo::mop::responses_and_criteria_type ApproximateDesigns (const dynardo::optislang::typedefs::matrix_type &_request_matrix, bool _with_criteria, bool _extrapolate, bool _throw)
 
dynardo::mop::responses_and_criteria_type ApproximateDesigns (const dynardo::optislang::typedefs::matrix_type &_request_matrix, bool _with_criteria, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateGradientsPerResponse (const dynardo::optislang::typedefs::matrix_type &_request_matrix, const dynardo::string_type &_response_name, bool _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateGradientsPerResponse (const dynardo::optislang::typedefs::matrix_type &_request_matrix, const dynardo::string_type &_response_name, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateGradients (const dynardo::optislang::typedefs::matrix_type &_request_matrix, bool _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateGradients (const dynardo::optislang::typedefs::matrix_type &_request_matrix, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateErrorsPerResponse (const dynardo::optislang::typedefs::matrix_type &_request_matrix, const dynardo::string_type &_response_name, bool _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateErrorsPerResponse (const dynardo::optislang::typedefs::matrix_type &_request_matrix, const dynardo::string_type &_response_name, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateErrors (const dynardo::optislang::typedefs::matrix_type &_request_matrix, bool _extrapolation_type, bool _throw)
 
std::vector< double > ApproximateErrors (const dynardo::optislang::typedefs::matrix_type &_request_matrix, dynardo::enums::eExtrapolationTypes _extrapolation_type, bool _throw)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Static Public Member Functions

static bool CanInitializeFMOPSolver (const dynardo::algorithm::datatypes::OMDB &, dynardo::utils::log::LogBase_ptr_type)
 
static void Calculate (const std::string &omdb_file, const std::string &in_file, const std::string &out_file, const bool reference_flag, const bool _dont_check_bounds)
 

Friends

class boost::serialization::access
 

The documentation for this class was generated from the following files:
  • /home/lgraenin/develop/optiSLang/protos/mopsolver/mopsolver.hpp
  • /home/lgraenin/develop/optiSLang/protos/mopsolver/mopsolver.cpp