Scippy

SCIP

Solving Constraint Integer Programs

reader_wbo.c File Reference

Detailed Description

WBO file reader (OPB format with weighted constraints)

Author
Michael Winkler

Definition in file reader_wbo.c.

#include <string.h>
#include "scip/reader_opb.h"
#include "scip/reader_wbo.h"

Go to the source code of this file.

Macros

#define READER_NAME   "wboreader"
 
#define READER_DESC   "file reader for pseudoboolean wbo file format"
 
#define READER_EXTENSION   "wbo"
 

Functions

static SCIP_DECL_READERCOPY (readerCopyWbo)
 
static SCIP_DECL_READERREAD (readerReadWbo)
 
static SCIP_DECL_READERWRITE (readerWriteWbo)
 
SCIP_RETCODE SCIPincludeReaderWbo (SCIP *scip)
 

Macro Definition Documentation

#define READER_NAME   "wboreader"

Definition at line 30 of file reader_wbo.c.

Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeReaderWbo().

#define READER_DESC   "file reader for pseudoboolean wbo file format"

Definition at line 31 of file reader_wbo.c.

Referenced by SCIPincludeReaderWbo().

#define READER_EXTENSION   "wbo"

Definition at line 32 of file reader_wbo.c.

Referenced by SCIPincludeReaderWbo().

Function Documentation

static SCIP_DECL_READERCOPY ( readerCopyWbo  )
static

copy method for reader plugins (called when SCIP copies plugins)

Definition at line 40 of file reader_wbo.c.

References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderWbo(), and SCIPreaderGetName().

static SCIP_DECL_READERREAD ( readerReadWbo  )
static

problem reading method of reader

Definition at line 55 of file reader_wbo.c.

References SCIP_CALL, SCIP_OKAY, and SCIPreadOpb().

static SCIP_DECL_READERWRITE ( readerWriteWbo  )
static

problem writing method of reader

Definition at line 66 of file reader_wbo.c.

References SCIP_CALL, SCIP_OKAY, and SCIPwriteOpb().

SCIP_RETCODE SCIPincludeReaderWbo ( SCIP scip)

includes the wbo file reader in SCIP

Parameters
scipSCIP data structure

Definition at line 80 of file reader_wbo.c.

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

Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins().