All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
reader_opb.c File Reference Detailed Descriptionpseudo-Boolean file reader (opb format) This file reader parses the opb format and is also used by the wbo reader for the wbo format. For a detailed description of this format see The syntax of the input file format can be described by a simple Backus-Naur form. <formula> is the start symbol of this grammar. <formula>::= <sequence_of_comments> [<objective>] | [<softheader>] <sequence_of_comments_or_constraints> <sequence_of_comments>::= <comment> [<sequence_of_comments>] <comment>::= "*" <any_sequence_of_characters_other_than_EOL> <EOL> <sequence_of_comments_or_constraints>::=<comment_or_constraint> [<sequence_of_comments_or_constraints>] <comment_or_constraint>::=<comment>|<constraint> <objective>::= "min:" <zeroOrMoreSpace> <sum> ";" <constraint>::= <sum> <relational_operator> <zeroOrMoreSpace> <integer> <zeroOrMoreSpace> ";" <sum>::= <weightedterm> | <weightedterm> <sum> <weightedterm>::= <integer> <oneOrMoreSpace> <term> <oneOrMoreSpace> <integer>::= <unsigned_integer> | "+" <unsigned_integer> | "-" <unsigned_integer> <unsigned_integer>::= <digit> | <digit><unsigned_integer> <relational_operator>::= "\>=" | "=" <variablename>::= "x" <unsigned_integer> <oneOrMoreSpace>::= " " [<oneOrMoreSpace>] <zeroOrMoreSpace>::= [" " <zeroOrMoreSpace>] For linear pseudo-Boolean instances, <term> is defined as <term>::=<variablename> For non-linear instances, <term> is defined as <term>::= <oneOrMoreLiterals> <oneOrMoreLiterals>::= <literal> | <literal> <oneOrMoreSpace> <oneOrMoreLiterals> <literal>::= <variablename> | "~"<variablename> For wbo-files are the following additional/changed things possible. <softheader>::= "soft:" [<unsigned integer>] ";" <comment_or_constraint>::=<comment>|<constraint>|<softconstraint> <softconstraint>::= "[" <zeroOrMoreSpace> <unsigned integer> <zeroOrMoreSpace> "]" <constraint> Definition in file reader_opb.c. #include <stdlib.h> #include <assert.h> #include <string.h> #include <strings.h> #include <ctype.h> #include "scip/cons_and.h" #include "scip/cons_indicator.h" #include "scip/cons_knapsack.h" #include "scip/cons_linear.h" #include "scip/cons_logicor.h" #include "scip/cons_pseudoboolean.h" #include "scip/cons_setppc.h" #include "scip/cons_varbound.h" #include "scip/pub_misc.h" #include "scip/reader_opb.h" #include "scip/debug.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 101 of file reader_opb.c. Referenced by readConstraints(), SCIP_DECL_READERCOPY(), SCIPincludeReaderOpb(), and writeOpb().
Definition at line 102 of file reader_opb.c. Referenced by SCIPincludeReaderOpb().
Definition at line 103 of file reader_opb.c. Referenced by SCIPincludeReaderOpb().
Definition at line 105 of file reader_opb.c.
Value:
TRUE /* will all non-linear parts inside the objective function be linearized or will
* an artificial integer variable be created which will represent the objective
* function
*/
Definition at line 106 of file reader_opb.c.
Definition at line 108 of file reader_opb.c. Referenced by printPBRow(), printRow(), readConstraints(), and writeOpbObjective().
Definition at line 109 of file reader_opb.c.
Definition at line 110 of file reader_opb.c. Referenced by readOPBFile(), and writeOpbObjective().
size of the line buffer for reading or writing Definition at line 115 of file reader_opb.c. Referenced by appendBuffer(), getNextLine(), getNextToken(), printNLRow(), printPBRow(), printRow(), readConstraints(), readOPBFile(), SCIPreadOpb(), writeOpb(), writeOpbObjective(), and writeOpbRelevantAnds().
Definition at line 116 of file reader_opb.c. Referenced by pushBufferToken(), pushToken(), and SCIPreadOpb().
Definition at line 117 of file reader_opb.c. Referenced by readCoefficients().
Definition at line 3181 of file reader_opb.c. Referenced by writeOpbConstraints(). Typedef Documentation
Definition at line 126 of file reader_opb.c. Definition at line 135 of file reader_opb.c.
Definition at line 163 of file reader_opb.c. Enumeration Type Documentation
Section in OPB File Definition at line 120 of file reader_opb.c.
Definition at line 128 of file reader_opb.c. Function Documentationissues an error message and marks the OPB data to have errors
Definition at line 172 of file reader_opb.c. References NULL, SCIPerrorMessage, and TRUE. Referenced by getVariableOrTerm(), readCoefficients(), and readConstraints(). returns whether a syntax error was detected
Definition at line 195 of file reader_opb.c. References NULL. Referenced by readCoefficients(), readConstraints(), readOPBFile(), and setObjective().
returns whether the given character is a token delimiter
Definition at line 206 of file reader_opb.c. Referenced by getNextToken().
returns whether the given character is a single token
Definition at line 227 of file reader_opb.c. Referenced by getNextToken(), and getVariableOrTerm().
returns whether the current character is member of a value string
Definition at line 250 of file reader_opb.c. References FALSE, NULL, OPB_EXP_NONE, OPB_EXP_SIGNED, OPB_EXP_UNSIGNED, and TRUE. Referenced by getNextToken(). reads the next line from the input file into the line buffer; skips comments; returns whether a line could be read
Definition at line 294 of file reader_opb.c. References commentchars, FALSE, NULL, OPB_MAX_LINELEN, SCIPdebugMessage, SCIPfgets(), SCIPfseek(), SCIPwarningMessage(), and TRUE. Referenced by getNextToken().
swaps the addresses of two pointers
Definition at line 390 of file reader_opb.c. Referenced by getNextToken(), pushBufferToken(), pushToken(), and swapTokenBuffer(). reads the next token from the input file into the token buffer; returns whether a token was read
Definition at line 404 of file reader_opb.c. References FALSE, getNextLine(), isDelimChar(), isTokenChar(), isValueChar(), NULL, OPB_EXP_NONE, OPB_MAX_LINELEN, SCIP_Bool, SCIPdebugMessage, swapPointers(), and TRUE. Referenced by getVariableOrTerm(), readCoefficients(), and readConstraints().
puts the current token on the token stack, such that it is read at the next call to getNextToken()
Definition at line 510 of file reader_opb.c. References NULL, OPB_MAX_PUSHEDTOKENS, and swapPointers(). Referenced by getVariableOrTerm(), and readCoefficients().
puts the buffered token on the token stack, such that it is read at the next call to getNextToken()
Definition at line 523 of file reader_opb.c. References NULL, OPB_MAX_PUSHEDTOKENS, and swapPointers(). Referenced by readCoefficients().
swaps the current token with the token buffer
Definition at line 536 of file reader_opb.c. References NULL, and swapPointers(). Referenced by readCoefficients(). checks whether the current token is a section identifier, and if yes, switches to the corresponding section
Definition at line 547 of file reader_opb.c. References FALSE, NULL, and TRUE. Referenced by readCoefficients(), readConstraints(), and setObjective(). returns whether the current token is a sign
Definition at line 561 of file reader_opb.c. References FALSE, NULL, and TRUE. Referenced by readCoefficients(), and readConstraints(). returns whether the current token is a value
Definition at line 588 of file reader_opb.c. References FALSE, NULL, SCIPinfinity(), and TRUE. Referenced by readCoefficients(), and readConstraints(). returns whether the current token is an equation sense
Definition at line 622 of file reader_opb.c. References FALSE, NULL, OPB_SENSE_EQ, OPB_SENSE_GE, OPB_SENSE_LE, and TRUE. Referenced by readCoefficients(), and readConstraints(). returns whether the current token is a value
Definition at line 653 of file reader_opb.c. References FALSE, NULL, and TRUE. Referenced by readCoefficients(). returns whether the current token is a value
Definition at line 669 of file reader_opb.c. References FALSE, NULL, and TRUE. Referenced by readCoefficients().
create binary variable with given name
Definition at line 685 of file reader_opb.c. References NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_BINARY, SCIPaddVar(), SCIPcreateVar(), SCIPdebugMessage, SCIPgetBoolParam(), and SCIPreleaseVar(). Referenced by getVariableOrTerm(), and readConstraints().
returns the variable with the given name, or creates a new variable if it does not exist
Definition at line 717 of file reader_opb.c. References createVariable(), FALSE, getNextToken(), isTokenChar(), NULL, pushToken(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPcalcMemGrowSize(), SCIPfindVar(), SCIPgetNegatedVar(), SCIPreallocBufferArray, syntaxError(), and TRUE. Referenced by readCoefficients().
reads an objective or constraint with name and coefficients
Definition at line 793 of file reader_opb.c. References FALSE, getNextToken(), getVariableOrTerm(), hasError(), isEndingSoftConstraintWeight(), isEndLine(), isSense(), isSign(), isStartingSoftConstraintWeight(), isValue(), NULL, OPB_INIT_COEFSSIZE, pushBufferToken(), pushToken(), SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPcalcMemGrowSize(), SCIPdebugMessage, SCIPdebugPrintf, SCIPfeof(), SCIPfreeBufferArray, SCIPgetNConss(), SCIPgetNVars(), SCIPisIntegral(), SCIPisZero(), SCIPmemccpy(), SCIPreallocBufferArray, SCIPvarGetName(), SCIPwarningMessage(), swapTokenBuffer(), syntaxError(), and TRUE. Referenced by readConstraints().
set the objective section
Definition at line 1146 of file reader_opb.c. References ARTIFICIALVARNAMEPREFIX, FALSE, hasError(), isEndLine(), NULL, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OBJSENSE_MAXIMIZE, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPaddCons(), SCIPaddOrigObjoffset(), SCIPaddVar(), SCIPchgVarBranchPriority(), SCIPchgVarObj(), SCIPcreateConsAnd(), SCIPcreateConsPseudoboolean(), SCIPcreateVar(), SCIPdebugAddSolVal, SCIPdebugGetSolVal, SCIPdebugPrintCons, SCIPisFeasEQ(), SCIPisFeasGE(), SCIPisFeasLE(), SCIPisFeasZero(), SCIPreleaseCons(), SCIPreleaseVar(), SCIPsnprintf(), SCIPvarGetNegationVar(), SCIPvarGetObj(), SCIPvarIsNegated(), and TRUE. Referenced by readConstraints().
reads the constraints section
Definition at line 1348 of file reader_opb.c. References createVariable(), FALSE, getNextToken(), hasError(), INDICATORVARNAME, isEndLine(), isSense(), isSign(), isValue(), NULL, OPB_MAX_LINELEN, OPB_SENSE_EQ, OPB_SENSE_GE, OPB_SENSE_LE, OPB_SENSE_NOTHING, readCoefficients(), READER_NAME, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_Real, SCIPaddCons(), SCIPchgVarObj(), SCIPcreateConsLinear(), SCIPcreateConsPseudoboolean(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPerrorMessage, SCIPfreeBufferArrayNull, SCIPgetBoolParam(), SCIPinfinity(), SCIPisInfinity(), SCIPreleaseCons(), SCIPsnprintf(), setObjective(), syntaxError(), and TRUE. Referenced by readOPBFile().
tries to read the first comment line which usually contains information about the max size of "and" products
Definition at line 1564 of file reader_opb.c. References commentchars, delimchars, FALSE, NULL, SCIP_Bool, SCIP_OKAY, SCIPdebugMessage, SCIPfclose(), SCIPfeof(), SCIPfgets(), SCIPfopen(), SCIPfseek(), and TRUE. Referenced by readOPBFile().
reads an OPB file
Definition at line 1648 of file reader_opb.c. References BMSclearMemoryArray, FALSE, getMaxAndConsDim(), hasError(), NULL, OPB_MAX_LINELEN, readConstraints(), SCIP_CALL, SCIP_Longint, SCIP_NOFILE, SCIP_OKAY, SCIP_Real, SCIPaddCons(), SCIPallocBufferArray, SCIPcreateConsLinear(), SCIPcreateProb(), SCIPdebugPrintCons, SCIPerrorMessage, SCIPfclose(), SCIPfeof(), SCIPfloor(), SCIPfopen(), SCIPfreeBufferArray, SCIPgetNVars(), SCIPgetVars(), SCIPinfinity(), SCIPisIntegral(), SCIPisZero(), SCIPprintSysError(), SCIPreleaseCons(), SCIPvarGetObj(), TOPCOSTCONSNAME, and TRUE. Referenced by SCIPreadOpb().
transforms given and constraint variables to the corresponding active or negated variables
Definition at line 1742 of file reader_opb.c. References NULL, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPgetBinvarRepresentative(), SCIPgetNegatedVar(), SCIPisEQ(), SCIPisZero(), and SCIPvarGetOrigvarSum(). Referenced by computeAndConstraintInfos().
transforms given variables, scalars, and constant to the corresponding active variables, scalars, and constant
Definition at line 1806 of file reader_opb.c. References NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPgetProbvarLinearSum(), SCIPreallocBufferArray, SCIPvarGetOrigvarSum(), and TRUE. Referenced by printLinearCons(), printNonLinearCons(), and printPseudobooleanCons().
Definition at line 1851 of file reader_opb.c. References FALSE, getBinVarsRepresentatives(), NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPallocBufferArray, SCIPallocMemoryArray, SCIPconsGetHdlr(), SCIPconshdlrGetConss(), SCIPconshdlrGetName(), SCIPconshdlrGetNConss(), SCIPdebug, SCIPdebugMessage, SCIPduplicateMemoryArray, SCIPfindConshdlr(), SCIPfreeBufferArray, SCIPgetNOrigConss(), SCIPgetNVarsAnd(), SCIPgetOrigConss(), SCIPgetResultantAnd(), SCIPgetVarsAnd(), SCIPprintVar(), SCIPreallocMemoryArray, SCIPsortedvecFindPtr(), SCIPsortPtrPtrInt(), SCIPwarningMessage(), and TRUE.
clears the given line buffer
Definition at line 2048 of file reader_opb.c. References NULL. Referenced by printNLRow(), printPBRow(), printRow(), writeBuffer(), writeOpbObjective(), and writeOpbRelevantAnds().
ends the given line with '\0' and prints it to the given file stream
Definition at line 2063 of file reader_opb.c. References clearBuffer(), NULL, and SCIPinfoMessage(). Referenced by appendBuffer(), printNLRow(), printPBRow(), printRow(), writeOpbObjective(), and writeOpbRelevantAnds().
appends extension to line and prints it to the give file stream if the line buffer get full
Definition at line 2085 of file reader_opb.c. References NULL, OPB_MAX_LINELEN, and writeBuffer(). Referenced by printNLRow(), printPBRow(), printRow(), writeOpbObjective(), and writeOpbRelevantAnds().
write objective function
Definition at line 2108 of file reader_opb.c. References appendBuffer(), clearBuffer(), FALSE, INDICATORVARNAME, NULL, OPB_MAX_LINELEN, SCIP_Bool, SCIP_INVALIDDATA, SCIP_Longint, SCIP_LONGINT_MAX, SCIP_OBJSENSE_MAXIMIZE, SCIP_OKAY, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPconsGetHdlr(), SCIPconshdlrGetConss(), SCIPconshdlrGetName(), SCIPconshdlrGetNConss(), SCIPdebugMessage, SCIPerrorMessage, SCIPfindCons(), SCIPfindConshdlr(), SCIPgetCapacityKnapsack(), SCIPgetNVarsKnapsack(), SCIPgetNVarsLinear(), SCIPgetNVarsSetppc(), SCIPgetRhsLinear(), SCIPgetVarsKnapsack(), SCIPgetVarsLinear(), SCIPgetVarsSetppc(), SCIPinfoMessage(), SCIPisIntegral(), SCIPisZero(), SCIPround(), SCIPsnprintf(), SCIPsortedvecFindPtr(), SCIPvarGetIndex(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarIsNegated(), TOPCOSTCONSNAME, TRUE, and writeBuffer(). Referenced by writeOpb().
Definition at line 2478 of file reader_opb.c. References appendBuffer(), clearBuffer(), NULL, OPB_MAX_LINELEN, SCIP_Bool, SCIP_INVALIDDATA, SCIP_Longint, SCIP_LONGINT_MAX, SCIP_OKAY, SCIPerrorMessage, SCIPinfoMessage(), SCIPisIntegral(), SCIPisZero(), SCIPround(), SCIPsnprintf(), SCIPsortedvecFindPtr(), SCIPvarGetIndex(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarIsNegated(), and writeBuffer(). Referenced by printNonLinearCons().
prints given maybe non-linear constraint information in OPB format to file stream
Definition at line 2612 of file reader_opb.c. References getActiveVariables(), NULL, printNLRow(), SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPisEQ(), and SCIPisInfinity(). Referenced by writeOpbConstraints().
Definition at line 2710 of file reader_opb.c. References appendBuffer(), clearBuffer(), INDICATORVARNAME, NULL, OPB_MAX_LINELEN, SCIP_Bool, SCIP_INVALIDDATA, SCIP_Longint, SCIP_LONGINT_MAX, SCIP_OKAY, SCIPerrorMessage, SCIPinfoMessage(), SCIPisIntegral(), SCIPisZero(), SCIPround(), SCIPsnprintf(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarIsNegated(), and writeBuffer(). Referenced by printLinearCons().
prints given linear constraint information in OPB format to file stream
Definition at line 2805 of file reader_opb.c. References getActiveVariables(), NULL, printRow(), SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPisEQ(), and SCIPisInfinity(). Referenced by writeOpbConstraints().
Definition at line 2894 of file reader_opb.c. References appendBuffer(), clearBuffer(), INDICATORVARNAME, NULL, OPB_MAX_LINELEN, SCIP_Bool, SCIP_INVALIDDATA, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPinfoMessage(), SCIPisIntegral(), SCIPisZero(), SCIPround(), SCIPsnprintf(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarGetObj(), SCIPvarIsNegated(), and writeBuffer(). Referenced by printPseudobooleanCons().
prints given pseudo boolean constraint information in OPB format to file stream
Definition at line 3031 of file reader_opb.c. References BMSclearMemoryArray, getActiveVariables(), NULL, printPBRow(), SCIP_Bool, SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPgetBinvarRepresentatives(), SCIPisEQ(), and SCIPisInfinity(). Referenced by writeOpbConstraints().
Definition at line 3184 of file reader_opb.c. References FALSE, HASHTABLESIZE_FACTOR, NULL, printLinearCons(), printNonLinearCons(), printPseudobooleanCons(), SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIP_SETPPCTYPE_COVERING, SCIP_SETPPCTYPE_PACKING, SCIP_SETPPCTYPE_PARTITIONING, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARTYPE_BINARY, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconshdlrGetConss(), SCIPconshdlrGetName(), SCIPconshdlrGetNConss(), SCIPconsIsEnabled(), SCIPconsIsTransformed(), SCIPduplicateBufferArray, SCIPerrorMessage, SCIPfindConshdlr(), SCIPfreeBufferArray, SCIPgetAndDatasPseudoboolean(), SCIPgetBinaryVarIndicator(), SCIPgetCapacityKnapsack(), SCIPgetIndVarPseudoboolean(), SCIPgetLhsLinear(), SCIPgetLhsPseudoboolean(), SCIPgetLhsVarbound(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetLinearConsIndicator(), SCIPgetLinearConsPseudoboolean(), SCIPgetNAndsPseudoboolean(), SCIPgetNLinVarsWithoutAndPseudoboolean(), SCIPgetNVarsAnd(), SCIPgetNVarsKnapsack(), SCIPgetNVarsLinear(), SCIPgetNVarsLogicor(), SCIPgetNVarsSetppc(), SCIPgetRhsLinear(), SCIPgetRhsPseudoboolean(), SCIPgetRhsVarbound(), SCIPgetSlackVarIndicator(), SCIPgetTypeSetppc(), SCIPgetValsLinear(), SCIPgetVarsAnd(), SCIPgetVarsKnapsack(), SCIPgetVarsLinear(), SCIPgetVarsLogicor(), SCIPgetVarsSetppc(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetWeightsKnapsack(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPhashmapInsert(), SCIPinfinity(), SCIPinfoMessage(), SCIPisGT(), SCIPprintCons(), SCIPvarGetNegationVar(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetType(), SCIPwarningMessage(), and TRUE. Referenced by writeOpb().
Definition at line 3735 of file reader_opb.c. References appendBuffer(), clearBuffer(), FALSE, NULL, OPB_MAX_LINELEN, SCIP_Bool, SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIPgetBinvarRepresentative(), SCIPisFeasIntegral(), SCIPsnprintf(), SCIPsortedvecFindPtr(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarGetUbLocal(), SCIPvarIsActive(), SCIPvarIsNegated(), TRUE, and writeBuffer(). Referenced by writeOpb().
Definition at line 3957 of file reader_opb.c. References NULL, OPB_MAX_LINELEN, READER_NAME, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_SUCCESS, SCIPgetBoolParam(), SCIPinfoMessage(), SCIPsnprintf(), writeOpbConstraints(), writeOpbObjective(), and writeOpbRelevantAnds().
reads problem from file
Definition at line 4024 of file reader_opb.c. References FALSE, NULL, OPB_MAX_LINELEN, OPB_MAX_PUSHEDTOKENS, readOPBFile(), SCIP_CALL, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_READERROR, SCIP_SUCCESS, SCIPallocBufferArray, SCIPfreeBufferArrayNull, SCIPinfinity(), SCIPsetObjsense(), and SCIPwarningMessage(). Referenced by SCIP_DECL_READERREAD().
writes problem to file
Definition at line 4096 of file reader_opb.c. Referenced by SCIP_DECL_READERWRITE().
copy method for reader plugins (called when SCIP copies plugins) Definition at line 4273 of file reader_opb.c. References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderOpb(), and SCIPreaderGetName().
problem reading method of reader Definition at line 4288 of file reader_opb.c. References SCIP_CALL, SCIP_OKAY, and SCIPreadOpb().
problem writing method of reader Definition at line 4299 of file reader_opb.c. References SCIP_CALL, SCIP_OKAY, and SCIPwriteOpb().
includes the opb file reader in SCIP
Definition at line 4313 of file reader_opb.c. References FALSE, NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPincludeReaderBasic(), SCIPsetReaderCopy(), SCIPsetReaderRead(), SCIPsetReaderWrite(), and TRUE. Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins(). Variable Documentation
Definition at line 165 of file reader_opb.c. Referenced by getMaxAndConsDim(), and getNextLine(). |