SCIP-SDP
3.2.0
|
Reader for SDPA-Files with indicator constraints (-var in linear constraint => indicator constraint with var as indicator variable) 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 (ObjReaderSDPAind::scip_read) | |
Reader for SDPA-Files with indicator constraints (-var in linear constraint => indicator constraint with var as indicator variable)
Definition in file objreader_sdpaind.cpp.
|
inline |
drop spaces and all brackets that are allowed within the blocks in the sdpa format
Definition at line 64 of file objreader_sdpaind.cpp.
Referenced by scip::SCIP_DECL_READERREAD().
|
inline |
drops the rest of the line
Definition at line 73 of file objreader_sdpaind.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 81 of file objreader_sdpaind.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 96 of file objreader_sdpaind.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 120 of file objreader_sdpaind.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 146 of file objreader_sdpaind.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 161 of file objreader_sdpaind.cpp.
Referenced by scip::SCIP_DECL_READERREAD().