Detailed Description
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) |
Macro Definition Documentation
◆ READER_NAME
#define READER_NAME "bpareader" |
Definition at line 94 of file reader_bpa.c.
Referenced by SCIPincludeReaderBpa().
◆ READER_DESC
#define READER_DESC "file reader for binpacking data format" |
Definition at line 95 of file reader_bpa.c.
Referenced by SCIPincludeReaderBpa().
◆ READER_EXTENSION
#define READER_EXTENSION "bpa" |
Definition at line 96 of file reader_bpa.c.
Referenced by SCIPincludeReaderBpa().
Function Documentation
◆ SCIP_DECL_READERREAD()
|
static |
problem reading method of reader
Definition at line 108 of file reader_bpa.c.
References FALSE, NULL, 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.
◆ SCIPincludeReaderBpa()
SCIP_RETCODE SCIPincludeReaderBpa | ( | SCIP * | scip | ) |
includes the bpa file reader in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 249 of file reader_bpa.c.
References NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBasic(), and SCIPsetReaderRead().
Referenced by runShell().