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

◆ READER_NAME

#define READER_NAME   "rlpreader"

Definition at line 28 of file reader_rlp.c.

Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeReaderRlp().

◆ READER_DESC

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

◆ READER_EXTENSION

#define READER_EXTENSION   "rlp"

Definition at line 30 of file reader_rlp.c.

Referenced by SCIPincludeReaderRlp().

Function Documentation

◆ SCIP_DECL_READERCOPY()

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

◆ SCIP_DECL_READERREAD()

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

◆ SCIP_DECL_READERWRITE()

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.