Detailed Description
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 1000L |
#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) |
Macro Definition Documentation
◆ READER_NAME
#define READER_NAME "rpareader" |
Definition at line 90 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ READER_DESC
#define READER_DESC "file reader for ringpacking data format" |
Definition at line 91 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ READER_EXTENSION
#define READER_EXTENSION "rpa" |
Definition at line 92 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ DEFAULT_VERIFICATION_NLPTILIMSOFT
#define DEFAULT_VERIFICATION_NLPTILIMSOFT 1e+20 |
soft time limit for each verification NLP
Definition at line 97 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ DEFAULT_VERIFICATION_NLPNODELIMSOFT
#define DEFAULT_VERIFICATION_NLPNODELIMSOFT 1000L |
soft node limit for each verification NLP
Definition at line 98 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ DEFAULT_VERIFICATION_HEURTILIMSOFT
#define DEFAULT_VERIFICATION_HEURTILIMSOFT 1e+20 |
soft time limit for heuristic verification
Definition at line 99 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ DEFAULT_VERIFICATION_HEURITERLIMSOFT
#define DEFAULT_VERIFICATION_HEURITERLIMSOFT 100 |
soft iteration limit for each heuristic verification
Definition at line 100 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
◆ DEFAULT_VERIFICATION_TOTALTILIMSOFT
#define DEFAULT_VERIFICATION_TOTALTILIMSOFT 1e+20 |
total time limit for all verification problems during the enumeration
Definition at line 101 of file reader_rpa.c.
Referenced by SCIPincludeReaderRpa().
Function Documentation
◆ SCIP_DECL_READERREAD()
|
static |
problem reading method of reader
Definition at line 111 of file reader_rpa.c.
References FALSE, MAX, MIN, NULL, 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.
◆ SCIPincludeReaderRpa()
SCIP_RETCODE SCIPincludeReaderRpa | ( | SCIP * | scip | ) |
includes the rpa file reader in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 275 of file reader_rpa.c.
References 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().