All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed DescriptionCNF file reader. The DIMACS CNF (conjunctive normal form) is a file format used for example for SAT problems. For a detailed description of this format see http://people.sc.fsu.edu/~jburkardt/data/cnf/cnf.html . Definition in file reader_cnf.c. #include <assert.h> #include <string.h> #include "scip/reader_cnf.h" #include "scip/cons_linear.h" #include "scip/cons_logicor.h" #include "scip/cons_setppc.h" #include "scip/pub_misc.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 37 of file reader_cnf.c. Referenced by SCIP_DECL_READERCOPY(), SCIP_DECL_READERREAD(), and SCIPincludeReaderCnf().
Definition at line 38 of file reader_cnf.c. Referenced by SCIPincludeReaderCnf().
Definition at line 39 of file reader_cnf.c. Referenced by SCIPincludeReaderCnf().
Definition at line 41 of file reader_cnf.c. Referenced by readCnf(). Function Documentation
Definition at line 49 of file reader_cnf.c. References SCIPerrorMessage. Referenced by readCnf(), and readCnfLine().
Definition at line 59 of file reader_cnf.c. References SCIPwarningMessage(). Referenced by readCnf().
reads the next non-empty non-comment line of a cnf file
Definition at line 70 of file reader_cnf.c. References NULL, readError(), SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_READERROR, SCIPfgets(), and SCIPsnprintf(). Referenced by readCnf().
Definition at line 127 of file reader_cnf.c. References FALSE, MAXLINELEN, NULL, readCnfLine(), readError(), readWarning(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OBJSENSE_MAXIMIZE, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIP_VARTYPE_BINARY, SCIPaddCons(), SCIPaddVar(), SCIPallocBufferArray, SCIPchgVarObj(), SCIPcreateConsLinear(), SCIPcreateConsLogicor(), SCIPcreateConsSetcover(), SCIPcreateVar(), SCIPfindConshdlr(), SCIPfreeBufferArray, SCIPgetBoolParam(), SCIPgetNegatedVar(), SCIPinfinity(), SCIPreleaseCons(), SCIPreleaseVar(), SCIPsetObjsense(), SCIPsnprintf(), SCIPstrtok(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_READERREAD().
copy method for reader plugins (called when SCIP copies plugins) Definition at line 361 of file reader_cnf.c. References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderCnf(), and SCIPreaderGetName().
problem reading method of reader Definition at line 376 of file reader_cnf.c. References NULL, readCnf(), READER_NAME, SCIP_CALL, SCIP_NOFILE, SCIP_SUCCESS, SCIPcreateProb(), SCIPerrorMessage, SCIPfclose(), SCIPfopen(), SCIPprintSysError(), and SCIPreaderGetName().
includes the cnf file reader in SCIP
Definition at line 415 of file reader_cnf.c. References FALSE, NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPincludeReaderBasic(), SCIPsetReaderCopy(), and SCIPsetReaderRead(). Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins(). |