Detailed Descriptionfile reader for primal solutions Definition in file reader_sol.c. #include <assert.h> #include <string.h> #include <ctype.h> #include "scip/reader_sol.h" #include "xml/xml.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 33 of file reader_sol.c. Referenced by SCIP_DECL_READERCOPY(), SCIP_DECL_READERREAD(), and SCIPincludeReaderSol().
Definition at line 34 of file reader_sol.c. Referenced by SCIPincludeReaderSol().
Definition at line 35 of file reader_sol.c. Referenced by SCIPincludeReaderSol(). Function Documentation
reads a given SCIP solution file, problem has to be transformed in advance
Definition at line 44 of file reader_sol.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_MULTAGGR, SCIP_VERBLEVEL_NORMAL, SCIPaddSolFree(), SCIPcreateSol(), SCIPerrorMessage, SCIPfclose(), SCIPfeof(), SCIPfgets(), SCIPfindVar(), SCIPfopen(), SCIPfreeSol(), SCIPgetBoolParam(), SCIPinfinity(), SCIPisTransformed(), SCIPprintSysError(), SCIPsetSolVal(), SCIPtrySolFree(), SCIPvarGetName(), SCIPvarGetProbvar(), SCIPvarGetStatus(), SCIPverbMessage(), and TRUE. Referenced by SCIP_DECL_READERREAD().
reads a given xml solution file
Definition at line 215 of file reader_sol.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_MULTAGGR, SCIP_VERBLEVEL_NORMAL, SCIPaddSolFree(), SCIPcreateSol(), SCIPerrorMessage, SCIPfindVar(), SCIPfreeSol(), SCIPinfinity(), SCIPisTransformed(), SCIPsetSolVal(), SCIPtrySolFree(), SCIPvarGetName(), SCIPvarGetProbvar(), SCIPvarGetStatus(), SCIPverbMessage(), SCIPwarningMessage(), TRUE, xmlFindNodeMaxdepth(), xmlFirstChild(), xmlFreeNode(), xmlGetAttrval(), xmlNextSibl(), and xmlProcess(). Referenced by SCIP_DECL_READERREAD().
copy method for reader plugins (called when SCIP copies plugins) Definition at line 393 of file reader_sol.c. References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderSol(), 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 412 of file reader_sol.c. References NULL, READER_NAME, readSol(), readXMLSol(), SCIP_CALL, SCIP_DIDNOTRUN, SCIP_MAXSTRLEN, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_SUCCESS, SCIP_VERBLEVEL_NORMAL, SCIPerrorMessage, SCIPfclose(), SCIPfgets(), SCIPfopen(), SCIPgetStage(), SCIPprintSysError(), SCIPreaderGetName(), and SCIPverbMessage().
includes the sol file reader in SCIP
Definition at line 485 of file reader_sol.c. References NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBasic(), SCIPsetReaderCopy(), and SCIPsetReaderRead(). Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins(). |