All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Descriptionfile reader for variable bounds This reader allows to read a file containing new bounds for variables of the current problem. Each line of the file should have format <variable name> <lower bound> <upper bound> where infinite bounds can be written as inf, +inf or -inf. Note that only a subset of the variables may appear in the file. Lines with unknown variable names are ignored. The writing functionality is currently not supported. Definition in file reader_bnd.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 36 of file reader_bnd.c. Referenced by SCIP_DECL_READERCOPY(), SCIP_DECL_READERREAD(), SCIPincludeReaderBnd(), and SCIPincludeReaderZpl().
Definition at line 37 of file reader_bnd.c. Referenced by SCIPincludeReaderBnd(), and SCIPincludeReaderZpl().
Definition at line 38 of file reader_bnd.c. Referenced by SCIPincludeReaderBnd(), and SCIPincludeReaderZpl(). Function Documentation
reads a given bound file, problem has to be in problem stage
Definition at line 47 of file reader_bnd.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIPchgVarLb(), SCIPchgVarUb(), SCIPerrorMessage, SCIPfclose(), SCIPfeof(), SCIPfgets(), SCIPfindVar(), SCIPfopen(), SCIPgetBoolParam(), SCIPinfinity(), SCIPprintSysError(), SCIPvarGetUbGlobal(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_READERREAD().
copy method for reader plugins (called when SCIP copies plugins) Definition at line 188 of file reader_bnd.c. References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBnd(), and SCIPreaderGetName().
problem reading method of reader In order to determine the type of the file, we have to open it. Thus, it has to be opened twice. This might be removed, but is likely to not hurt the performance too much. Definition at line 207 of file reader_bnd.c. References NULL, readBounds(), READER_NAME, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIP_READERROR, SCIP_STAGE_PROBLEM, SCIP_SUCCESS, SCIPerrorMessage, SCIPgetStage(), and SCIPreaderGetName().
includes the bnd file reader in SCIP
Definition at line 241 of file reader_bnd.c. References NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBasic(), SCIPsetReaderCopy(), and SCIPsetReaderRead(). Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins(). |