SCIP file reader for TSP data files
Definition at line 36 of file ReaderTSP.h.
#include <ReaderTSP.h>
Public Member Functions | |
ReaderTSP (SCIP *scip) | |
virtual | ~ReaderTSP () |
virtual | SCIP_DECL_READERFREE (scip_free) |
virtual | SCIP_DECL_READERREAD (scip_read) |
virtual | SCIP_DECL_READERWRITE (scip_write) |
Public Member Functions inherited from scip::ObjReader | |
ObjReader (SCIP *scip, const char *name, const char *desc, const char *extension) | |
virtual | ~ObjReader () |
Public Member Functions inherited from scip::ObjCloneable | |
virtual | ~ObjCloneable () |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Data Fields | |
SCIP_Bool | round_lengths_ |
Data Fields inherited from scip::ObjReader | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
char * | scip_extension_ |
|
inline |
default constructor
Definition at line 43 of file ReaderTSP.h.
References FALSE, SCIPaddBoolParam(), and TRUE.
|
inlinevirtual |
destructor
Definition at line 53 of file ReaderTSP.h.
References nnodes, SCIP_DECL_READERFREE(), SCIP_DECL_READERREAD(), and SCIP_DECL_READERWRITE().
|
virtual |
destructor of file reader to free user data (called when SCIP is exiting)
Reimplemented from scip::ObjReader.
Referenced by ~ReaderTSP().
|
virtual |
problem reading method of reader
possible return values for *result:
If the reader detected an error in the input file, it should return with RETCODE SCIP_READERR or SCIP_NOFILE.
Reimplemented from scip::ObjReader.
Referenced by ~ReaderTSP().
|
virtual |
problem writing method of reader; NOTE: if the parameter "genericnames" is TRUE, then SCIP already set all variable and constraint names to generic names; therefore, this method should always use SCIPvarGetName() and SCIPconsGetName();
possible return values for *result:
If the reader detected an error in the writing to the file stream, it should return with RETCODE SCIP_WRITEERROR.
Reimplemented from scip::ObjReader.
Referenced by ~ReaderTSP().
SCIP_Bool tsp::ReaderTSP::round_lengths_ |
Definition at line 40 of file ReaderTSP.h.