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

    ◆ READER_NAME

    #define READER_NAME   "bpareader"

    Definition at line 103 of file reader_bpa.c.

    ◆ READER_DESC

    #define READER_DESC   "file reader for binpacking data format"

    Definition at line 104 of file reader_bpa.c.

    ◆ READER_EXTENSION

    #define READER_EXTENSION   "bpa"

    Definition at line 105 of file reader_bpa.c.

    Function Documentation

    ◆ SCIP_DECL_READERREAD()

    ◆ SCIPincludeReaderBpa()

    SCIP_RETCODE SCIPincludeReaderBpa ( SCIP scip)

    includes the bpa file reader in SCIP

    Parameters
    scipSCIP data structure

    Definition at line 257 of file reader_bpa.c.

    References NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBasic(), and SCIPsetReaderRead().

    Referenced by runShell().