reader_pip.c File Reference Detailed Descriptionfile reader for polynomial mixed-integer programs in PIP format Definition in file reader_pip.c. #include <stdlib.h> #include <assert.h> #include <string.h> #include <strings.h> #include <ctype.h> #include "scip/reader_pip.h" #include "scip/cons_knapsack.h" #include "scip/cons_linear.h" #include "scip/cons_logicor.h" #include "scip/cons_setppc.h" #include "scip/cons_varbound.h" #include "scip/cons_quadratic.h" #include "scip/cons_nonlinear.h" #include "scip/cons_abspower.h" #include "scip/cons_and.h" #include "scip/cons_bivariate.h" #include "scip/pub_misc.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 46 of file reader_pip.c. Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeReaderPip().
Definition at line 47 of file reader_pip.c. Referenced by SCIPincludeReaderPip().
Definition at line 48 of file reader_pip.c. Referenced by SCIPincludeReaderPip().
Definition at line 54 of file reader_pip.c. Referenced by getNextLine(), getNextToken(), readConstraints(), readObjective(), readPolynomial(), and SCIPreadPip().
Definition at line 55 of file reader_pip.c. Referenced by pushBufferToken(), pushToken(), and SCIPreadPip().
Definition at line 56 of file reader_pip.c. Referenced by readPolynomial().
Definition at line 57 of file reader_pip.c. Referenced by readPolynomial().
Definition at line 58 of file reader_pip.c. Referenced by readPolynomial().
the maximum length of any line is 560 + '\0' = 561 Definition at line 59 of file reader_pip.c. Referenced by appendLine(), printRow(), printRowNl(), and SCIPwritePip().
the maximum length for any name is 255 + '\0' = 256 Definition at line 60 of file reader_pip.c. Referenced by checkConsnames(), checkVarnames(), printAggregatedCons(), printRow(), printRowNl(), and SCIPwritePip().
Definition at line 61 of file reader_pip.c. Referenced by appendLine(). Typedef Documentation
Definition at line 74 of file reader_pip.c.
Definition at line 82 of file reader_pip.c. Definition at line 91 of file reader_pip.c.
Definition at line 114 of file reader_pip.c. Enumeration Type Documentation
Section in PIP File
Definition at line 64 of file reader_pip.c.
Definition at line 76 of file reader_pip.c.
Definition at line 84 of file reader_pip.c. Function Documentationissues an error message and marks the PIP data to have errors
Definition at line 127 of file reader_pip.c. References NULL, PIP_END, SCIP_VERBLEVEL_MINIMAL, SCIPerrorMessage, SCIPsnprintf(), SCIPverbMessage(), and TRUE. Referenced by readBinaries(), readBounds(), readConstraints(), readGenerals(), and readPolynomial(). returns whether a syntax error was detected
Definition at line 154 of file reader_pip.c. References NULL. Referenced by readConstraints(), readObjective(), and readPIPFile().
returns whether the given character is a token delimiter
Definition at line 165 of file reader_pip.c. References delimchars, and NULL. Referenced by getNextToken().
returns whether the given character is a single token
Definition at line 174 of file reader_pip.c. References NULL, and tokenchars. Referenced by getNextToken().
returns whether the current character is member of a value string
Definition at line 183 of file reader_pip.c. References FALSE, NULL, PIP_EXP_NONE, PIP_EXP_SIGNED, PIP_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 227 of file reader_pip.c. References BMSclearMemoryArray, commentchars, FALSE, NULL, PIP_MAX_LINELEN, SCIPerrorMessage, SCIPfgets(), and TRUE. Referenced by getNextToken().
swaps the addresses of two pointers
Definition at line 271 of file reader_pip.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 285 of file reader_pip.c. References FALSE, getNextLine(), isDelimChar(), isTokenChar(), isValueChar(), NULL, PIP_END, PIP_EXP_NONE, PIP_MAX_LINELEN, SCIP_Bool, SCIPdebugMessage, swapPointers(), and TRUE. Referenced by isNewSection(), readBinaries(), readBounds(), readConstraints(), readGenerals(), readPolynomial(), and readStart().
puts the current token on the token stack, such that it is read at the next call to getNextToken()
Definition at line 384 of file reader_pip.c. References NULL, PIP_MAX_PUSHEDTOKENS, and swapPointers(). Referenced by isNewSection(), readBounds(), and readPolynomial().
puts the buffered token on the token stack, such that it is read at the next call to getNextToken()
Definition at line 397 of file reader_pip.c. References NULL, PIP_MAX_PUSHEDTOKENS, and swapPointers(). Referenced by readPolynomial().
swaps the current token with the token buffer
Definition at line 410 of file reader_pip.c. References NULL, and swapPointers(). Referenced by isNewSection(), and readPolynomial(). checks whether the current token is a section identifier, and if yes, switches to the corresponding section
Definition at line 421 of file reader_pip.c. References FALSE, getNextToken(), NULL, PIP_BINARIES, PIP_BOUNDS, PIP_CONSTRAINTS, PIP_END, PIP_GENERALS, PIP_OBJECTIVE, pushToken(), SCIP_Bool, SCIP_OBJSENSE_MAXIMIZE, SCIP_OBJSENSE_MINIMIZE, SCIPdebugMessage, swapTokenBuffer(), and TRUE. Referenced by readBinaries(), readBounds(), readGenerals(), readPolynomial(), and readStart(). returns whether the current token is a sign
Definition at line 554 of file reader_pip.c. References FALSE, NULL, and TRUE. Referenced by readBounds(), readConstraints(), and readPolynomial(). returns whether the current token is a value
Definition at line 579 of file reader_pip.c. References FALSE, NULL, SCIPinfinity(), and TRUE. Referenced by readBounds(), readConstraints(), and readPolynomial(). returns whether the current token is an equation sense
Definition at line 611 of file reader_pip.c. References FALSE, NULL, PIP_SENSE_EQ, PIP_SENSE_GE, PIP_SENSE_LE, and TRUE. Referenced by readBounds(), readConstraints(), and readPolynomial().
returns the variable with the given name, or creates a new variable if it does not exist
Definition at line 642 of file reader_pip.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_CONTINUOUS, SCIPaddVar(), SCIPcreateVar(), SCIPdebugMessage, SCIPfindVar(), SCIPinfinity(), SCIPreleaseVar(), and TRUE. Referenced by readBinaries(), readBounds(), readGenerals(), and readPolynomial().
reads the header of the file
Definition at line 681 of file reader_pip.c. References getNextToken(), isNewSection(), NULL, and SCIP_OKAY. Referenced by readPIPFile().
ensure that an array of monomials can hold a minimum number of entries
Definition at line 702 of file reader_pip.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPcalcMemGrowSize(), and SCIPreallocBufferArray. Referenced by readPolynomial().
ensure that arrays of exponents and variable indices can hold a minimum number of entries
Definition at line 736 of file reader_pip.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPcalcMemGrowSize(), and SCIPreallocBufferArray. Referenced by readPolynomial().
gives index of variable in vars array, inserts it at the end if not existing yet
Definition at line 776 of file reader_pip.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPcalcMemGrowSize(), SCIPhashmapExists(), SCIPhashmapGetImage(), SCIPhashmapInsert(), and SCIPreallocBufferArray. Referenced by readPolynomial().
reads an objective or constraint with name and coefficients
Definition at line 834 of file reader_pip.c. References ensureFactorsSize(), ensureMonomialsSize(), FALSE, getNextToken(), getVariable(), getVariableIndex(), isNewSection(), isSense(), isSign(), isValue(), NULL, PIP_INIT_FACTORSSIZE, PIP_INIT_MONOMIALSSIZE, PIP_INIT_VARSSIZE, PIP_MAX_LINELEN, pushBufferToken(), pushToken(), SCIP_Bool, SCIP_CALL, SCIP_EXPR_DEGREEINFINITY, SCIP_EXPR_VARIDX, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPdebug, SCIPdebugMessage, SCIPdebugPrintf, SCIPexprCreate(), SCIPexprCreateMonomial(), SCIPexprCreatePolynomial(), SCIPexprtreeCreate(), SCIPexprtreePrintWithNames(), SCIPexprtreeSetVars(), SCIPfreeBufferArray, SCIPgetMessagehdlr(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPisIntegral(), SCIPvarGetName(), swapTokenBuffer(), syntaxError(), and TRUE. Referenced by readConstraints(), and readObjective().
given an expression tree that holds a polynomial expression of degree at most two, gives the coefficients of the constant, linear, and quadratic part of this expression
Definition at line 1139 of file reader_pip.c. References NULL, SCIP_EXPR_POLYNOMIAL, SCIP_EXPR_VARIDX, SCIPexprGetChildren(), SCIPexprGetMonomialChildIndices(), SCIPexprGetMonomialCoef(), SCIPexprGetMonomialExponents(), SCIPexprGetMonomialNFactors(), SCIPexprGetMonomials(), SCIPexprGetNChildren(), SCIPexprGetNMonomials(), SCIPexprGetOperator(), SCIPexprGetOpIndex(), SCIPexprGetPolynomialConstant(), SCIPexprtreeGetNVars(), SCIPexprtreeGetRoot(), and SCIPexprtreeGetVars(). Referenced by readConstraints(), and readObjective().
reads the objective section
Definition at line 1239 of file reader_pip.c. References FALSE, getLinearAndQuadraticCoefs(), hasError(), NULL, PIP_MAX_LINELEN, readPolynomial(), SCIP_Bool, SCIP_CALL, SCIP_EXPR_POLYNOMIAL, SCIP_EXPR_VARIDX, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_CONTINUOUS, SCIPaddCons(), SCIPaddLinearVarQuadratic(), SCIPaddVar(), SCIPallocBufferArray, SCIPchgVarObj(), SCIPconsGetName(), SCIPcreateConsNonlinear(), SCIPcreateConsQuadratic(), SCIPcreateVar(), SCIPcreateVarBasic(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPexprGetChildren(), SCIPexprGetMonomialChildIndices(), SCIPexprGetMonomialCoef(), SCIPexprGetMonomialExponents(), SCIPexprGetMonomialNFactors(), SCIPexprGetMonomials(), SCIPexprGetNChildren(), SCIPexprGetNMonomials(), SCIPexprGetOperator(), SCIPexprGetOpIndex(), SCIPexprGetPolynomialConstant(), SCIPexprtreeFree(), SCIPexprtreeGetNVars(), SCIPexprtreeGetRoot(), SCIPexprtreeGetVars(), SCIPfreeBufferArray, SCIPinfinity(), SCIPreleaseCons(), SCIPreleaseVar(), SCIPvarGetObj(), and TRUE. Referenced by readPIPFile().
reads the constraints section
Definition at line 1440 of file reader_pip.c. References FALSE, getLinearAndQuadraticCoefs(), getNextToken(), hasError(), isSense(), isSign(), isValue(), NULL, PIP_MAX_LINELEN, PIP_SENSE_EQ, PIP_SENSE_GE, PIP_SENSE_LE, PIP_SENSE_NOTHING, readPolynomial(), SCIP_Bool, SCIP_CALL, SCIP_CALL_TERMINATE, SCIP_EXPR_POLYNOMIAL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIPaddCons(), SCIPallocBufferArray, SCIPcreateConsLinear(), SCIPcreateConsNonlinear(), SCIPcreateConsQuadratic(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPerrorMessage, SCIPexprGetNMonomials(), SCIPexprGetOperator(), SCIPexprtreeFree(), SCIPexprtreeGetRoot(), SCIPfreeBufferArray, SCIPinfinity(), SCIPreleaseCons(), syntaxError(), and TRUE. Referenced by readPIPFile().
reads the bounds section
Definition at line 1639 of file reader_pip.c. References getNextToken(), getVariable(), isNewSection(), isSense(), isSign(), isValue(), NULL, PIP_SENSE_EQ, PIP_SENSE_GE, PIP_SENSE_LE, PIP_SENSE_NOTHING, pushToken(), SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIPchgVarLb(), SCIPchgVarUb(), SCIPdebugMessage, SCIPerrorMessage, SCIPinfinity(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetUbGlobal(), sign(), and syntaxError(). Referenced by readPIPFile().
reads the generals section
Definition at line 1810 of file reader_pip.c. References getNextToken(), getVariable(), isNewSection(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_INTEGER, SCIPchgVarType(), and syntaxError(). Referenced by readPIPFile().
reads the binaries section
Definition at line 1845 of file reader_pip.c. References getNextToken(), getVariable(), isNewSection(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_BINARY, SCIPchgVarLb(), SCIPchgVarType(), SCIPchgVarUb(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), and syntaxError(). Referenced by readPIPFile().
reads a PIP file
Definition at line 1889 of file reader_pip.c. References hasError(), NULL, PIP_BINARIES, PIP_BOUNDS, PIP_CONSTRAINTS, PIP_END, PIP_GENERALS, PIP_OBJECTIVE, PIP_START, readBinaries(), readBounds(), readConstraints(), readGenerals(), readObjective(), readStart(), SCIP_CALL, SCIP_INVALIDDATA, SCIP_NOFILE, SCIP_OKAY, SCIPcreateProb(), SCIPerrorMessage, SCIPfclose(), SCIPfopen(), and SCIPprintSysError(). Referenced by SCIPreadPip().
hash key retrieval function for variables Definition at line 1959 of file reader_pip.c.
returns TRUE iff the indices of both variables are equal Definition at line 1966 of file reader_pip.c.
returns the hash value of the key Definition at line 1975 of file reader_pip.c. References SCIPvarGetIndex().
transforms given variables, scalars, and constant to the corresponding active variables, scalars, and constant
Definition at line 1983 of file reader_pip.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPgetProbvarLinearSum(), SCIPreallocBufferArray, SCIPvarGetOrigvarSum(), and TRUE. Referenced by printAggregatedCons(), printNonlinearCons(), and printQuadraticCons().
clears the given line buffer
Definition at line 2024 of file reader_pip.c. References NULL. Referenced by endLine(), printRow(), printRowNl(), and SCIPwritePip().
ends the given line with '\0' and prints it to the given file stream
Definition at line 2038 of file reader_pip.c. References clearLine(), NULL, and SCIPinfoMessage(). Referenced by appendLine(), printRow(), printRowNl(), and SCIPwritePip().
appends extension to line and prints it to the give file stream if the line exceeded the length given in the define PIP_PRINTLEN
Definition at line 2060 of file reader_pip.c. References endLine(), NULL, PIP_MAX_PRINTLEN, PIP_PRINTLEN, and SCIPdebugMessage. Referenced by printRow(), printRowNl(), and SCIPwritePip().
Definition at line 2091 of file reader_pip.c. References appendLine(), clearLine(), endLine(), NULL, PIP_MAX_NAMELEN, PIP_MAX_PRINTLEN, SCIPisZero(), SCIPsnprintf(), and SCIPvarGetName(). Referenced by printAggregatedCons(), and printQuadraticCons().
Definition at line 2222 of file reader_pip.c. References appendLine(), clearLine(), SCIP_QuadElement::coef, endLine(), SCIP_QuadElement::idx1, SCIP_QuadElement::idx2, NULL, PIP_MAX_NAMELEN, PIP_MAX_PRINTLEN, SCIP_EXPR_CONST, SCIP_EXPR_INTPOWER, SCIP_EXPR_LINEAR, SCIP_EXPR_MINUS, SCIP_EXPR_MUL, SCIP_EXPR_PLUS, SCIP_EXPR_POLYNOMIAL, SCIP_EXPR_PRODUCT, SCIP_EXPR_QUADRATIC, SCIP_EXPR_REALPOWER, SCIP_EXPR_SQRT, SCIP_EXPR_SQUARE, SCIP_EXPR_SUM, SCIP_EXPR_VARIDX, SCIPerrorMessage, SCIPexprGetChildren(), SCIPexprGetIntPowerExponent(), SCIPexprGetLinearCoefs(), SCIPexprGetLinearConstant(), SCIPexprGetMonomialChildIndices(), SCIPexprGetMonomialCoef(), SCIPexprGetMonomialExponents(), SCIPexprGetMonomialNFactors(), SCIPexprGetMonomials(), SCIPexprGetNChildren(), SCIPexprGetNMonomials(), SCIPexprGetNQuadElements(), SCIPexprGetOperator(), SCIPexprGetOpIndex(), SCIPexprGetOpReal(), SCIPexprGetPolynomialConstant(), SCIPexprGetQuadConstant(), SCIPexprGetQuadElements(), SCIPexprGetQuadLinearCoefs(), SCIPexprGetRealPowerExponent(), SCIPexpropGetName(), SCIPexprtreeGetNVars(), SCIPexprtreeGetRoot(), SCIPexprtreeGetVars(), SCIPisZero(), SCIPsnprintf(), and SCIPvarGetName(). Referenced by printNonlinearCons().
prints given (linear or) quadratic constraint information in LP format to file stream
Definition at line 2576 of file reader_pip.c. References getActiveVariables(), NULL, printRow(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPisEQ(), and SCIPisInfinity(). Referenced by SCIPwritePip().
prints given nonlinear constraint information in LP format to file stream
Definition at line 2673 of file reader_pip.c. References getActiveVariables(), NULL, printRowNl(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPisEQ(), and SCIPisInfinity(). Referenced by SCIPwritePip().
check whether given variables are aggregated and put them into an array without duplication
Definition at line 2769 of file reader_pip.c. References SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIPhashtableExists(), SCIPhashtableInsert(), and SCIPvarGetStatus(). Referenced by SCIPwritePip().
print aggregated variable-constraints
Definition at line 2810 of file reader_pip.c. References getActiveVariables(), NULL, PIP_MAX_NAMELEN, printRow(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPsnprintf(), and SCIPvarGetName(). Referenced by SCIPwritePip(). method check if the variable names are not longer than PIP_MAX_NAMELEN
Definition at line 2863 of file reader_pip.c. References NULL, PIP_MAX_NAMELEN, SCIPvarGetName(), and SCIPwarningMessage(). Referenced by SCIPwritePip().
method check if the constraint names are not longer than PIP_MAX_NAMELEN
Definition at line 2888 of file reader_pip.c. References NULL, PIP_MAX_NAMELEN, SCIP_Real, SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconshdlrGetName(), SCIPconsIsEnabled(), SCIPconsIsTransformed(), SCIPgetLhsLinear(), SCIPisEQ(), and SCIPwarningMessage(). Referenced by SCIPwritePip().
writes problem to file
Definition at line 2942 of file reader_pip.c. References appendLine(), checkConsnames(), checkVarnames(), clearLine(), collectAggregatedVars(), endLine(), FALSE, NULL, PIP_MAX_NAMELEN, PIP_MAX_PRINTLEN, printAggregatedCons(), printNonlinearCons(), printQuadraticCons(), SCIP_Bool, SCIP_CALL, SCIP_EXPR_CONST, SCIP_EXPR_INTPOWER, SCIP_EXPR_LINEAR, SCIP_EXPR_MINUS, SCIP_EXPR_MUL, SCIP_EXPR_PLUS, SCIP_EXPR_POLYNOMIAL, SCIP_EXPR_PRODUCT, SCIP_EXPR_QUADRATIC, SCIP_EXPR_REALPOWER, SCIP_EXPR_SQRT, SCIP_EXPR_SQUARE, SCIP_EXPR_SUM, SCIP_EXPR_VARIDX, SCIP_Longint, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_Real, SCIP_SETPPCTYPE_COVERING, SCIP_SETPPCTYPE_PACKING, SCIP_SETPPCTYPE_PARTITIONING, SCIP_SUCCESS, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPallocBufferArray, SCIPblkmem(), SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconshdlrGetName(), SCIPconsIsEnabled(), SCIPconsIsTransformed(), SCIPexprCreate(), SCIPexprGetChildren(), SCIPexprGetIntPowerExponent(), SCIPexprGetMonomialExponents(), SCIPexprGetMonomialNFactors(), SCIPexprGetMonomials(), SCIPexprGetNChildren(), SCIPexprGetNMonomials(), SCIPexprGetOperator(), SCIPexprGetRealPowerExponent(), SCIPexpropGetName(), SCIPexprtreeCreate(), SCIPexprtreeFree(), SCIPexprtreeGetNVars(), SCIPexprtreeGetRoot(), SCIPexprtreeGetVars(), SCIPexprtreeSetVars(), SCIPfreeBufferArray, SCIPgetBilinTermsQuadratic(), SCIPgetCapacityKnapsack(), SCIPgetCoefLinearAbspower(), SCIPgetCoefsLinearVarsQuadratic(), SCIPgetExponentAbspower(), SCIPgetExprtreeBivariate(), SCIPgetExprtreeCoefsNonlinear(), SCIPgetExprtreesNonlinear(), SCIPgetLhsAbspower(), SCIPgetLhsBivariate(), SCIPgetLhsLinear(), SCIPgetLhsNonlinear(), SCIPgetLhsQuadratic(), SCIPgetLhsVarbound(), SCIPgetLinearCoefBivariate(), SCIPgetLinearCoefsNonlinear(), SCIPgetLinearVarAbspower(), SCIPgetLinearVarBivariate(), SCIPgetLinearVarsNonlinear(), SCIPgetLinearVarsQuadratic(), SCIPgetNBilinTermsQuadratic(), SCIPgetNExprtreesNonlinear(), SCIPgetNLinearVarsNonlinear(), SCIPgetNLinearVarsQuadratic(), SCIPgetNonlinearVarAbspower(), SCIPgetNQuadVarTermsQuadratic(), SCIPgetNVarsAnd(), SCIPgetNVarsKnapsack(), SCIPgetNVarsLinear(), SCIPgetNVarsLogicor(), SCIPgetNVarsSetppc(), SCIPgetOffsetAbspower(), SCIPgetQuadVarTermsQuadratic(), SCIPgetResultantAnd(), SCIPgetRhsAbspower(), SCIPgetRhsBivariate(), SCIPgetRhsLinear(), SCIPgetRhsNonlinear(), SCIPgetRhsQuadratic(), SCIPgetRhsVarbound(), SCIPgetTypeSetppc(), SCIPgetValsLinear(), SCIPgetVarsAnd(), SCIPgetVarsKnapsack(), SCIPgetVarsLinear(), SCIPgetVarsLogicor(), SCIPgetVarsSetppc(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetWeightsKnapsack(), SCIPhashtableCreate(), SCIPhashtableFree(), SCIPinfinity(), SCIPinfoMessage(), SCIPisInfinity(), SCIPisIntegral(), SCIPisNegative(), SCIPisPositive(), SCIPisZero(), SCIPprintCons(), SCIPround(), SCIPsnprintf(), SCIPvarGetLbGlobal(), SCIPvarGetLbLocal(), SCIPvarGetLbOriginal(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetType(), SCIPvarGetUbGlobal(), SCIPvarGetUbLocal(), SCIPvarGetUbOriginal(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_READERWRITE().
copy method for reader plugins (called when SCIP copies plugins) Definition at line 3694 of file reader_pip.c. References NULL, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderPip(), and SCIPreaderGetName().
problem reading method of reader Definition at line 3709 of file reader_pip.c. References SCIP_CALL, SCIP_OKAY, and SCIPreadPip().
problem writing method of reader Definition at line 3720 of file reader_pip.c. References SCIP_CALL, SCIP_OKAY, and SCIPwritePip().
includes the pip file reader in SCIP
Definition at line 3734 of file reader_pip.c. References NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeReaderBasic(), SCIPsetReaderCopy(), SCIPsetReaderRead(), and SCIPsetReaderWrite(). Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins().
reads problem from file
Definition at line 3757 of file reader_pip.c. References FALSE, NULL, PIP_MAX_LINELEN, PIP_MAX_PUSHEDTOKENS, PIP_START, readPIPFile(), SCIP_CALL, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIP_SUCCESS, SCIPallocMemoryArray, SCIPfreeMemoryArray, SCIPgetBoolParam(), and SCIPsetObjsense(). Referenced by SCIP_DECL_READERREAD(). Variable Documentation
Definition at line 116 of file reader_pip.c. Referenced by isDelimChar().
Definition at line 117 of file reader_pip.c. Referenced by isTokenChar().
Definition at line 118 of file reader_pip.c. Referenced by getNextLine(). |