All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Description
Macro Definition Documentation
Definition at line 4981 of file pub_misc.h. Referenced by addConcaveEstimatorBivariate(), addConcaveEstimatorMultivariate(), addConcaveEstimatorUnivariate(), addIntervalGradientEstimator(), addLinearization(), computeViolation(), generate1ConvexIndefiniteUnderestimator(), generate1ConvexIndefiniteUnderestimatorAtBoundary(), generate1ConvexIndefiniteUnderestimatorInTheInteriorPatternA(), generate1ConvexIndefiniteUnderestimatorInTheInteriorPatternB(), generateConvexConcaveEstimator(), generateConvexConcaveUnderestimator(), generateEstimatingHyperplane(), generateLinearizationCut(), generateOrthogonal_lx_ly_Underestimator(), generateOrthogonal_lx_uy_Underestimator(), generateOverestimatingHyperplaneCut(), generateUnderestimatorParallelYFacets(), lifting(), readExpression(), readLinearCoefs(), readMultIncr(), and solveDerivativeEquation(). Function Documentation
calculates the greatest common divisor of the two given values
Definition at line 6586 of file misc.c. Referenced by deleteRedundantVars(), normalizeCons(), normalizeCumulativeCondition(), normalizeWeights(), presolveTryAddLinearReform(), SCIPcalcIntegralScalar(), SCIPcalcSmaComMul(), SCIPprobScaleObj(), SCIProwCalcIntegralScalar(), SCIPsolveKnapsackExactly(), simplifyInequalities(), and tryAggregateIntVars().
calculates the smallest common multiple of the two given values
Definition at line 6697 of file misc.c. References SCIP_Longint, and SCIPcalcGreComDiv(). Referenced by normalizeCons(), and tryAggregateIntVars().
converts a real number into a (approximate) rational representation, and returns TRUE iff the conversion was successful
Definition at line 6718 of file misc.c. References EPSFLOOR, EPSGT, FALSE, MIN, NULL, REALABS, SCIP_Longint, SCIP_LONGINT_MAX, SCIP_Real, and TRUE. Referenced by normalizeCons(), prettifyConss(), SCIPcalcIntegralScalar(), SCIPfindSimpleRational(), SCIProwCalcIntegralScalar(), and tryAggregateIntVars().
tries to find a value, such that all given values, if scaled with this value become integral in relative allowed difference in between mindelta and maxdelta
Definition at line 6878 of file misc.c. References EPSEQ, FALSE, isIntegralScalar(), MIN, nscalars, NULL, REALABS, SCIP_Bool, SCIP_DEFAULT_EPSILON, SCIP_INVALID, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIP_REAL_MAX, SCIPcalcGreComDiv(), SCIPdebugMessage, SCIPrealToRational(), and TRUE. Referenced by getFlowCover(), getRelevantRows(), SCIPprobScaleObj(), and SCIPseparateRelaxedKnapsack().
given a (usually very small) interval, tries to find a rational number with simple denominator (i.e. a small number, probably multiplied with powers of 10) out of this interval; returns TRUE iff a valid rational number inside the interval was found
Definition at line 7082 of file misc.c. References SCIP_Real, SCIPintervalGetRoundingMode(), SCIPintervalHasRoundingControl(), SCIPintervalSetRoundingMode(), SCIPintervalSetRoundingModeDownwards(), and SCIPrealToRational(). Referenced by SCIPselectSimpleValue().
given a (usually very small) interval, selects a value inside this interval; it is tried to select a rational number with simple denominator (i.e. a small number, probably multiplied with powers of 10); if no valid rational number inside the interval was found, selects the central value of the interval
Definition at line 7123 of file misc.c. References MAX, SCIP_Bool, SCIP_Longint, SCIP_Real, SCIPdebugMessage, SCIPdebugPrintf, and SCIPfindSimpleRational(). Referenced by convertUnaryEquality(), fixVariables(), presolveTryAddLinearReform(), SCIP_DECL_PRESOLEXEC(), and SCIPanalyzeDeductionsProbing(). returns the relative difference: (val1-val2)/max(|val1|,|val2|,1.0)
Definition at line 7851 of file misc.c. References REALABS, and SCIP_Real. Referenced by getIntegralVal(), isIntegralScalar(), priceAndCutLoop(), SCIPbranchGetBranchingPoint(), SCIPexprgraphSimplify(), SCIPexprtreeSimplify(), SCIPsetIsFeasEQ(), SCIPsetIsFeasGE(), SCIPsetIsFeasGT(), SCIPsetIsFeasLE(), SCIPsetIsFeasLT(), SCIPsetIsRelEQ(), SCIPsetIsRelGE(), SCIPsetIsRelGT(), SCIPsetIsRelLE(), SCIPsetIsRelLT(), SCIPsetIsSumRelEQ(), SCIPsetIsSumRelGE(), SCIPsetIsSumRelGT(), SCIPsetIsSumRelLE(), SCIPsetIsSumRelLT(), SCIPtreeBranchVar(), and SCIPtreeBranchVarNary(). |