Scippy

SCIP

Solving Constraint Integer Programs

reader_bpa.c File Reference

Detailed Description

Binpacking problem reader file reader.

Author
Timo Berthold
Stefan Heinz

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

#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().

#define READER_NAME   "bpareader"

Definition at line 94 of file reader_bpa.c.

Referenced by SCIPincludeReaderBpa().

Function Documentation

static SCIP_DECL_READERREAD ( readerReadBpa  )
static

problem reading method of reader

Definition at line 108 of file reader_bpa.c.

References SCIPprobdataCreate().

SCIP_RETCODE SCIPincludeReaderBpa ( SCIP *  scip)

includes the bpa file reader in SCIP

Parameters
scipSCIP data structure

Definition at line 249 of file reader_bpa.c.

References READER_DESC, READER_EXTENSION, and READER_NAME.

Referenced by runShell().