SCIP-SDP  2.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
scip::ObjReaderSDPA Class Reference

Public Member Functions

 ObjReaderSDPA (SCIP *scip)
 
virtual ~ObjReaderSDPA ()
 
virtual SCIP_RETCODE scip_read (SCIP *scip, SCIP_READER *reader, const char *filename, SCIP_RESULT *result)
 

Detailed Description

C++ wrapper object for file readers

Definition at line 93 of file objreader_sdpa.h.

Constructor & Destructor Documentation

scip::ObjReaderSDPA::ObjReaderSDPA ( SCIP *  scip)
inline

default constructor

Definition at line 98 of file objreader_sdpa.h.

virtual scip::ObjReaderSDPA::~ObjReaderSDPA ( )
inlinevirtual

destructor

Definition at line 103 of file objreader_sdpa.h.

Member Function Documentation

SCIP_RETCODE scip::ObjReaderSDPA::scip_read ( SCIP *  scip,
SCIP_READER *  reader,
const char *  filename,
SCIP_RESULT *  result 
)
virtual

problem reading method of reader

possible return values for *result:

  • SCIP_SUCCESS : the reader read the file correctly and created an appropritate problem
  • SCIP_DIDNOTRUN : the reader is not responsible for given input file

If the reader detected an error in the input file, it should return with RETCODE SCIP_READERR or SCIP_NOFILE.

Parameters
scipSCIP data structure
readerthe file reader itself
filenamefull path and name of file to read, or NULL if stdin should be used
resultpointer to store the result of the file reading call

Definition at line 190 of file objreader_sdpa.cpp.

References scip::checkForLineEnd(), scip::checkIndex(), scip::dropComments(), scip::dropSpaceNewlineError(), scip::LPBlock::numrows, scip::LPBlock::rows, SCIPcreateConsSdp(), and scip::testDigit().


The documentation for this class was generated from the following files: