GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
RefInput Struct Reference

Detailed Description

REF reading data

Definition at line 74 of file reader_ref.c.

Data Fields

SCIP_FILE * file
char linebuf [REF_MAX_LINELEN]
char * token
char * tokenbuf
char * pushedtokens [REF_MAX_PUSHEDTOKENS]
int npushedtokens
int linenumber
int linepos
int nblocks
int blocknr
int nassignedvars
int * blocksizes
int totalconss
int totalreadconss
SCIP_CONS ** masterconss
int nmasterconss
REFSECTION section
SCIP_Bool haserror
SCIP_HASHMAP * vartoblock
SCIP_HASHMAP * constoblock

Field Documentation

◆ file

SCIP_FILE* RefInput::file

file to read

Definition at line 76 of file reader_ref.c.

Referenced by getNextLine(), readRef(), and readREFFile().

◆ linebuf

char RefInput::linebuf[REF_MAX_LINELEN]

line buffer

Definition at line 77 of file reader_ref.c.

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

◆ token

char* RefInput::token

current token

Definition at line 78 of file reader_ref.c.

Referenced by getNextToken(), isInt(), readRef(), and syntaxError().

◆ tokenbuf

char* RefInput::tokenbuf

token buffer

Definition at line 79 of file reader_ref.c.

Referenced by readRef().

◆ pushedtokens

char* RefInput::pushedtokens[REF_MAX_PUSHEDTOKENS]

token stack

Definition at line 80 of file reader_ref.c.

Referenced by getNextToken(), and readRef().

◆ npushedtokens

int RefInput::npushedtokens

size of token stack

Definition at line 81 of file reader_ref.c.

Referenced by getNextToken(), and readRef().

◆ linenumber

int RefInput::linenumber

current line number

Definition at line 82 of file reader_ref.c.

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

◆ linepos

int RefInput::linepos

current line position (column)

Definition at line 83 of file reader_ref.c.

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

◆ nblocks

int RefInput::nblocks

number of blocks

Definition at line 84 of file reader_ref.c.

Referenced by readBlocks(), readBlockSizes(), readNBlocks(), readRef(), and readREFFile().

◆ blocknr

int RefInput::blocknr

current block number

Definition at line 85 of file reader_ref.c.

Referenced by getNextToken(), readBlocks(), and readRef().

◆ nassignedvars

int RefInput::nassignedvars

number of assigned variables

Definition at line 86 of file reader_ref.c.

Referenced by readBlocks(), and readRef().

◆ blocksizes

int* RefInput::blocksizes

array of block sizes

Definition at line 87 of file reader_ref.c.

Referenced by readBlocks(), readBlockSizes(), readNBlocks(), and readRef().

◆ totalconss

int RefInput::totalconss

total number of constraints

Definition at line 88 of file reader_ref.c.

Referenced by readBlockSizes(), and readRef().

◆ totalreadconss

int RefInput::totalreadconss

total number of read constraints

Definition at line 89 of file reader_ref.c.

Referenced by readBlocks(), and readRef().

◆ masterconss

SCIP_CONS** RefInput::masterconss

array of constraints to be in the master

Definition at line 90 of file reader_ref.c.

Referenced by readRef().

◆ nmasterconss

int RefInput::nmasterconss

number of constraints to be in the master

Definition at line 91 of file reader_ref.c.

Referenced by readRef().

◆ section

REFSECTION RefInput::section

current section

Definition at line 92 of file reader_ref.c.

Referenced by getNextToken(), readNBlocks(), readREFFile(), and syntaxError().

◆ haserror

SCIP_Bool RefInput::haserror

flag to indicate an error occurence

Definition at line 93 of file reader_ref.c.

Referenced by getNextLine(), hasError(), readRef(), and syntaxError().

◆ vartoblock

SCIP_HASHMAP* RefInput::vartoblock

hashmap mapping variables to blocks (1..nblocks)

Definition at line 94 of file reader_ref.c.

Referenced by readBlocks(), readRef(), and readREFFile().

◆ constoblock

SCIP_HASHMAP* RefInput::constoblock

hashmap mapping constraints to blocks (1..nblocks)

Definition at line 95 of file reader_ref.c.

Referenced by readBlocks(), readRef(), and readREFFile().