reader_cip.c File Reference Detailed DescriptionCIP file reader. Definition in file reader_cip.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 32 of file reader_cip.c. Referenced by SCIP_DECL_READERCOPY(), SCIP_DECL_READERFREE(), SCIP_DECL_READERWRITE(), and SCIPincludeReaderCip().
Definition at line 33 of file reader_cip.c. Referenced by SCIPincludeReaderCip().
Definition at line 34 of file reader_cip.c. Referenced by SCIPincludeReaderCip().
Should fixed and aggregated variables be written when writing? Definition at line 36 of file reader_cip.c. Referenced by SCIPincludeReaderCip(). Typedef Documentation
Section of the in CIP files Definition at line 57 of file reader_cip.c.
CIP reading data Definition at line 76 of file reader_cip.c. Enumeration Type Documentation
Section of the in CIP files Definition at line 47 of file reader_cip.c. Function Documentation
get next input line; this are all characters until the next semicolon
Definition at line 85 of file reader_cip.c. References BMSclearMemoryArray, CIP_CONSTRAINTS, NULL, SCIP_CALL, SCIP_OKAY, SCIPcalcMemGrowSize(), SCIPerrorMessage, SCIPfgets(), SCIPreallocBufferArray, and TRUE. Referenced by SCIP_DECL_READERREAD(). read the problem name out of the statistics
Definition at line 171 of file reader_cip.c. References CIP_STATISTIC, SCIPerrorMessage, and TRUE. Referenced by SCIP_DECL_READERREAD().
read the problem name out of the statistics
Definition at line 196 of file reader_cip.c. References CIP_OBJECTIVE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPsetProbName(), and SCIPwarningMessage(). Referenced by SCIP_DECL_READERREAD().
read objective sense, offset, and scale
Definition at line 248 of file reader_cip.c. References CIP_CONSTRAINTS, CIP_END, CIP_FIXEDVARS, CIP_OBJECTIVE, CIP_VARS, NULL, SCIP_CALL, SCIP_OBJSENSE_MAXIMIZE, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPsetObjsense(), SCIPstrToRealValue(), and SCIPwarningMessage(). Referenced by SCIP_DECL_READERREAD().
read variable
Definition at line 382 of file reader_cip.c. References CIP_CONSTRAINTS, CIP_END, CIP_FIXEDVARS, CIP_VARS, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPaddVar(), SCIPchgVarObj(), SCIPdebug, SCIPdebugMessage, SCIPerrorMessage, SCIPparseVar(), SCIPprintVar(), SCIPreleaseVar(), SCIPvarGetObj(), and TRUE. Referenced by SCIP_DECL_READERREAD().
read fixed variable
Definition at line 435 of file reader_cip.c. References CIP_CONSTRAINTS, CIP_END, CIP_FIXEDVARS, FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_Real, SCIPaddCons(), SCIPaddVar(), SCIPallocBufferArray, SCIPcreateConsLinear(), SCIPdebug, SCIPdebugMessage, SCIPdebugPrintCons, SCIPerrorMessage, SCIPfreeBufferArray, SCIPparseVar(), SCIPparseVarName(), SCIPparseVarsLinearsum(), SCIPprintVar(), SCIPreallocBufferArray, SCIPreleaseCons(), SCIPreleaseVar(), SCIPsnprintf(), SCIPstrToRealValue(), SCIPvarGetName(), SCIPvarIsBinary(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_READERREAD().
read constraint
Definition at line 628 of file reader_cip.c. References CIP_END, FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPaddCons(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPduplicateMemoryArray, SCIPerrorMessage, SCIPfreeMemoryArray, SCIPparseCons(), SCIPreleaseCons(), and TRUE. Referenced by SCIP_DECL_READERREAD().
copy method for reader plugins (called when SCIP copies plugins) Definition at line 718 of file reader_cip.c. References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderCip(), and SCIPreaderGetName().
destructor of reader to free user data (called when SCIP is exiting) Definition at line 732 of file reader_cip.c. References NULL, READER_NAME, SCIP_OKAY, SCIPfreeMemory, SCIPreaderGetData(), and SCIPreaderGetName().
problem reading method of reader Definition at line 747 of file reader_cip.c. References CIP_CONSTRAINTS, CIP_END, CIP_FIXEDVARS, CIP_OBJECTIVE, CIP_START, CIP_STATISTIC, CIP_VARS, FALSE, getConstraint(), getFixedVariable(), getInputString(), getObjective(), getStart(), getStatistics(), getVariable(), NULL, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIP_SUCCESS, SCIP_VARTYPE_CONTINUOUS, SCIPABORT, SCIPaddVar(), SCIPallocBufferArray, SCIPcreateProb(), SCIPcreateVar(), SCIPdebugMessage, SCIPerrorMessage, SCIPfclose(), SCIPfopen(), SCIPfreeBufferArray, SCIPgetBoolParam(), SCIPisZero(), SCIPprintSysError(), SCIPreleaseVar(), and TRUE.
hash key retrieval function for variables Definition at line 882 of file reader_cip.c.
returns TRUE iff the indices of both variables are equal Definition at line 889 of file reader_cip.c.
returns the hash value of the key Definition at line 898 of file reader_cip.c. References SCIPvarGetIndex().
problem writing method of reader Definition at line 906 of file reader_cip.c. References NULL, READER_NAME, SCIP_CALL, SCIP_ERROR, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_SUCCESS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPdebugMessage, SCIPerrorMessage, SCIPflattenVarAggregationGraph(), SCIPhashtableCreate(), SCIPhashtableExists(), SCIPhashtableFree(), SCIPhashtableInsert(), SCIPinfoMessage(), SCIPisEQ(), SCIPisZero(), SCIPprintCons(), SCIPprintVar(), SCIPreaderGetData(), SCIPreaderGetName(), SCIPvarGetAggrVar(), SCIPvarGetMultaggrNVars(), SCIPvarGetMultaggrVars(), SCIPvarGetNegatedVar(), SCIPvarGetNegationVar(), and SCIPvarGetStatus().
includes the cip file reader in SCIP
Definition at line 1097 of file reader_cip.c. References DEFAULT_CIP_WRITEFIXEDVARS, FALSE, NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPincludeReaderBasic(), SCIPsetReaderCopy(), SCIPsetReaderFree(), SCIPsetReaderRead(), and SCIPsetReaderWrite(). Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins(). |