Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
ProblemModifierTest Class Reference
Inheritance diagram for ProblemModifierTest:
ProblemModifierTestMultiChronicle ProblemModifierTestWithProfile

Public Attributes

std::shared_ptr< Problemmath_problem
 
int n_cols = -1
 
int n_rows = -1
 
int n_elems = -1
 
std::vector< char > coltypes
 
std::vector< char > rowtypes
 
std::vector< double > objectives
 
std::vector< double > upper_bounds
 
std::vector< double > lower_bounds
 
std::vector< double > rhs
 
std::vector< double > mat_val
 
std::vector< int > col_indexes
 
std::vector< int > start_indexes
 
std::vector< std::basic_string< char > > col_names
 
ProblemGenerationLog::ProblemGenerationLoggerSharedPointer logger
 

Protected Member Functions

void SetUp ()
 
void TearDown ()
 
void update_n_cols ()
 
void update_n_rows ()
 
void update_n_elems ()
 
void update_col_names ()
 
void update_col_type ()
 
void update_row_type ()
 
void update_objectives ()
 
void update_lower_bounds ()
 
void update_upper_bounds ()
 
void update_mat_val ()
 
std::vector< double > getRowCoefficients (int index_row)
 
std::vector< int > getRowColIndexes (int index_row)
 
void update_rhs_val ()
 
void verify_columns_are (const int expected_n_cols)
 
void verify_rows_are (const int expected_n_rows)
 
void verify_column_name_is (const int col_id, std::basic_string< char > name)
 
void verify_column_is_of_type (const int col_id, char type)
 
void verify_column_objective_is (const int col_id, double obj_value)
 
void verify_column_lower_bound_is (const int col_id, double lower_value)
 
void verify_column_upper_bound_is (const int col_id, double upper_value)
 
void verify_row_is_of_type (const int row_id, char type)
 
void verify_rhs_is (const int rhs_id, double rhs_value)
 
void verify_column (const int col_id, std::basic_string< char > name, char type, double obj_value, double lower_value, double upper_value)
 
void verify_row (int row, char type, const std::vector< double > &coeff, const std::vector< int > &col_indexes, double rhs)
 

Member Data Documentation

◆ logger

ProblemGenerationLog::ProblemGenerationLoggerSharedPointer ProblemModifierTest::logger
Initial value:
=
emptyLogger()

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