Detailed Description
REF file reader for structure information.
This reader reads and writes a ref-file that defines the structur to be used for the decomposition. The structure is defined constraint-wise, i.e., the number of blocks and the constraints belonging to each block are defined. The constraints are numbered by the appearance in the problem.
Constraints not mentioned in one of the blocks will remain in the master problem
The format is the following
- first line: #nblocks #ncons_block_1 ... #n_cons_block_n
- one line for each block with the indices of constraints to be put into that block separated by a comma
Definition in file reader_ref.h.
Go to the source code of this file.
Functions | |
| GCG_EXPORT SCIP_RETCODE | GCGincludeReaderRef (GCG *gcg) |
Function Documentation
◆ GCGincludeReaderRef()
| GCG_EXPORT SCIP_RETCODE GCGincludeReaderRef | ( | GCG * | gcg | ) |
includes the ref file reader into SCIP
includes the ref file reader in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 874 of file reader_ref.c.
References SCIP_ReaderData::gcg, GCGgetOrigprob(), NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, and SCIPincludeReader().
Referenced by GCGincludeGcgPlugins().