reader.h File Reference Detailed Descriptioninternal methods for input file readers Definition in file reader.h. #include "scip/def.h" #include "scip/type_prob.h" #include "scip/type_retcode.h" #include "scip/type_result.h" #include "scip/type_set.h" #include "scip/type_reader.h" #include "scip/pub_reader.h" Go to the source code of this file. Function Documentation
copies the given reader to a new scip
Definition at line 43 of file reader.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPreaderGetName(). Referenced by SCIPsetEnableOrDisablePluginClocks().
creates a reader
Definition at line 61 of file reader.c. References BMSallocMemory, BMSduplicateMemoryArray, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_OKAY, and SCIPclockCreate(). Referenced by SCIPincludeReader(), and SCIPincludeReaderBasic().
frees memory of reader
Definition at line 95 of file reader.c. References BMSfreeMemory, BMSfreeMemoryArray, NULL, SCIP_CALL, SCIP_OKAY, and SCIPclockFree().
reads problem data from file with given reader or returns SCIP_DIDNOTRUN
Definition at line 136 of file reader.c. References NULL, readerIsApplicable(), SCIP_Reader::readingtime, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_DIDNOTRUN, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_SUCCESS, SCIPclockCreate(), SCIPclockFree(), SCIPclockGetTime(), SCIPclockIsRunning(), SCIPclockSetTime(), SCIPclockStart(), and SCIPclockStop(). Referenced by SCIPreadProb().
writes problem data to file with given reader or returns SCIP_DIDNOTRUN
Definition at line 222 of file reader.c. References BMSallocMemoryArray, BMSfreeMemory, BMSfreeMemoryArray, SCIP_Prob::conss, SCIP_Prob::fixedvars, SCIP_Prob::maxnconss, SCIP_Prob::name, SCIP_Prob::nbinvars, SCIP_Prob::nconss, SCIP_Prob::ncontvars, SCIP_Prob::nfixedvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, SCIP_Prob::objoffset, SCIP_Prob::objscale, SCIP_Prob::objsense, SCIP_Prob::probdata, readerIsApplicable(), resetVarname(), SCIP_ALLOC, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_WRITEERROR, SCIPconsGetName(), SCIPconshdlrGetConss(), SCIPconshdlrGetEnfoConss(), SCIPconshdlrGetName(), SCIPconshdlrGetNConss(), SCIPconshdlrGetNEnfoConss(), SCIPconsSetNamePointer(), SCIPdebugMessage, SCIPsnprintf(), SCIPvarGetName(), SCIPvarSetNamePointer(), SCIP_Prob::startnconss, SCIP_Prob::startnvars, SCIP_Prob::transformed, and SCIP_Prob::vars. Referenced by printProblem().
gets time in seconds used in this reader for reading
Definition at line 560 of file reader.c. References NULL, SCIP_Reader::readingtime, and SCIPclockGetTime(). Referenced by SCIPgetReadingTime().
enables or disables all clocks of
Definition at line 570 of file reader.c. References NULL, SCIP_Reader::readingtime, and SCIPclockEnableOrDisable(). Referenced by SCIPsetSetReoptimizationParams().
resets reading time of reader
Definition at line 581 of file reader.c. References NULL, SCIP_Reader::readingtime, SCIP_OKAY, and SCIPclockReset(). Referenced by SCIPfreeProb().
sets copy method of reader
Definition at line 466 of file reader.c. References NULL. Referenced by SCIPsetReaderCopy().
sets destructor of reader
Definition at line 477 of file reader.c. References NULL. Referenced by SCIPsetReaderFree().
sets read method of reader
Definition at line 488 of file reader.c. References NULL. Referenced by SCIPsetReaderRead().
sets write method of reader
Definition at line 499 of file reader.c. References NULL. Referenced by SCIPsetReaderWrite(). |