Binpacking problem reader file reader.
This file implements the reader/parser used to read the binpacking input data. For more details see Parsing the input format and creating the problem.
Definition in file reader_bpa.c.
#include <assert.h>
#include <string.h>
#include "scip/cons_setppc.h"
#include "probdata_binpacking.h"
#include "reader_bpa.h"
Go to the source code of this file.
Macros | |
Reader properties | |
#define | READER_NAME "bpareader" |
#define | READER_DESC "file reader for binpacking data format" |
#define | READER_EXTENSION "bpa" |
Functions | |
Callback methods | |
static | SCIP_DECL_READERREAD (readerReadBpa) |
Interface methods | |
SCIP_RETCODE | SCIPincludeReaderBpa (SCIP *scip) |
#define READER_NAME "bpareader" |
Definition at line 94 of file reader_bpa.c.
Referenced by SCIPincludeReaderBpa().
#define READER_DESC "file reader for binpacking data format" |
Definition at line 95 of file reader_bpa.c.
Referenced by SCIPincludeReaderBpa().
#define READER_EXTENSION "bpa" |
Definition at line 96 of file reader_bpa.c.
Referenced by SCIPincludeReaderBpa().
|
static |
problem reading method of reader
Definition at line 108 of file reader_bpa.c.
References FALSE, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_Longint, SCIP_MAXSTRLEN, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_SUCCESS, SCIPallocBufferArray, SCIPdebugMsg, SCIPerrorMessage, SCIPfclose(), SCIPfeof(), SCIPfgets(), SCIPfopen(), SCIPfreeBufferArray, SCIPprintSysError(), SCIPprobdataCreate(), SCIPwarningMessage(), and TRUE.
SCIP_RETCODE SCIPincludeReaderBpa | ( | SCIP * | scip | ) |
includes the bpa file reader in SCIP
scip | SCIP data structure |
Definition at line 249 of file reader_bpa.c.
References READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBasic(), and SCIPsetReaderRead().
Referenced by runShell().