Scippy

GCG

Branch-and-Price & Column Generation for Everyone

RefInput Struct Reference

Detailed Description

REF reading data

Definition at line 77 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

◆ linebuf

char RefInput::linebuf[REF_MAX_LINELEN]

line buffer

Definition at line 80 of file reader_ref.c.

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

◆ token

char* RefInput::token

current token

Definition at line 81 of file reader_ref.c.

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

◆ tokenbuf

char* RefInput::tokenbuf

token buffer

Definition at line 82 of file reader_ref.c.

Referenced by SCIPreadRef().

◆ pushedtokens

char* RefInput::pushedtokens[REF_MAX_PUSHEDTOKENS]

token stack

Definition at line 83 of file reader_ref.c.

Referenced by getNextToken(), and SCIPreadRef().

◆ npushedtokens

int RefInput::npushedtokens

size of token stack

Definition at line 84 of file reader_ref.c.

Referenced by getNextToken(), and SCIPreadRef().

◆ linenumber

int RefInput::linenumber

current line number

Definition at line 85 of file reader_ref.c.

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

◆ linepos

int RefInput::linepos

current line position (column)

Definition at line 86 of file reader_ref.c.

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

◆ nblocks

int RefInput::nblocks

number of blocks

Definition at line 87 of file reader_ref.c.

Referenced by readBlocks(), readBlockSizes(), readNBlocks(), readREFFile(), SCIPreadRef(), and writeREFFile().

◆ blocknr

int RefInput::blocknr

current block number

Definition at line 88 of file reader_ref.c.

Referenced by getNextToken(), readBlocks(), readBlockSizes(), and SCIPreadRef().

◆ nassignedvars

int RefInput::nassignedvars

number of assigned variables

Definition at line 89 of file reader_ref.c.

Referenced by readBlocks(), and SCIPreadRef().

◆ blocksizes

int* RefInput::blocksizes

array of block sizes

Definition at line 90 of file reader_ref.c.

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

◆ totalconss

int RefInput::totalconss

total number of constraints

Definition at line 91 of file reader_ref.c.

Referenced by readBlockSizes(), and SCIPreadRef().

◆ totalreadconss

int RefInput::totalreadconss

total number of read constraints

Definition at line 92 of file reader_ref.c.

Referenced by readBlocks(), and SCIPreadRef().

◆ masterconss

SCIP_CONS** RefInput::masterconss

array of constraints to be in the master

Definition at line 93 of file reader_ref.c.

Referenced by SCIPreadRef().

◆ nmasterconss

int RefInput::nmasterconss

number of constraints to be in the master

Definition at line 94 of file reader_ref.c.

Referenced by SCIPreadRef().

◆ section

REFSECTION RefInput::section

current section

Definition at line 95 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 96 of file reader_ref.c.

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

◆ vartoblock

SCIP_HASHMAP* RefInput::vartoblock

hashmap mapping variables to blocks (1..nblocks)

Definition at line 97 of file reader_ref.c.

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

◆ constoblock

SCIP_HASHMAP* RefInput::constoblock

hashmap mapping constraints to blocks (1..nblocks)

Definition at line 98 of file reader_ref.c.

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