Scippy

SCIP

Solving Constraint Integer Programs

reader_rlp.c File Reference

Detailed Description

RLP file reader (LP format with generic variables and row names)

Author
Stefan Heinz

Definition in file reader_rlp.c.

#include <string.h>
#include "scip/reader_lp.h"
#include "scip/reader_rlp.h"

Go to the source code of this file.

Macros

#define READER_NAME   "rlpreader"
 
#define READER_DESC   "file reader for MIPs in IBM CPLEX's RLP file format"
 
#define READER_EXTENSION   "rlp"
 

Functions

static SCIP_DECL_READERCOPY (readerCopyRlp)
 
static SCIP_DECL_READERREAD (readerReadRlp)
 
static SCIP_DECL_READERWRITE (readerWriteRlp)
 
SCIP_RETCODE SCIPincludeReaderRlp (SCIP *scip)
 

Macro Definition Documentation

#define READER_NAME   "rlpreader"

Definition at line 28 of file reader_rlp.c.

Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeReaderRlp().

#define READER_DESC   "file reader for MIPs in IBM CPLEX's RLP file format"

Definition at line 29 of file reader_rlp.c.

Referenced by SCIPincludeReaderRlp().

#define READER_EXTENSION   "rlp"

Definition at line 30 of file reader_rlp.c.

Referenced by SCIPincludeReaderRlp().

Function Documentation

static SCIP_DECL_READERCOPY ( readerCopyRlp  )
static

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

Definition at line 39 of file reader_rlp.c.

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

static SCIP_DECL_READERREAD ( readerReadRlp  )
static

problem reading method of reader

Definition at line 54 of file reader_rlp.c.

References SCIP_CALL, SCIP_OKAY, and SCIPreadLp().

static SCIP_DECL_READERWRITE ( readerWriteRlp  )
static

problem writing method of reader

Definition at line 65 of file reader_rlp.c.

References SCIP_CALL, SCIP_OKAY, SCIP_SUCCESS, SCIPprintOrigProblem(), SCIPprintTransProblem(), SCIPwarningMessage(), SCIPwriteLp(), and TRUE.

SCIP_RETCODE SCIPincludeReaderRlp ( SCIP scip)

includes the rlp file reader in SCIP

Parameters
scipSCIP data structure

Definition at line 97 of file reader_rlp.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().