SCIP-SDP
3.2.0
|
Reader for SDPA-files. More...
Go to the source code of this file.
Namespaces | |
scip | |
Functions | |
void | drop_space (std::istream &line) |
void | drop_rest_line (std::istream &s) |
static void | dropComments (std::istream *file) |
static SCIP_RETCODE | dropSpaceNewlineError (std::istream &line) |
static SCIP_RETCODE | checkForLineEnd (std::istream &line) |
static SCIP_RETCODE | testDigit (std::istream *file) |
static SCIP_RETCODE | checkIndex (const char *indexname, int value, int lb, int ub) |
scip::SCIP_DECL_READERREAD (ObjReaderSDPA::scip_read) | |
Reader for SDPA-files.
Definition in file objreader_sdpa.cpp.
|
inline |
drop spaces and all brackets that are allowed within the blocks in the sdpa format
Definition at line 63 of file objreader_sdpa.cpp.
Referenced by scip::SCIP_DECL_READERREAD().
|
inline |
drops the rest of the line
Definition at line 72 of file objreader_sdpa.cpp.
Referenced by dropComments(), and scip::SCIP_DECL_READERREAD().
|
static |
function for removing comments in between the variable & block definitions
file | the file instance that is read |
Definition at line 80 of file objreader_sdpa.cpp.
References drop_rest_line().
Referenced by scip::SCIP_DECL_READERREAD().
|
static |
drop spaces and all brackets that are allowed within the blocks in the sdpa format, throws an error if it reaches a newline
line | the file instance that is read |
Definition at line 95 of file objreader_sdpa.cpp.
Referenced by scip::SCIP_DECL_READERREAD().
|
static |
checks that only spaces, newlines or comments follow in the current line
line | the file instance that is read |
Definition at line 119 of file objreader_sdpa.cpp.
Referenced by scip::SCIP_DECL_READERREAD().
|
static |
function to test whether the next character in the input string is a digit (or a minus), if it isn't SCIP aborts with a corresponding error
file | the file instance that is read |
Definition at line 145 of file objreader_sdpa.cpp.
Referenced by scip::SCIP_DECL_READERREAD().
|
static |
function to check whether the given index is within the given bounds, if not an error message for the given string will be thrown
indexname | name of the index that will be used in the error message |
value | value to check against the upper bound |
lb | lower bound to check against |
ub | upper bound to check against |
Definition at line 160 of file objreader_sdpa.cpp.
Referenced by scip::SCIP_DECL_READERREAD().