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

Protected Member Functions

void SetUp () override
 
- Protected Member Functions inherited from ProblemModifierTest
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)
 

Protected Attributes

std::vector< ActiveLinklinks
 
const unsigned int link_id = 0
 
const std::map< linkId, ColumnsToChange > p_var_columns
 
const std::map< linkId, ColumnsToChange > p_direct_cost_columns
 
const std::map< linkId, ColumnsToChange > p_indirect_cost_columns
 
CandidateData cand1
 
CandidateData cand2
 
const double link_capacity = 2000.0
 
LinkProfile profile_link = LinkProfile(logger)
 
LinkProfile profile_cand1 = LinkProfile(logger)
 
LinkProfile profile_cand1_2 = LinkProfile(logger)
 
LinkProfile profile_cand2 = LinkProfile(logger)
 
LinkProfile profile_cand2_2 = LinkProfile(logger)
 

Additional Inherited Members

- Public Attributes inherited from ProblemModifierTest
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
 

Member Data Documentation

◆ p_direct_cost_columns

const std::map<linkId, ColumnsToChange> ProblemModifierTestMultiChronicle::p_direct_cost_columns
protected
Initial value:
= {
{link_id, {{1, 0}, {1, 1}}}}

◆ p_indirect_cost_columns

const std::map<linkId, ColumnsToChange> ProblemModifierTestMultiChronicle::p_indirect_cost_columns
protected
Initial value:
= {
{link_id, {{{2, 0}, {2, 1}}}}}

◆ p_var_columns

const std::map<linkId, ColumnsToChange> ProblemModifierTestMultiChronicle::p_var_columns
protected
Initial value:
= {
{link_id, {{0, 0}, {0, 1}}}}

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