Ringpacking problem reader.
This file implements the reader/parser used to read the ringpacking input data. For more details see Parsing the input format and creating the problem.
This file implements the reader/parser used to read the ringpacking input data. For more details see How to add file readers.
Definition in file reader_rpa.c.
Go to the source code of this file.
Macros | |
#define | DEFAULT_VERIFICATION_NLPTILIMSOFT 1e+20 |
#define | DEFAULT_VERIFICATION_NLPNODELIMSOFT 100L |
#define | DEFAULT_VERIFICATION_HEURTILIMSOFT 1e+20 |
#define | DEFAULT_VERIFICATION_HEURITERLIMSOFT 100 |
#define | DEFAULT_VERIFICATION_TOTALTILIMSOFT 1e+20 |
Reader properties | |
#define | READER_NAME "rpareader" |
#define | READER_DESC "file reader for ringpacking data format" |
#define | READER_EXTENSION "rpa" |
Functions | |
Callback methods | |
static | SCIP_DECL_READERREAD (readerReadRpa) |
Interface methods | |
SCIP_RETCODE | SCIPincludeReaderRpa (SCIP *scip) |
#define READER_NAME "rpareader" |
Definition at line 99 of file reader_rpa.c.
#define READER_DESC "file reader for ringpacking data format" |
Definition at line 100 of file reader_rpa.c.
#define READER_EXTENSION "rpa" |
Definition at line 101 of file reader_rpa.c.
#define DEFAULT_VERIFICATION_NLPTILIMSOFT 1e+20 |
soft time limit for each verification NLP
Definition at line 106 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
#define DEFAULT_VERIFICATION_NLPNODELIMSOFT 100L |
soft node limit for each verification NLP
Definition at line 107 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
#define DEFAULT_VERIFICATION_HEURTILIMSOFT 1e+20 |
soft time limit for heuristic verification
Definition at line 108 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
#define DEFAULT_VERIFICATION_HEURITERLIMSOFT 100 |
soft iteration limit for each heuristic verification
Definition at line 109 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
#define DEFAULT_VERIFICATION_TOTALTILIMSOFT 1e+20 |
total time limit for all verification problems during the enumeration
Definition at line 110 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
|
static |
problem reading method of reader
Definition at line 120 of file reader_rpa.c.
References FALSE, i, MAX, MIN, NULL, result, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_MAXSTRLEN, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIP_REAL_FORMAT, SCIP_SUCCESS, SCIPallocBufferArray, SCIPdebugMessage, SCIPerrorMessage, SCIPfclose(), SCIPfeof(), SCIPfgets(), SCIPfopen(), SCIPfreeBufferArray, SCIPisPositive(), SCIPprintSysError(), SCIPprobdataCreate(), SCIPprobdataSetupProblem(), SCIPsortDownRealRealInt(), SCIPwarningMessage(), and TRUE.
SCIP_RETCODE SCIPincludeReaderRpa | ( | SCIP * | scip | ) |
includes the rpa file reader in SCIP
scip | SCIP data structure |
Definition at line 284 of file reader_rpa.c.
References assert(), DEFAULT_VERIFICATION_HEURITERLIMSOFT, DEFAULT_VERIFICATION_HEURTILIMSOFT, DEFAULT_VERIFICATION_NLPNODELIMSOFT, DEFAULT_VERIFICATION_NLPTILIMSOFT, DEFAULT_VERIFICATION_TOTALTILIMSOFT, FALSE, NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_LONGINT_MAX, SCIP_OKAY, SCIP_REAL_MAX, SCIPaddIntParam(), SCIPaddLongintParam(), SCIPaddRealParam(), SCIPincludeReaderBasic(), and SCIPsetReaderRead().
Referenced by runShell().