Detailed Description
BLK file reader for structure information.
This reader reads in a blk-file that defines the structur to be used for the decomposition. The structure is defined variable-wise, i.e., the number of blocks and the variables belonging to each block are defined. Afterwards, each constraint that has only variables of one block is added to that block, constraints having variables of more than one block go into the master. If needed, constraints can also be forced into the master, even if they could be transferred to one block.
The keywords are:
- Presolved: to be followed by either 0 or 1 indicating that the decomposition is for the presolved or unpresolved problem
- NBlocks: to be followed by a line giving the number of blocks
- Block i with 1 <= i <= nblocks: to be followed by the names of the variables belonging to block i, one per line.
- Masterconss: to be followed by names of constraints, one per line, that should go into the master, even if they only contain variables of one block and could thus be added to this block.
Definition in file reader_blk.h.
Go to the source code of this file.
Functions | |
| GCG_EXPORT SCIP_RETCODE | GCGincludeReaderBlk (GCG *gcg) |
Function Documentation
◆ GCGincludeReaderBlk()
| GCG_EXPORT SCIP_RETCODE GCGincludeReaderBlk | ( | GCG * | gcg | ) |
includes the blk file reader into SCIP
includes the blk file reader in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 1210 of file reader_blk.cpp.
References SCIP_ReaderData::gcg, GCGgetOrigprob(), NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, and SCIPincludeReader().
Referenced by GCGincludeGcgPlugins().