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 "scip/pub_message.h"
#include "scip/pub_reader.h"
#include "scip/reader_lp.h"
#include "scip/reader_rlp.h"
#include "scip/scip_message.h"
#include "scip/scip_reader.h"
#include "scip/scip_solvingstats.h"
#include <string.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 32 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 33 of file reader_rlp.c.

Referenced by SCIPincludeReaderRlp().

◆ READER_EXTENSION

#define READER_EXTENSION   "rlp"

Definition at line 34 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 43 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 58 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 69 of file reader_rlp.c.

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