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

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void createMasterProblem ()
 
void createSatelliteProblem ()
 
void createStructureFile (const std::vector< std::tuple< std::string, std::string, int > > &entries)
 

Protected Attributes

std::filesystem::path previous_path
 
std::filesystem::path tmp_dir_
 
MergeMPSOptions options_
 
std::shared_ptr< Xpansion::Test::LoggerNOOPStublogger_
 
std::shared_ptr< Xpansion::Test::InMemoryWriterwriter_
 

Member Function Documentation

◆ createMasterProblem()

void MergeMPSTest::createMasterProblem ( )
inlineprotected

Create the following problem : Minimize Obj: 3X1 + 4X2 s.t. 2X1 + 1X2 <= 8 1X1 + 2X2 >= 3 0 <= X1 <= 4 0 <= X2 <= 4

◆ createSatelliteProblem()

void MergeMPSTest::createSatelliteProblem ( )
inlineprotected

Create the following satellite problem : Minimize Obj: 1Y1 s.t. 3Y1 + 2X1 <= 7 9Y1 + 3X1 >= 5 0 <= Y1 <= 10 0 <= X1 <= 10


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