type definitions for input file readers
Definition in file type_reader.h.
#include "scip/def.h"
#include "scip/type_retcode.h"
#include "scip/type_result.h"
#include "scip/type_scip.h"
Go to the source code of this file.
Macros | |
#define | SCIP_DECL_READERCOPY(x) SCIP_RETCODE x (SCIP* scip, SCIP_READER* reader) |
#define | SCIP_DECL_READERFREE(x) SCIP_RETCODE x (SCIP* scip, SCIP_READER* reader) |
#define | SCIP_DECL_READERREAD(x) SCIP_RETCODE x (SCIP* scip, SCIP_READER* reader, const char* filename, SCIP_RESULT* result) |
#define | SCIP_DECL_READERWRITE(x) |
Typedefs | |
typedef struct SCIP_Reader | SCIP_READER |
typedef struct SCIP_ReaderData | SCIP_READERDATA |
#define SCIP_DECL_READERCOPY | ( | x | ) | SCIP_RETCODE x (SCIP* scip, SCIP_READER* reader) |
copy method for reader plugins (called when SCIP copies plugins)
input:
Definition at line 46 of file type_reader.h.
#define SCIP_DECL_READERFREE | ( | x | ) | SCIP_RETCODE x (SCIP* scip, SCIP_READER* reader) |
destructor of reader to free user data (called when SCIP is exiting)
input:
Definition at line 55 of file type_reader.h.
#define SCIP_DECL_READERREAD | ( | x | ) | SCIP_RETCODE x (SCIP* scip, SCIP_READER* reader, const char* filename, SCIP_RESULT* result) |
problem reading method of reader
input:
possible return values for *result:
If the reader detected an error in the input file, it should return with RETCODE SCIP_READERROR or SCIP_NOFILE.
Definition at line 71 of file type_reader.h.
#define SCIP_DECL_READERWRITE | ( | x | ) |
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();
input:
possible return values for *result:
If the reader detected an error while writing the output file, it should return with RETCODE SCIP_WRITEERROR
Definition at line 110 of file type_reader.h.
typedef struct SCIP_Reader SCIP_READER |
reader data structure
Definition at line 36 of file type_reader.h.
typedef struct SCIP_ReaderData SCIP_READERDATA |
reader specific data
Definition at line 37 of file type_reader.h.