ruby-cbc 0.1.9 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/Rakefile +0 -2
- data/lib/ruby-cbc.rb +1 -1
- data/lib/ruby-cbc/problem.rb +6 -8
- data/lib/ruby-cbc/version.rb +1 -1
- data/ruby-cbc.gemspec +3 -2
- metadata +17 -287
- data/ext/ruby-cbc/cbc.i +0 -15
- data/ext/ruby-cbc/cbc_wrap.c +0 -4618
- data/ext/ruby-cbc/extconf.rb +0 -60
- data/ext/ruby-cbc/install/bin/cbc +0 -0
- data/ext/ruby-cbc/install/bin/clp +0 -0
- data/ext/ruby-cbc/install/include/coin/CbcBranchActual.hpp +0 -24
- data/ext/ruby-cbc/install/include/coin/CbcBranchAllDifferent.hpp +0 -62
- data/ext/ruby-cbc/install/include/coin/CbcBranchBase.hpp +0 -78
- data/ext/ruby-cbc/install/include/coin/CbcBranchCut.hpp +0 -183
- data/ext/ruby-cbc/install/include/coin/CbcBranchDecision.hpp +0 -129
- data/ext/ruby-cbc/install/include/coin/CbcBranchDefaultDecision.hpp +0 -100
- data/ext/ruby-cbc/install/include/coin/CbcBranchDynamic.hpp +0 -206
- data/ext/ruby-cbc/install/include/coin/CbcBranchLotsize.hpp +0 -242
- data/ext/ruby-cbc/install/include/coin/CbcBranchToFixLots.hpp +0 -94
- data/ext/ruby-cbc/install/include/coin/CbcBranchingObject.hpp +0 -236
- data/ext/ruby-cbc/install/include/coin/CbcClique.hpp +0 -303
- data/ext/ruby-cbc/install/include/coin/CbcCompare.hpp +0 -39
- data/ext/ruby-cbc/install/include/coin/CbcCompareActual.hpp +0 -14
- data/ext/ruby-cbc/install/include/coin/CbcCompareBase.hpp +0 -142
- data/ext/ruby-cbc/install/include/coin/CbcCompareDefault.hpp +0 -120
- data/ext/ruby-cbc/install/include/coin/CbcCompareDepth.hpp +0 -47
- data/ext/ruby-cbc/install/include/coin/CbcCompareEstimate.hpp +0 -48
- data/ext/ruby-cbc/install/include/coin/CbcCompareObjective.hpp +0 -49
- data/ext/ruby-cbc/install/include/coin/CbcConfig.h +0 -14
- data/ext/ruby-cbc/install/include/coin/CbcConsequence.hpp +0 -49
- data/ext/ruby-cbc/install/include/coin/CbcCountRowCut.hpp +0 -168
- data/ext/ruby-cbc/install/include/coin/CbcCutGenerator.hpp +0 -482
- data/ext/ruby-cbc/install/include/coin/CbcCutModifier.hpp +0 -57
- data/ext/ruby-cbc/install/include/coin/CbcCutSubsetModifier.hpp +0 -66
- data/ext/ruby-cbc/install/include/coin/CbcDummyBranchingObject.hpp +0 -83
- data/ext/ruby-cbc/install/include/coin/CbcEventHandler.hpp +0 -245
- data/ext/ruby-cbc/install/include/coin/CbcFathom.hpp +0 -137
- data/ext/ruby-cbc/install/include/coin/CbcFathomDynamicProgramming.hpp +0 -169
- data/ext/ruby-cbc/install/include/coin/CbcFeasibilityBase.hpp +0 -56
- data/ext/ruby-cbc/install/include/coin/CbcFixVariable.hpp +0 -67
- data/ext/ruby-cbc/install/include/coin/CbcFollowOn.hpp +0 -207
- data/ext/ruby-cbc/install/include/coin/CbcFullNodeInfo.hpp +0 -161
- data/ext/ruby-cbc/install/include/coin/CbcGeneral.hpp +0 -60
- data/ext/ruby-cbc/install/include/coin/CbcGeneralDepth.hpp +0 -279
- data/ext/ruby-cbc/install/include/coin/CbcHeuristic.hpp +0 -682
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDINS.hpp +0 -96
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDW.hpp +0 -309
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDive.hpp +0 -192
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveCoefficient.hpp +0 -52
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveFractional.hpp +0 -52
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveGuided.hpp +0 -55
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveLineSearch.hpp +0 -52
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDivePseudoCost.hpp +0 -60
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveVectorLength.hpp +0 -52
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicFPump.hpp +0 -340
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicGreedy.hpp +0 -280
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicLocal.hpp +0 -271
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicPivotAndFix.hpp +0 -58
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicRENS.hpp +0 -77
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicRINS.hpp +0 -102
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicRandRound.hpp +0 -58
- data/ext/ruby-cbc/install/include/coin/CbcHeuristicVND.hpp +0 -94
- data/ext/ruby-cbc/install/include/coin/CbcLinked.hpp +0 -1406
- data/ext/ruby-cbc/install/include/coin/CbcMessage.hpp +0 -94
- data/ext/ruby-cbc/install/include/coin/CbcMipStartIO.hpp +0 -26
- data/ext/ruby-cbc/install/include/coin/CbcModel.hpp +0 -2952
- data/ext/ruby-cbc/install/include/coin/CbcNWay.hpp +0 -166
- data/ext/ruby-cbc/install/include/coin/CbcNode.hpp +0 -351
- data/ext/ruby-cbc/install/include/coin/CbcNodeInfo.hpp +0 -349
- data/ext/ruby-cbc/install/include/coin/CbcObject.hpp +0 -272
- data/ext/ruby-cbc/install/include/coin/CbcObjectUpdateData.hpp +0 -64
- data/ext/ruby-cbc/install/include/coin/CbcOrClpParam.cpp +0 -4134
- data/ext/ruby-cbc/install/include/coin/CbcOrClpParam.hpp +0 -532
- data/ext/ruby-cbc/install/include/coin/CbcParam.hpp +0 -324
- data/ext/ruby-cbc/install/include/coin/CbcPartialNodeInfo.hpp +0 -110
- data/ext/ruby-cbc/install/include/coin/CbcSOS.hpp +0 -279
- data/ext/ruby-cbc/install/include/coin/CbcSimpleInteger.hpp +0 -286
- data/ext/ruby-cbc/install/include/coin/CbcSimpleIntegerDynamicPseudoCost.hpp +0 -564
- data/ext/ruby-cbc/install/include/coin/CbcSimpleIntegerPseudoCost.hpp +0 -114
- data/ext/ruby-cbc/install/include/coin/CbcSolver.hpp +0 -447
- data/ext/ruby-cbc/install/include/coin/CbcStrategy.hpp +0 -258
- data/ext/ruby-cbc/install/include/coin/CbcSubProblem.hpp +0 -83
- data/ext/ruby-cbc/install/include/coin/CbcTree.hpp +0 -490
- data/ext/ruby-cbc/install/include/coin/CbcTreeLocal.hpp +0 -372
- data/ext/ruby-cbc/install/include/coin/Cbc_C_Interface.h +0 -381
- data/ext/ruby-cbc/install/include/coin/Cgl012cut.hpp +0 -464
- data/ext/ruby-cbc/install/include/coin/CglAllDifferent.hpp +0 -115
- data/ext/ruby-cbc/install/include/coin/CglClique.hpp +0 -308
- data/ext/ruby-cbc/install/include/coin/CglConfig.h +0 -19
- data/ext/ruby-cbc/install/include/coin/CglCutGenerator.hpp +0 -121
- data/ext/ruby-cbc/install/include/coin/CglDuplicateRow.hpp +0 -189
- data/ext/ruby-cbc/install/include/coin/CglFlowCover.hpp +0 -371
- data/ext/ruby-cbc/install/include/coin/CglGMI.hpp +0 -364
- data/ext/ruby-cbc/install/include/coin/CglGMIParam.hpp +0 -313
- data/ext/ruby-cbc/install/include/coin/CglGomory.hpp +0 -204
- data/ext/ruby-cbc/install/include/coin/CglKnapsackCover.hpp +0 -310
- data/ext/ruby-cbc/install/include/coin/CglLandP.hpp +0 -306
- data/ext/ruby-cbc/install/include/coin/CglLandPValidator.hpp +0 -130
- data/ext/ruby-cbc/install/include/coin/CglLiftAndProject.hpp +0 -104
- data/ext/ruby-cbc/install/include/coin/CglMessage.hpp +0 -50
- data/ext/ruby-cbc/install/include/coin/CglMixedIntegerRounding.hpp +0 -429
- data/ext/ruby-cbc/install/include/coin/CglMixedIntegerRounding2.hpp +0 -427
- data/ext/ruby-cbc/install/include/coin/CglOddHole.hpp +0 -160
- data/ext/ruby-cbc/install/include/coin/CglParam.hpp +0 -93
- data/ext/ruby-cbc/install/include/coin/CglPreProcess.hpp +0 -492
- data/ext/ruby-cbc/install/include/coin/CglProbing.hpp +0 -543
- data/ext/ruby-cbc/install/include/coin/CglRedSplit.hpp +0 -448
- data/ext/ruby-cbc/install/include/coin/CglRedSplit2.hpp +0 -494
- data/ext/ruby-cbc/install/include/coin/CglRedSplit2Param.hpp +0 -495
- data/ext/ruby-cbc/install/include/coin/CglRedSplitParam.hpp +0 -272
- data/ext/ruby-cbc/install/include/coin/CglResidualCapacity.hpp +0 -240
- data/ext/ruby-cbc/install/include/coin/CglSimpleRounding.hpp +0 -174
- data/ext/ruby-cbc/install/include/coin/CglStored.hpp +0 -125
- data/ext/ruby-cbc/install/include/coin/CglTreeInfo.hpp +0 -180
- data/ext/ruby-cbc/install/include/coin/CglTwomir.hpp +0 -565
- data/ext/ruby-cbc/install/include/coin/CglZeroHalf.hpp +0 -133
- data/ext/ruby-cbc/install/include/coin/ClpAmplObjective.hpp +0 -113
- data/ext/ruby-cbc/install/include/coin/ClpCholeskyBase.hpp +0 -294
- data/ext/ruby-cbc/install/include/coin/ClpCholeskyDense.hpp +0 -162
- data/ext/ruby-cbc/install/include/coin/ClpConfig.h +0 -17
- data/ext/ruby-cbc/install/include/coin/ClpConstraint.hpp +0 -125
- data/ext/ruby-cbc/install/include/coin/ClpConstraintAmpl.hpp +0 -108
- data/ext/ruby-cbc/install/include/coin/ClpConstraintLinear.hpp +0 -110
- data/ext/ruby-cbc/install/include/coin/ClpConstraintQuadratic.hpp +0 -119
- data/ext/ruby-cbc/install/include/coin/ClpDualRowDantzig.hpp +0 -71
- data/ext/ruby-cbc/install/include/coin/ClpDualRowPivot.hpp +0 -129
- data/ext/ruby-cbc/install/include/coin/ClpDualRowSteepest.hpp +0 -153
- data/ext/ruby-cbc/install/include/coin/ClpDummyMatrix.hpp +0 -183
- data/ext/ruby-cbc/install/include/coin/ClpDynamicExampleMatrix.hpp +0 -186
- data/ext/ruby-cbc/install/include/coin/ClpDynamicMatrix.hpp +0 -381
- data/ext/ruby-cbc/install/include/coin/ClpEventHandler.hpp +0 -187
- data/ext/ruby-cbc/install/include/coin/ClpFactorization.hpp +0 -432
- data/ext/ruby-cbc/install/include/coin/ClpGubDynamicMatrix.hpp +0 -247
- data/ext/ruby-cbc/install/include/coin/ClpGubMatrix.hpp +0 -358
- data/ext/ruby-cbc/install/include/coin/ClpInterior.hpp +0 -570
- data/ext/ruby-cbc/install/include/coin/ClpLinearObjective.hpp +0 -103
- data/ext/ruby-cbc/install/include/coin/ClpMatrixBase.hpp +0 -524
- data/ext/ruby-cbc/install/include/coin/ClpMessage.hpp +0 -131
- data/ext/ruby-cbc/install/include/coin/ClpModel.hpp +0 -1307
- data/ext/ruby-cbc/install/include/coin/ClpNetworkMatrix.hpp +0 -229
- data/ext/ruby-cbc/install/include/coin/ClpNode.hpp +0 -349
- data/ext/ruby-cbc/install/include/coin/ClpNonLinearCost.hpp +0 -401
- data/ext/ruby-cbc/install/include/coin/ClpObjective.hpp +0 -134
- data/ext/ruby-cbc/install/include/coin/ClpPackedMatrix.hpp +0 -638
- data/ext/ruby-cbc/install/include/coin/ClpParameters.hpp +0 -126
- data/ext/ruby-cbc/install/include/coin/ClpPdcoBase.hpp +0 -103
- data/ext/ruby-cbc/install/include/coin/ClpPlusMinusOneMatrix.hpp +0 -290
- data/ext/ruby-cbc/install/include/coin/ClpPresolve.hpp +0 -299
- data/ext/ruby-cbc/install/include/coin/ClpPrimalColumnDantzig.hpp +0 -72
- data/ext/ruby-cbc/install/include/coin/ClpPrimalColumnPivot.hpp +0 -155
- data/ext/ruby-cbc/install/include/coin/ClpPrimalColumnSteepest.hpp +0 -247
- data/ext/ruby-cbc/install/include/coin/ClpQuadraticObjective.hpp +0 -155
- data/ext/ruby-cbc/install/include/coin/ClpSimplex.hpp +0 -1797
- data/ext/ruby-cbc/install/include/coin/ClpSimplexDual.hpp +0 -300
- data/ext/ruby-cbc/install/include/coin/ClpSimplexNonlinear.hpp +0 -117
- data/ext/ruby-cbc/install/include/coin/ClpSimplexOther.hpp +0 -277
- data/ext/ruby-cbc/install/include/coin/ClpSimplexPrimal.hpp +0 -244
- data/ext/ruby-cbc/install/include/coin/ClpSolve.hpp +0 -446
- data/ext/ruby-cbc/install/include/coin/Clp_C_Interface.h +0 -525
- data/ext/ruby-cbc/install/include/coin/CoinAlloc.hpp +0 -176
- data/ext/ruby-cbc/install/include/coin/CoinBuild.hpp +0 -149
- data/ext/ruby-cbc/install/include/coin/CoinDenseFactorization.hpp +0 -419
- data/ext/ruby-cbc/install/include/coin/CoinDenseVector.hpp +0 -383
- data/ext/ruby-cbc/install/include/coin/CoinDistance.hpp +0 -48
- data/ext/ruby-cbc/install/include/coin/CoinError.hpp +0 -257
- data/ext/ruby-cbc/install/include/coin/CoinFactorization.hpp +0 -2044
- data/ext/ruby-cbc/install/include/coin/CoinFileIO.hpp +0 -166
- data/ext/ruby-cbc/install/include/coin/CoinFinite.hpp +0 -34
- data/ext/ruby-cbc/install/include/coin/CoinFloatEqual.hpp +0 -177
- data/ext/ruby-cbc/install/include/coin/CoinHelperFunctions.hpp +0 -1111
- data/ext/ruby-cbc/install/include/coin/CoinIndexedVector.hpp +0 -1164
- data/ext/ruby-cbc/install/include/coin/CoinLpIO.hpp +0 -805
- data/ext/ruby-cbc/install/include/coin/CoinMessage.hpp +0 -96
- data/ext/ruby-cbc/install/include/coin/CoinMessageHandler.hpp +0 -666
- data/ext/ruby-cbc/install/include/coin/CoinModel.hpp +0 -1054
- data/ext/ruby-cbc/install/include/coin/CoinModelUseful.hpp +0 -441
- data/ext/ruby-cbc/install/include/coin/CoinMpsIO.hpp +0 -1056
- data/ext/ruby-cbc/install/include/coin/CoinOslFactorization.hpp +0 -280
- data/ext/ruby-cbc/install/include/coin/CoinPackedMatrix.hpp +0 -947
- data/ext/ruby-cbc/install/include/coin/CoinPackedVector.hpp +0 -657
- data/ext/ruby-cbc/install/include/coin/CoinPackedVectorBase.hpp +0 -269
- data/ext/ruby-cbc/install/include/coin/CoinParam.hpp +0 -644
- data/ext/ruby-cbc/install/include/coin/CoinPragma.hpp +0 -26
- data/ext/ruby-cbc/install/include/coin/CoinPresolveDoubleton.hpp +0 -73
- data/ext/ruby-cbc/install/include/coin/CoinPresolveDual.hpp +0 -85
- data/ext/ruby-cbc/install/include/coin/CoinPresolveDupcol.hpp +0 -226
- data/ext/ruby-cbc/install/include/coin/CoinPresolveEmpty.hpp +0 -116
- data/ext/ruby-cbc/install/include/coin/CoinPresolveFixed.hpp +0 -181
- data/ext/ruby-cbc/install/include/coin/CoinPresolveForcing.hpp +0 -61
- data/ext/ruby-cbc/install/include/coin/CoinPresolveImpliedFree.hpp +0 -60
- data/ext/ruby-cbc/install/include/coin/CoinPresolveIsolated.hpp +0 -51
- data/ext/ruby-cbc/install/include/coin/CoinPresolveMatrix.hpp +0 -1842
- data/ext/ruby-cbc/install/include/coin/CoinPresolveMonitor.hpp +0 -105
- data/ext/ruby-cbc/install/include/coin/CoinPresolvePsdebug.hpp +0 -166
- data/ext/ruby-cbc/install/include/coin/CoinPresolveSingleton.hpp +0 -112
- data/ext/ruby-cbc/install/include/coin/CoinPresolveSubst.hpp +0 -101
- data/ext/ruby-cbc/install/include/coin/CoinPresolveTighten.hpp +0 -55
- data/ext/ruby-cbc/install/include/coin/CoinPresolveTripleton.hpp +0 -66
- data/ext/ruby-cbc/install/include/coin/CoinPresolveUseless.hpp +0 -63
- data/ext/ruby-cbc/install/include/coin/CoinPresolveZeros.hpp +0 -60
- data/ext/ruby-cbc/install/include/coin/CoinRational.hpp +0 -44
- data/ext/ruby-cbc/install/include/coin/CoinSearchTree.hpp +0 -465
- data/ext/ruby-cbc/install/include/coin/CoinShallowPackedVector.hpp +0 -148
- data/ext/ruby-cbc/install/include/coin/CoinSignal.hpp +0 -117
- data/ext/ruby-cbc/install/include/coin/CoinSimpFactorization.hpp +0 -431
- data/ext/ruby-cbc/install/include/coin/CoinSmartPtr.hpp +0 -528
- data/ext/ruby-cbc/install/include/coin/CoinSnapshot.hpp +0 -476
- data/ext/ruby-cbc/install/include/coin/CoinSort.hpp +0 -678
- data/ext/ruby-cbc/install/include/coin/CoinStructuredModel.hpp +0 -247
- data/ext/ruby-cbc/install/include/coin/CoinTime.hpp +0 -310
- data/ext/ruby-cbc/install/include/coin/CoinTypes.hpp +0 -64
- data/ext/ruby-cbc/install/include/coin/CoinUtility.hpp +0 -19
- data/ext/ruby-cbc/install/include/coin/CoinUtilsConfig.h +0 -34
- data/ext/ruby-cbc/install/include/coin/CoinWarmStart.hpp +0 -58
- data/ext/ruby-cbc/install/include/coin/CoinWarmStartBasis.hpp +0 -456
- data/ext/ruby-cbc/install/include/coin/CoinWarmStartDual.hpp +0 -166
- data/ext/ruby-cbc/install/include/coin/CoinWarmStartPrimalDual.hpp +0 -211
- data/ext/ruby-cbc/install/include/coin/CoinWarmStartVector.hpp +0 -488
- data/ext/ruby-cbc/install/include/coin/Coin_C_defines.h +0 -115
- data/ext/ruby-cbc/install/include/coin/Idiot.hpp +0 -298
- data/ext/ruby-cbc/install/include/coin/OsiAuxInfo.hpp +0 -206
- data/ext/ruby-cbc/install/include/coin/OsiBranchingObject.hpp +0 -1005
- data/ext/ruby-cbc/install/include/coin/OsiCbcSolverInterface.hpp +0 -764
- data/ext/ruby-cbc/install/include/coin/OsiChooseVariable.hpp +0 -534
- data/ext/ruby-cbc/install/include/coin/OsiClpSolverInterface.hpp +0 -1509
- data/ext/ruby-cbc/install/include/coin/OsiColCut.hpp +0 -324
- data/ext/ruby-cbc/install/include/coin/OsiCollections.hpp +0 -35
- data/ext/ruby-cbc/install/include/coin/OsiConfig.h +0 -19
- data/ext/ruby-cbc/install/include/coin/OsiCut.hpp +0 -245
- data/ext/ruby-cbc/install/include/coin/OsiCuts.hpp +0 -474
- data/ext/ruby-cbc/install/include/coin/OsiPresolve.hpp +0 -252
- data/ext/ruby-cbc/install/include/coin/OsiRowCut.hpp +0 -331
- data/ext/ruby-cbc/install/include/coin/OsiRowCutDebugger.hpp +0 -187
- data/ext/ruby-cbc/install/include/coin/OsiSolverBranch.hpp +0 -152
- data/ext/ruby-cbc/install/include/coin/OsiSolverInterface.hpp +0 -2143
- data/ext/ruby-cbc/install/include/coin/OsiSolverParameters.hpp +0 -142
- data/ext/ruby-cbc/install/include/coin/OsiUnitTests.hpp +0 -374
- data/ext/ruby-cbc/install/lib/libCbc.la +0 -35
- data/ext/ruby-cbc/install/lib/libCbc.so +0 -0
- data/ext/ruby-cbc/install/lib/libCbc.so.3 +0 -0
- data/ext/ruby-cbc/install/lib/libCbc.so.3.9.7 +0 -0
- data/ext/ruby-cbc/install/lib/libCbcSolver.la +0 -35
- data/ext/ruby-cbc/install/lib/libCbcSolver.so +0 -0
- data/ext/ruby-cbc/install/lib/libCbcSolver.so.3 +0 -0
- data/ext/ruby-cbc/install/lib/libCbcSolver.so.3.9.7 +0 -0
- data/ext/ruby-cbc/install/lib/libCgl.la +0 -35
- data/ext/ruby-cbc/install/lib/libCgl.so +0 -0
- data/ext/ruby-cbc/install/lib/libCgl.so.1 +0 -0
- data/ext/ruby-cbc/install/lib/libCgl.so.1.9.7 +0 -0
- data/ext/ruby-cbc/install/lib/libClp.la +0 -35
- data/ext/ruby-cbc/install/lib/libClp.so +0 -0
- data/ext/ruby-cbc/install/lib/libClp.so.1 +0 -0
- data/ext/ruby-cbc/install/lib/libClp.so.1.13.9 +0 -0
- data/ext/ruby-cbc/install/lib/libClpSolver.la +0 -35
- data/ext/ruby-cbc/install/lib/libClpSolver.so +0 -0
- data/ext/ruby-cbc/install/lib/libClpSolver.so.1 +0 -0
- data/ext/ruby-cbc/install/lib/libClpSolver.so.1.13.9 +0 -0
- data/ext/ruby-cbc/install/lib/libCoinUtils.la +0 -35
- data/ext/ruby-cbc/install/lib/libCoinUtils.so +0 -0
- data/ext/ruby-cbc/install/lib/libCoinUtils.so.3 +0 -0
- data/ext/ruby-cbc/install/lib/libCoinUtils.so.3.10.11 +0 -0
- data/ext/ruby-cbc/install/lib/libOsi.la +0 -35
- data/ext/ruby-cbc/install/lib/libOsi.so +0 -0
- data/ext/ruby-cbc/install/lib/libOsi.so.1 +0 -0
- data/ext/ruby-cbc/install/lib/libOsi.so.1.12.6 +0 -0
- data/ext/ruby-cbc/install/lib/libOsiCbc.la +0 -35
- data/ext/ruby-cbc/install/lib/libOsiCbc.so +0 -0
- data/ext/ruby-cbc/install/lib/libOsiCbc.so.3 +0 -0
- data/ext/ruby-cbc/install/lib/libOsiCbc.so.3.9.7 +0 -0
- data/ext/ruby-cbc/install/lib/libOsiClp.la +0 -35
- data/ext/ruby-cbc/install/lib/libOsiClp.so +0 -0
- data/ext/ruby-cbc/install/lib/libOsiClp.so.1 +0 -0
- data/ext/ruby-cbc/install/lib/libOsiClp.so.1.13.9 +0 -0
- data/ext/ruby-cbc/install/lib/libOsiCommonTests.la +0 -35
- data/ext/ruby-cbc/install/lib/libOsiCommonTests.so +0 -0
- data/ext/ruby-cbc/install/lib/libOsiCommonTests.so.1 +0 -0
- data/ext/ruby-cbc/install/lib/libOsiCommonTests.so.1.12.6 +0 -0
- data/ext/ruby-cbc/install/lib/pkgconfig/cbc.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/cgl.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/clp.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/coindatamiplib3.pc +0 -9
- data/ext/ruby-cbc/install/lib/pkgconfig/coindatasample.pc +0 -9
- data/ext/ruby-cbc/install/lib/pkgconfig/coinutils.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/osi-cbc.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/osi-clp.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/osi-unittests.pc +0 -12
- data/ext/ruby-cbc/install/lib/pkgconfig/osi.pc +0 -12
@@ -1,161 +0,0 @@
|
|
1
|
-
// $Id: CbcFullNodeInfo.hpp 1899 2013-04-09 18:12:08Z stefan $
|
2
|
-
// Copyright (C) 2002, International Business Machines
|
3
|
-
// Corporation and others. All Rights Reserved.
|
4
|
-
// This code is licensed under the terms of the Eclipse Public License (EPL).
|
5
|
-
|
6
|
-
// Edwin 11/24/09 carved from CbcNode
|
7
|
-
|
8
|
-
#ifndef CbcFullNodeInfo_H
|
9
|
-
#define CbcFullNodeInfo_H
|
10
|
-
|
11
|
-
#include <string>
|
12
|
-
#include <vector>
|
13
|
-
|
14
|
-
#include "CoinWarmStartBasis.hpp"
|
15
|
-
#include "CoinSearchTree.hpp"
|
16
|
-
#include "CbcBranchBase.hpp"
|
17
|
-
#include "CbcNodeInfo.hpp"
|
18
|
-
|
19
|
-
class OsiSolverInterface;
|
20
|
-
class OsiSolverBranch;
|
21
|
-
|
22
|
-
class OsiCuts;
|
23
|
-
class OsiRowCut;
|
24
|
-
class OsiRowCutDebugger;
|
25
|
-
class CoinWarmStartBasis;
|
26
|
-
class CbcCountRowCut;
|
27
|
-
class CbcModel;
|
28
|
-
class CbcNode;
|
29
|
-
class CbcSubProblem;
|
30
|
-
class CbcGeneralBranchingObject;
|
31
|
-
|
32
|
-
//#############################################################################
|
33
|
-
/** Information required to recreate the subproblem at this node
|
34
|
-
|
35
|
-
When a subproblem is initially created, it is represented by a CbcNode
|
36
|
-
object and an attached CbcNodeInfo object.
|
37
|
-
|
38
|
-
The CbcNode contains information needed while the subproblem remains live.
|
39
|
-
The CbcNode is deleted when the last branch arm has been evaluated.
|
40
|
-
|
41
|
-
The CbcNodeInfo contains information required to maintain the branch-and-cut
|
42
|
-
search tree structure (links and reference counts) and to recreate the
|
43
|
-
subproblem for this node (basis, variable bounds, cutting planes). A
|
44
|
-
CbcNodeInfo object remains in existence until all nodes have been pruned from
|
45
|
-
the subtree rooted at this node.
|
46
|
-
|
47
|
-
The principle used to maintain the reference count is that the reference
|
48
|
-
count is always the sum of all potential and actual children of the node.
|
49
|
-
Specifically,
|
50
|
-
<ul>
|
51
|
-
<li> Once it's determined how the node will branch, the reference count
|
52
|
-
is set to the number of potential children (<i>i.e.</i>, the number
|
53
|
-
of arms of the branch).
|
54
|
-
<li> As each child is created by CbcNode::branch() (converting a potential
|
55
|
-
child to the active subproblem), the reference count is decremented.
|
56
|
-
<li> If the child survives and will become a node in the search tree
|
57
|
-
(converting the active subproblem into an actual child), increment the
|
58
|
-
reference count.
|
59
|
-
</ul>
|
60
|
-
Notice that the active subproblem lives in a sort of limbo, neither a
|
61
|
-
potential or an actual node in the branch-and-cut tree.
|
62
|
-
|
63
|
-
CbcNodeInfo objects come in two flavours. A CbcFullNodeInfo object contains
|
64
|
-
a full record of the information required to recreate a subproblem.
|
65
|
-
A CbcPartialNodeInfo object expresses this information in terms of
|
66
|
-
differences from the parent.
|
67
|
-
*/
|
68
|
-
|
69
|
-
|
70
|
-
/** \brief Holds complete information for recreating a subproblem.
|
71
|
-
|
72
|
-
A CbcFullNodeInfo object contains all necessary information (bounds, basis,
|
73
|
-
and cuts) required to recreate a subproblem.
|
74
|
-
|
75
|
-
\todo While there's no explicit statement, the code often makes the implicit
|
76
|
-
assumption that an CbcFullNodeInfo structure will appear only at the
|
77
|
-
root node of the search tree. Things will break if this assumption
|
78
|
-
is violated.
|
79
|
-
*/
|
80
|
-
|
81
|
-
class CbcFullNodeInfo : public CbcNodeInfo {
|
82
|
-
|
83
|
-
public:
|
84
|
-
|
85
|
-
/** \brief Modify model according to information at node
|
86
|
-
|
87
|
-
The routine modifies the model according to bound information at node,
|
88
|
-
creates a new basis according to information at node, but with the size
|
89
|
-
passed in through basis, and adds any cuts to the addCuts array.
|
90
|
-
|
91
|
-
\note The basis passed in via basis is solely a vehicle for passing in
|
92
|
-
the desired basis size. It will be deleted and a new basis returned.
|
93
|
-
*/
|
94
|
-
virtual void applyToModel (CbcModel *model, CoinWarmStartBasis *&basis,
|
95
|
-
CbcCountRowCut **addCuts,
|
96
|
-
int ¤tNumberCuts) const ;
|
97
|
-
|
98
|
-
/// Just apply bounds to one variable - force means overwrite by lower,upper (1=>infeasible)
|
99
|
-
virtual int applyBounds(int iColumn, double & lower, double & upper, int force) ;
|
100
|
-
|
101
|
-
/** Builds up row basis backwards (until original model).
|
102
|
-
Returns NULL or previous one to apply .
|
103
|
-
Depends on Free being 0 and impossible for cuts
|
104
|
-
*/
|
105
|
-
virtual CbcNodeInfo * buildRowBasis(CoinWarmStartBasis & basis) const ;
|
106
|
-
// Default Constructor
|
107
|
-
CbcFullNodeInfo ();
|
108
|
-
|
109
|
-
/** Constructor from continuous or satisfied
|
110
|
-
*/
|
111
|
-
CbcFullNodeInfo (CbcModel * model,
|
112
|
-
int numberRowsAtContinuous);
|
113
|
-
|
114
|
-
// Copy constructor
|
115
|
-
CbcFullNodeInfo ( const CbcFullNodeInfo &);
|
116
|
-
|
117
|
-
// Destructor
|
118
|
-
~CbcFullNodeInfo ();
|
119
|
-
|
120
|
-
/// Clone
|
121
|
-
virtual CbcNodeInfo * clone() const;
|
122
|
-
/// Lower bounds
|
123
|
-
inline const double * lower() const {
|
124
|
-
return lower_;
|
125
|
-
}
|
126
|
-
/// Set a bound
|
127
|
-
inline void setColLower(int sequence, double value)
|
128
|
-
{ lower_[sequence]=value;}
|
129
|
-
/// Mutable lower bounds
|
130
|
-
inline double * mutableLower() const {
|
131
|
-
return lower_;
|
132
|
-
}
|
133
|
-
/// Upper bounds
|
134
|
-
inline const double * upper() const {
|
135
|
-
return upper_;
|
136
|
-
}
|
137
|
-
/// Set a bound
|
138
|
-
inline void setColUpper(int sequence, double value)
|
139
|
-
{ upper_[sequence]=value;}
|
140
|
-
/// Mutable upper bounds
|
141
|
-
inline double * mutableUpper() const {
|
142
|
-
return upper_;
|
143
|
-
}
|
144
|
-
protected:
|
145
|
-
// Data
|
146
|
-
/** Full basis
|
147
|
-
|
148
|
-
This MUST BE A POINTER to avoid cutting extra information in derived
|
149
|
-
warm start classes.
|
150
|
-
*/
|
151
|
-
CoinWarmStartBasis *basis_;
|
152
|
-
int numberIntegers_;
|
153
|
-
// Bounds stored in full
|
154
|
-
double * lower_;
|
155
|
-
double * upper_;
|
156
|
-
private:
|
157
|
-
/// Illegal Assignment operator
|
158
|
-
CbcFullNodeInfo & operator=(const CbcFullNodeInfo& rhs);
|
159
|
-
};
|
160
|
-
#endif //CbcFullNodeInfo_H
|
161
|
-
|
@@ -1,60 +0,0 @@
|
|
1
|
-
// $Id: CbcGeneral.hpp 1899 2013-04-09 18:12:08Z stefan $
|
2
|
-
// Copyright (C) 2002, International Business Machines
|
3
|
-
// Corporation and others. All Rights Reserved.
|
4
|
-
// This code is licensed under the terms of the Eclipse Public License (EPL).
|
5
|
-
|
6
|
-
// Edwin 11/10/2009-- carved out of CbcBranchActual
|
7
|
-
|
8
|
-
#ifndef CbcGeneral_H
|
9
|
-
#define CbcGeneral_H
|
10
|
-
|
11
|
-
#include "CbcBranchBase.hpp"
|
12
|
-
/** Define a catch all class.
|
13
|
-
This will create a list of subproblems
|
14
|
-
*/
|
15
|
-
|
16
|
-
|
17
|
-
class CbcGeneral : public CbcObject {
|
18
|
-
|
19
|
-
public:
|
20
|
-
|
21
|
-
// Default Constructor
|
22
|
-
CbcGeneral ();
|
23
|
-
|
24
|
-
/** Useful constructor
|
25
|
-
Just needs to point to model.
|
26
|
-
*/
|
27
|
-
CbcGeneral (CbcModel * model);
|
28
|
-
|
29
|
-
// Copy constructor
|
30
|
-
CbcGeneral ( const CbcGeneral &);
|
31
|
-
|
32
|
-
/// Clone
|
33
|
-
virtual CbcObject * clone() const = 0;
|
34
|
-
|
35
|
-
// Assignment operator
|
36
|
-
CbcGeneral & operator=( const CbcGeneral& rhs);
|
37
|
-
|
38
|
-
// Destructor
|
39
|
-
~CbcGeneral ();
|
40
|
-
|
41
|
-
/// Infeasibility - large is 0.5
|
42
|
-
virtual double infeasibility(const OsiBranchingInformation * info,
|
43
|
-
int &preferredWay) const;
|
44
|
-
|
45
|
-
using CbcObject::feasibleRegion ;
|
46
|
-
/// This looks at solution and sets bounds to contain solution
|
47
|
-
virtual void feasibleRegion() = 0;
|
48
|
-
|
49
|
-
/// Creates a branching object
|
50
|
-
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface * solver, const OsiBranchingInformation * info, int way) ;
|
51
|
-
|
52
|
-
/// Redoes data when sequence numbers change
|
53
|
-
virtual void redoSequenceEtc(CbcModel * model, int numberColumns, const int * originalColumns) = 0;
|
54
|
-
|
55
|
-
protected:
|
56
|
-
/// data
|
57
|
-
};
|
58
|
-
|
59
|
-
#endif
|
60
|
-
|
@@ -1,279 +0,0 @@
|
|
1
|
-
// $Id: CbcGeneralDepth.hpp 1899 2013-04-09 18:12:08Z stefan $
|
2
|
-
// Copyright (C) 2002, International Business Machines
|
3
|
-
// Corporation and others. All Rights Reserved.
|
4
|
-
// This code is licensed under the terms of the Eclipse Public License (EPL).
|
5
|
-
|
6
|
-
// Edwin 11/10/2009-- carved out of CbcBranchActual
|
7
|
-
|
8
|
-
#ifndef CbcGeneralDepth_H
|
9
|
-
#define CbcGeneralDepth_H
|
10
|
-
|
11
|
-
#include "CbcGeneral.hpp"
|
12
|
-
#include "CbcBranchBase.hpp"
|
13
|
-
#include "CbcSubProblem.hpp"
|
14
|
-
|
15
|
-
#ifdef COIN_HAS_CLP
|
16
|
-
|
17
|
-
/** Define a catch all class.
|
18
|
-
This will create a list of subproblems using partial evaluation
|
19
|
-
*/
|
20
|
-
#include "ClpSimplex.hpp"
|
21
|
-
#include "ClpNode.hpp"
|
22
|
-
|
23
|
-
|
24
|
-
class CbcGeneralDepth : public CbcGeneral {
|
25
|
-
|
26
|
-
public:
|
27
|
-
|
28
|
-
// Default Constructor
|
29
|
-
CbcGeneralDepth ();
|
30
|
-
|
31
|
-
/** Useful constructor
|
32
|
-
Just needs to point to model.
|
33
|
-
Initial version does evaluation to depth N
|
34
|
-
This is stored in CbcModel but may be
|
35
|
-
better here
|
36
|
-
*/
|
37
|
-
CbcGeneralDepth (CbcModel * model, int maximumDepth);
|
38
|
-
|
39
|
-
// Copy constructor
|
40
|
-
CbcGeneralDepth ( const CbcGeneralDepth &);
|
41
|
-
|
42
|
-
/// Clone
|
43
|
-
virtual CbcObject * clone() const;
|
44
|
-
|
45
|
-
// Assignment operator
|
46
|
-
CbcGeneralDepth & operator=( const CbcGeneralDepth& rhs);
|
47
|
-
|
48
|
-
// Destructor
|
49
|
-
~CbcGeneralDepth ();
|
50
|
-
|
51
|
-
/// Infeasibility - large is 0.5
|
52
|
-
virtual double infeasibility(const OsiBranchingInformation * info,
|
53
|
-
int &preferredWay) const;
|
54
|
-
|
55
|
-
using CbcObject::feasibleRegion ;
|
56
|
-
/// This looks at solution and sets bounds to contain solution
|
57
|
-
virtual void feasibleRegion();
|
58
|
-
|
59
|
-
/// Creates a branching object
|
60
|
-
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface * solver, const OsiBranchingInformation * info, int way) ;
|
61
|
-
/// Return maximum number of nodes
|
62
|
-
inline int maximumNodes() const {
|
63
|
-
return maximumNodes_;
|
64
|
-
}
|
65
|
-
/// Get maximum depth
|
66
|
-
inline int maximumDepth() const {
|
67
|
-
return maximumDepth_;
|
68
|
-
}
|
69
|
-
/// Set maximum depth
|
70
|
-
inline void setMaximumDepth(int value) {
|
71
|
-
maximumDepth_ = value;
|
72
|
-
}
|
73
|
-
/// Return number of nodes
|
74
|
-
inline int numberNodes() const {
|
75
|
-
return numberNodes_;
|
76
|
-
}
|
77
|
-
/// Get which solution
|
78
|
-
inline int whichSolution() const {
|
79
|
-
return whichSolution_;
|
80
|
-
}
|
81
|
-
/// Get ClpNode info
|
82
|
-
inline ClpNode * nodeInfo(int which) {
|
83
|
-
return nodeInfo_->nodeInfo_[which];
|
84
|
-
}
|
85
|
-
|
86
|
-
/// Redoes data when sequence numbers change
|
87
|
-
virtual void redoSequenceEtc(CbcModel * model, int numberColumns, const int * originalColumns);
|
88
|
-
|
89
|
-
protected:
|
90
|
-
/// data
|
91
|
-
/// Maximum depth
|
92
|
-
int maximumDepth_;
|
93
|
-
/// Maximum nodes
|
94
|
-
int maximumNodes_;
|
95
|
-
/// Which node has solution (or -1)
|
96
|
-
mutable int whichSolution_;
|
97
|
-
/// Number of valid nodes (including whichSolution_)
|
98
|
-
mutable int numberNodes_;
|
99
|
-
/// For solving nodes
|
100
|
-
mutable ClpNodeStuff * nodeInfo_;
|
101
|
-
};
|
102
|
-
/** Branching object for general objects
|
103
|
-
|
104
|
-
*/
|
105
|
-
class CbcNode;
|
106
|
-
class CbcGeneralBranchingObject : public CbcBranchingObject {
|
107
|
-
|
108
|
-
public:
|
109
|
-
|
110
|
-
// Default Constructor
|
111
|
-
CbcGeneralBranchingObject ();
|
112
|
-
|
113
|
-
// Useful constructor
|
114
|
-
CbcGeneralBranchingObject (CbcModel * model);
|
115
|
-
|
116
|
-
// Copy constructor
|
117
|
-
CbcGeneralBranchingObject ( const CbcGeneralBranchingObject &);
|
118
|
-
|
119
|
-
// Assignment operator
|
120
|
-
CbcGeneralBranchingObject & operator=( const CbcGeneralBranchingObject& rhs);
|
121
|
-
|
122
|
-
/// Clone
|
123
|
-
virtual CbcBranchingObject * clone() const;
|
124
|
-
|
125
|
-
// Destructor
|
126
|
-
virtual ~CbcGeneralBranchingObject ();
|
127
|
-
|
128
|
-
using CbcBranchingObject::branch ;
|
129
|
-
/// Does next branch and updates state
|
130
|
-
virtual double branch();
|
131
|
-
/** Double checks in case node can change its mind!
|
132
|
-
Can change objective etc */
|
133
|
-
virtual void checkIsCutoff(double cutoff);
|
134
|
-
|
135
|
-
using CbcBranchingObject::print ;
|
136
|
-
/** \brief Print something about branch - only if log level high
|
137
|
-
*/
|
138
|
-
virtual void print();
|
139
|
-
/// Fill in current objective etc
|
140
|
-
void state(double & objectiveValue, double & sumInfeasibilities,
|
141
|
-
int & numberUnsatisfied, int which) const;
|
142
|
-
/// Set CbcNode
|
143
|
-
inline void setNode(CbcNode * node) {
|
144
|
-
node_ = node;
|
145
|
-
}
|
146
|
-
/** Return the type (an integer identifier) of \c this */
|
147
|
-
virtual CbcBranchObjType type() const {
|
148
|
-
return GeneralDepthBranchObj;
|
149
|
-
}
|
150
|
-
|
151
|
-
/** Compare the original object of \c this with the original object of \c
|
152
|
-
brObj. Assumes that there is an ordering of the original objects.
|
153
|
-
This method should be invoked only if \c this and brObj are of the same
|
154
|
-
type.
|
155
|
-
Return negative/0/positive depending on whether \c this is
|
156
|
-
smaller/same/larger than the argument.
|
157
|
-
*/
|
158
|
-
virtual int compareOriginalObject(const CbcBranchingObject* brObj) const;
|
159
|
-
|
160
|
-
/** Compare the \c this with \c brObj. \c this and \c brObj must be os the
|
161
|
-
same type and must have the same original object, but they may have
|
162
|
-
different feasible regions.
|
163
|
-
Return the appropriate CbcRangeCompare value (first argument being the
|
164
|
-
sub/superset if that's the case). In case of overlap (and if \c
|
165
|
-
replaceIfOverlap is true) replace the current branching object with one
|
166
|
-
whose feasible region is the overlap.
|
167
|
-
*/
|
168
|
-
virtual CbcRangeCompare compareBranchingObject
|
169
|
-
(const CbcBranchingObject* brObj, const bool replaceIfOverlap = false);
|
170
|
-
/// Number of subproblems
|
171
|
-
inline int numberSubProblems() const {
|
172
|
-
return numberSubProblems_;
|
173
|
-
}
|
174
|
-
/// Decrement number left and return number
|
175
|
-
inline int decrementNumberLeft() {
|
176
|
-
numberSubLeft_--;
|
177
|
-
return numberSubLeft_;
|
178
|
-
}
|
179
|
-
/// Which node we want to use
|
180
|
-
inline int whichNode() const {
|
181
|
-
return whichNode_;
|
182
|
-
}
|
183
|
-
/// Set which node we want to use
|
184
|
-
inline void setWhichNode(int value) {
|
185
|
-
whichNode_ = value;
|
186
|
-
}
|
187
|
-
// Sub problem
|
188
|
-
const CbcSubProblem * subProblem(int which) const {
|
189
|
-
return subProblems_ + which;
|
190
|
-
}
|
191
|
-
|
192
|
-
public:
|
193
|
-
/// data
|
194
|
-
// Sub problems
|
195
|
-
CbcSubProblem * subProblems_;
|
196
|
-
/// Node
|
197
|
-
CbcNode * node_;
|
198
|
-
/// Number of subproblems
|
199
|
-
int numberSubProblems_;
|
200
|
-
/// Number of subproblems left
|
201
|
-
int numberSubLeft_;
|
202
|
-
/// Which node we want to use (-1 for default)
|
203
|
-
int whichNode_;
|
204
|
-
/// Number of rows
|
205
|
-
int numberRows_;
|
206
|
-
};
|
207
|
-
/** Branching object for general objects - just one
|
208
|
-
|
209
|
-
*/
|
210
|
-
class CbcOneGeneralBranchingObject : public CbcBranchingObject {
|
211
|
-
|
212
|
-
public:
|
213
|
-
|
214
|
-
// Default Constructor
|
215
|
-
CbcOneGeneralBranchingObject ();
|
216
|
-
|
217
|
-
// Useful constructor
|
218
|
-
CbcOneGeneralBranchingObject (CbcModel * model,
|
219
|
-
CbcGeneralBranchingObject * object,
|
220
|
-
int whichOne);
|
221
|
-
|
222
|
-
// Copy constructor
|
223
|
-
CbcOneGeneralBranchingObject ( const CbcOneGeneralBranchingObject &);
|
224
|
-
|
225
|
-
// Assignment operator
|
226
|
-
CbcOneGeneralBranchingObject & operator=( const CbcOneGeneralBranchingObject& rhs);
|
227
|
-
|
228
|
-
/// Clone
|
229
|
-
virtual CbcBranchingObject * clone() const;
|
230
|
-
|
231
|
-
// Destructor
|
232
|
-
virtual ~CbcOneGeneralBranchingObject ();
|
233
|
-
|
234
|
-
using CbcBranchingObject::branch ;
|
235
|
-
/// Does next branch and updates state
|
236
|
-
virtual double branch();
|
237
|
-
/** Double checks in case node can change its mind!
|
238
|
-
Can change objective etc */
|
239
|
-
virtual void checkIsCutoff(double cutoff);
|
240
|
-
|
241
|
-
using CbcBranchingObject::print ;
|
242
|
-
/** \brief Print something about branch - only if log level high
|
243
|
-
*/
|
244
|
-
virtual void print();
|
245
|
-
/** Return the type (an integer identifier) of \c this */
|
246
|
-
virtual CbcBranchObjType type() const {
|
247
|
-
return OneGeneralBranchingObj;
|
248
|
-
}
|
249
|
-
|
250
|
-
/** Compare the original object of \c this with the original object of \c
|
251
|
-
brObj. Assumes that there is an ordering of the original objects.
|
252
|
-
This method should be invoked only if \c this and brObj are of the same
|
253
|
-
type.
|
254
|
-
Return negative/0/positive depending on whether \c this is
|
255
|
-
smaller/same/larger than the argument.
|
256
|
-
*/
|
257
|
-
virtual int compareOriginalObject(const CbcBranchingObject* brObj) const;
|
258
|
-
|
259
|
-
/** Compare the \c this with \c brObj. \c this and \c brObj must be os the
|
260
|
-
same type and must have the same original object, but they may have
|
261
|
-
different feasible regions.
|
262
|
-
Return the appropriate CbcRangeCompare value (first argument being the
|
263
|
-
sub/superset if that's the case). In case of overlap (and if \c
|
264
|
-
replaceIfOverlap is true) replace the current branching object with one
|
265
|
-
whose feasible region is the overlap.
|
266
|
-
*/
|
267
|
-
virtual CbcRangeCompare compareBranchingObject
|
268
|
-
(const CbcBranchingObject* brObj, const bool replaceIfOverlap = false);
|
269
|
-
|
270
|
-
public:
|
271
|
-
/// data
|
272
|
-
/// Object
|
273
|
-
CbcGeneralBranchingObject * object_;
|
274
|
-
/// Which one
|
275
|
-
int whichOne_;
|
276
|
-
};
|
277
|
-
#endif //COIN_HAS_CLP
|
278
|
-
#endif
|
279
|
-
|