Scippy

GCG

Branch-and-Price & Column Generation for Everyone

DecInput Struct Reference

Detailed Description

DEC reading data

Definition at line 86 of file reader_dec.cpp.

Data Fields

SCIP_FILE * file
 
char linebuf [DEC_MAX_LINELEN]
 
char * token
 
char * tokenbuf
 
char * pushedtokens [DEC_MAX_PUSHEDTOKENS]
 
int npushedtokens
 
int linenumber
 
int linepos
 
SCIP_Bool presolved
 
SCIP_Bool haspresolvesection
 
SCIP_Bool incomplete
 
int nblocks
 
int blocknr
 
DECSECTION section
 
SCIP_Bool haserror
 
gcg::PARTIALDECOMPpartialdec
 

Field Documentation

◆ file

SCIP_FILE* DecInput::file

file to read

Definition at line 88 of file reader_dec.cpp.

Referenced by getNextLine(), readDec(), readDECFile(), and setPresolved().

◆ linebuf

char DecInput::linebuf[DEC_MAX_LINELEN]

line buffer

Definition at line 89 of file reader_dec.cpp.

Referenced by getNextLine(), getNextToken(), readDec(), and syntaxError().

◆ token

◆ tokenbuf

char* DecInput::tokenbuf

token buffer

Definition at line 91 of file reader_dec.cpp.

Referenced by readDec(), and swapTokenBuffer().

◆ pushedtokens

char* DecInput::pushedtokens[DEC_MAX_PUSHEDTOKENS]

token stack

Definition at line 92 of file reader_dec.cpp.

Referenced by getNextToken(), pushToken(), and readDec().

◆ npushedtokens

int DecInput::npushedtokens

size of token buffer

Definition at line 93 of file reader_dec.cpp.

Referenced by getNextToken(), pushToken(), and readDec().

◆ linenumber

int DecInput::linenumber

current line number

Definition at line 94 of file reader_dec.cpp.

Referenced by getNextLine(), getNextToken(), isNewSection(), readDec(), and syntaxError().

◆ linepos

int DecInput::linepos

current line position (column)

Definition at line 95 of file reader_dec.cpp.

Referenced by getNextLine(), getNextToken(), readDec(), and syntaxError().

◆ presolved

SCIP_Bool DecInput::presolved

does the decomposition refer to the presolved problem?

Definition at line 96 of file reader_dec.cpp.

Referenced by readBlockconss(), readDec(), readDECFile(), and readPresolved().

◆ haspresolvesection

SCIP_Bool DecInput::haspresolvesection

does the decomposition have a presolved section

Definition at line 97 of file reader_dec.cpp.

Referenced by readDec(), readDECFile(), and readPresolved().

◆ incomplete

SCIP_Bool DecInput::incomplete

if false the unspecified constraints should be forced to the master (for downward compatibility)

Definition at line 98 of file reader_dec.cpp.

Referenced by readDec(), readDECFile(), and readIncomplete().

◆ nblocks

int DecInput::nblocks

number of blocks

Definition at line 99 of file reader_dec.cpp.

Referenced by readBlockconss(), readDec(), and readNBlocks().

◆ blocknr

int DecInput::blocknr

number of the currentblock between 0 and Nblocks-1

Definition at line 100 of file reader_dec.cpp.

Referenced by isNewSection(), readBlockconss(), readBlockvars(), and readDec().

◆ section

DECSECTION DecInput::section

current section

Definition at line 101 of file reader_dec.cpp.

Referenced by getNextToken(), isNewSection(), readDec(), readDECFile(), setPresolved(), and syntaxError().

◆ haserror

SCIP_Bool DecInput::haserror

flag to indicate an error occurence

Definition at line 102 of file reader_dec.cpp.

Referenced by getNextLine(), hasError(), readBlockconss(), readDec(), readDECFile(), and syntaxError().

◆ partialdec

gcg::PARTIALDECOMP* DecInput::partialdec

incomplete decomposition

Definition at line 103 of file reader_dec.cpp.

Referenced by readBlockconss(), readBlockvars(), readDECFile(), readLinkingvars(), readMasterconss(), readMastervars(), and readNBlocks().