Detailed Description
struct to store (nested) decomposition data (read from file)
Definition at line 119 of file reader_jdec.cpp.
Public Member Functions | |
| JDecDecompositionData () | |
| ~JDecDecompositionData ()=default | |
| BLOCK_STRUCTURE * | createBlockStructure (GCG *gcg, DETPROBDATA *detprobdata) |
Data Fields | |
| bool | presolved |
| std::vector< std::string > | masterconstraints |
| std::vector< JDecBlockData > | blocks |
| std::unordered_map< std::string, std::string > | symmetryvardata |
Constructor & Destructor Documentation
◆ JDecDecompositionData()
|
inline |
constructor
Definition at line 122 of file reader_jdec.cpp.
References blocks, masterconstraints, presolved, and symmetryvardata.
Referenced by AbstractJDecDecompositionElementParser::parseDecomposition().
◆ ~JDecDecompositionData()
|
default |
destructor
References createBlockStructure().
Member Function Documentation
◆ createBlockStructure()
| BLOCK_STRUCTURE * JDecDecompositionData::createBlockStructure | ( | GCG * | gcg, |
| DETPROBDATA * | detprobdata ) |
creates a block structure object
- Parameters
-
gcg GCG object detprobdata detprobdata used to create the block structure object
Definition at line 474 of file reader_jdec.cpp.
References gcg::BLOCK_STRUCTURE::blockconss, blocks, gcg::BLOCK_STRUCTURE::blockstructures, GCGgetOrigprob(), gcg::DETPROBDATA::getIndexForCons(), gcg::DETPROBDATA::getIndexForVar(), gcg::BLOCK_STRUCTURE::masterconss, masterconstraints, presolved, success, gcg::BLOCK_STRUCTURE::symmetricalblocks, gcg::BLOCK_STRUCTURE::symmetryvardata, and symmetryvardata.
Referenced by readJDec(), and ~JDecDecompositionData().
Field Documentation
◆ presolved
| bool JDecDecompositionData::presolved |
Definition at line 133 of file reader_jdec.cpp.
Referenced by createBlockStructure(), JDecDecompositionData(), and readJDec().
◆ masterconstraints
| std::vector<std::string> JDecDecompositionData::masterconstraints |
is this a decomposition of a presolved model? vector containing names of master constraints
Definition at line 134 of file reader_jdec.cpp.
Referenced by createBlockStructure(), JDecDecompositionData(), and readJDec().
◆ blocks
| std::vector<JDecBlockData> JDecDecompositionData::blocks |
vector containing block data of each block
Definition at line 135 of file reader_jdec.cpp.
Referenced by createBlockStructure(), JDecDecompositionData(), and readJDec().
◆ symmetryvardata
| std::unordered_map<std::string, std::string> JDecDecompositionData::symmetryvardata |
symmetry mapping for variables: name of variable -> name of its representative variable
Definition at line 136 of file reader_jdec.cpp.
Referenced by createBlockStructure(), JDecDecompositionData(), and readJDec().