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,495 +0,0 @@
|
|
1
|
-
// Name: CglRedSplit2Param.hpp
|
2
|
-
// Author: Giacomo Nannicini
|
3
|
-
// Singapore University of Technology and Design
|
4
|
-
// Singapore
|
5
|
-
// email: nannicini@sutd.edu.sg
|
6
|
-
// Date: 03/09/09
|
7
|
-
//-----------------------------------------------------------------------------
|
8
|
-
// Copyright (C) 2010, Giacomo Nannicini and others. All Rights Reserved.
|
9
|
-
|
10
|
-
#ifndef CglRedSplit2Param_H
|
11
|
-
#define CglRedSplit2Param_H
|
12
|
-
|
13
|
-
#include "CglParam.hpp"
|
14
|
-
#include <vector>
|
15
|
-
|
16
|
-
/**@name CglRedSplit2 Parameters */
|
17
|
-
//@{
|
18
|
-
|
19
|
-
/** Class collecting parameters the Reduced-and-split cut generator.
|
20
|
-
|
21
|
-
An important thing to note is that the cut generator allows for
|
22
|
-
the selection of a number of strategies that can be combined
|
23
|
-
together. By default, a selection that typically yields a good
|
24
|
-
compromise between speed and cut strenght is made. The selection
|
25
|
-
can be changed by resetting the default choices (see the
|
26
|
-
functions whose name starts with "reset") or by setting the
|
27
|
-
parameter use_default_strategies to false in the
|
28
|
-
constructors. After this, the chosen strategies can be added to
|
29
|
-
the list by using the functions whose name starts with
|
30
|
-
"add". All strategies will be combined together: if we choose 3
|
31
|
-
row selection strategies, 2 column selection strategies, and 2
|
32
|
-
possible numbers of rows, we end up with a total of 3*2*2
|
33
|
-
combinations.
|
34
|
-
|
35
|
-
For a detailed explanation of the parameters and their meaning,
|
36
|
-
see the paper by Cornuejols and Nannicini: "Practical strategies
|
37
|
-
for generating rank-1 split cuts in mixed-integer linear
|
38
|
-
programming", on Mathematical Programming Computation.
|
39
|
-
|
40
|
-
Parameters of the generator are listed below.
|
41
|
-
|
42
|
-
- MAXDYN: Maximum ratio between largest and smallest non zero
|
43
|
-
coefficients in a cut. See method setMAXDYN().
|
44
|
-
- EPS_ELIM: Precision for deciding if a coefficient is zero when
|
45
|
-
eliminating slack variables. See method setEPS_ELIM().
|
46
|
-
- MINVIOL: Minimum violation for the current basic solution in
|
47
|
-
a generated cut. See method setMINVIOL().
|
48
|
-
- EPS_RELAX_ABS: Absolute relaxation of cut rhs.
|
49
|
-
- EPS_RELAX_REL: Relative relaxation of cut rhs.
|
50
|
-
- MAX_SUPP_ABS: Maximum cut support (absolute).
|
51
|
-
- MAX_SUPP_REL: Maximum cut support (relative): the formula to
|
52
|
-
compute maximum cut support is
|
53
|
-
MAX_SUPP_ABS + ncol*MAX_SUPP_REL.
|
54
|
-
- USE_INTSLACKS: Use integer slacks to generate cuts. (not implemented).
|
55
|
-
See method setUSE_INTSLACKS().
|
56
|
-
- normIsZero: Norm of a vector is considered zero if smaller than
|
57
|
-
this value. See method setNormIsZero().
|
58
|
-
- minNormReduction: a cut is generated if the new norm of the row on the
|
59
|
-
continuous nonbasics is reduced by at least
|
60
|
-
this factor (relative reduction).
|
61
|
-
- away: Look only at basic integer variables whose current value
|
62
|
-
is at least this value from being integer. See method setAway().
|
63
|
-
- maxSumMultipliers: maximum sum (in absolute value) of row multipliers
|
64
|
-
- normalization: normalization factor for the norm of lambda in the
|
65
|
-
coefficient reduction algorithm (convex min problem)
|
66
|
-
- numRowsReduction: Maximum number of rows in the linear system for
|
67
|
-
norm reduction.
|
68
|
-
- columnSelectionStrategy: parameter to select which columns should be
|
69
|
-
used for coefficient reduction.
|
70
|
-
- rowSelectionStrategy: parameter to select which rows should be
|
71
|
-
used for coefficient reduction.
|
72
|
-
- timeLimit: Time limit (in seconds) for cut generation.
|
73
|
-
- maxNumCuts: Maximum number of cuts that can be returned at each pass;
|
74
|
-
we could generate more cuts than this number (see below)
|
75
|
-
- maxNumComputedCuts: Maximum number of cuts that can be computed
|
76
|
-
by the generator at each pass
|
77
|
-
- maxNonzeroesTab : Rows of the simplex tableau with more than
|
78
|
-
this number of nonzeroes will not be
|
79
|
-
considered for reduction. Only works if
|
80
|
-
RS_FAST_* are defined in CglRedSplit2.
|
81
|
-
- skipGomory: Skip traditional Gomory cuts, i.e. GMI cuts arising from
|
82
|
-
a single row of the tableau (instead of a combination).
|
83
|
-
Default is 1 (true), because we assume that they are
|
84
|
-
generated by a traditional Gomory generator anyway.
|
85
|
-
*/
|
86
|
-
//@}
|
87
|
-
|
88
|
-
class CglRedSplit2Param : public CglParam {
|
89
|
-
|
90
|
-
public:
|
91
|
-
/** Enumerations for parameters */
|
92
|
-
|
93
|
-
/** Row selection strategies; same names as in the paper */
|
94
|
-
enum RowSelectionStrategy{
|
95
|
-
/* Pick rows that introduce the fewest nonzeroes on integer nonbasics */
|
96
|
-
RS1,
|
97
|
-
/* Pick rows that introduce the fewest nonzeroes on the set of working
|
98
|
-
continuous nonbasics */
|
99
|
-
RS2,
|
100
|
-
/* Pick rows that introduce the fewest nonzeroes on both integer and
|
101
|
-
working continuous nonbasics */
|
102
|
-
RS3,
|
103
|
-
/* Same as RS0 but with greedy algorithm */
|
104
|
-
RS4,
|
105
|
-
/* Same as RS1 but with greedy algorithm */
|
106
|
-
RS5,
|
107
|
-
/* Same as RS2 but with greedy algorithm */
|
108
|
-
RS6,
|
109
|
-
/* Pick rows with smallest angle in the space of integer and working
|
110
|
-
continuous nonbasics */
|
111
|
-
RS7,
|
112
|
-
/* Pick rows with smallest angle in the space of working
|
113
|
-
continuous nonbasics */
|
114
|
-
RS8,
|
115
|
-
/* Use all strategies */
|
116
|
-
RS_ALL,
|
117
|
-
/* Use best ones - that is, RS8 and RS7 */
|
118
|
-
RS_BEST
|
119
|
-
};
|
120
|
-
|
121
|
-
/** Column selection strategies; again, look them up in the paper. */
|
122
|
-
enum ColumnSelectionStrategy{
|
123
|
-
/* C-3P */
|
124
|
-
CS1, CS2, CS3,
|
125
|
-
/* C-5P */
|
126
|
-
CS4, CS5, CS6, CS7, CS8,
|
127
|
-
/* I-2P-2/3 */
|
128
|
-
CS9, CS10,
|
129
|
-
/* I-2P-4/5 */
|
130
|
-
CS11, CS12,
|
131
|
-
/* I-2P-1/2 */
|
132
|
-
CS13, CS14,
|
133
|
-
/* I-3P */
|
134
|
-
CS15, CS16, CS17,
|
135
|
-
/* I-4P */
|
136
|
-
CS18, CS19, CS20, CS21,
|
137
|
-
/* Use all strategies up to this point */
|
138
|
-
CS_ALL,
|
139
|
-
/* Use best strategies (same effect as CS_ALL, because it turns out that
|
140
|
-
using all strategies is the best thing to do) */
|
141
|
-
CS_BEST,
|
142
|
-
/* Optimize over all continuous nonbasic columns; this does not give
|
143
|
-
good results, but we use it for testing Lift & Project + RedSplit */
|
144
|
-
CS_ALLCONT,
|
145
|
-
/* Lift & Project specific strategy: only select variables which
|
146
|
-
are nonbasic in the tableau but are basic in the point to cut
|
147
|
-
off. This strategy cannot be used outside L&P. It is not very
|
148
|
-
effective even with L&P, but is left here for testing.*/
|
149
|
-
CS_LAP_NONBASICS
|
150
|
-
};
|
151
|
-
|
152
|
-
/** Scaling strategies for new nonbasic columns for Lift & Project;
|
153
|
-
* "factor" is the value of columnScalingBoundLAP_ */
|
154
|
-
enum ColumnScalingStrategy{
|
155
|
-
/* No scaling */
|
156
|
-
SC_NONE,
|
157
|
-
/* Multiply by |xbar[i]| where xbar[i] is the value of the
|
158
|
-
corresponding component of the point that we want to cut off */
|
159
|
-
SC_LINEAR,
|
160
|
-
/* Multiply by min(factor,|xbar[i]|) */
|
161
|
-
SC_LINEAR_BOUNDED,
|
162
|
-
/* Multiply by min(factor,log(|xbar[i]|)) */
|
163
|
-
SC_LOG_BOUNDED,
|
164
|
-
/* Multiply all new nonbasics by factor */
|
165
|
-
SC_UNIFORM,
|
166
|
-
/* Multiply only nonzero coefficients by factor */
|
167
|
-
SC_UNIFORM_NZ
|
168
|
-
};
|
169
|
-
|
170
|
-
/**@name Set/get methods */
|
171
|
-
//@{
|
172
|
-
/** Set away, the minimum distance from being integer used for selecting
|
173
|
-
rows for cut generation; all rows whose pivot variable should be
|
174
|
-
integer but is more than away from integrality will be selected;
|
175
|
-
Default: 0.005 */
|
176
|
-
virtual void setAway(double value);
|
177
|
-
/// Get value of away
|
178
|
-
inline double getAway() const {return away_;}
|
179
|
-
|
180
|
-
/** Set the value of EPS_ELIM, epsilon for values of coefficients when
|
181
|
-
eliminating slack variables;
|
182
|
-
Default: 0.0 */
|
183
|
-
void setEPS_ELIM(double value);
|
184
|
-
/** Get the value of EPS_ELIM */
|
185
|
-
double getEPS_ELIM() const {return EPS_ELIM;}
|
186
|
-
|
187
|
-
/** Set EPS_RELAX_ABS */
|
188
|
-
virtual void setEPS_RELAX_ABS(double eps_ra);
|
189
|
-
/** Get value of EPS_RELAX_ABS */
|
190
|
-
inline double getEPS_RELAX_ABS() const {return EPS_RELAX_ABS;}
|
191
|
-
|
192
|
-
/** Set EPS_RELAX_REL */
|
193
|
-
virtual void setEPS_RELAX_REL(double eps_rr);
|
194
|
-
/** Get value of EPS_RELAX_REL */
|
195
|
-
inline double getEPS_RELAX_REL() const {return EPS_RELAX_REL;}
|
196
|
-
|
197
|
-
// Set the maximum ratio between largest and smallest non zero
|
198
|
-
// coefficients in a cut. Default: 1e6.
|
199
|
-
virtual void setMAXDYN(double value);
|
200
|
-
/** Get the value of MAXDYN */
|
201
|
-
inline double getMAXDYN() const {return MAXDYN;}
|
202
|
-
|
203
|
-
/** Set the value of MINVIOL, the minimum violation for the current
|
204
|
-
basic solution in a generated cut. Default: 1e-3 */
|
205
|
-
virtual void setMINVIOL(double value);
|
206
|
-
/** Get the value of MINVIOL */
|
207
|
-
inline double getMINVIOL() const {return MINVIOL;}
|
208
|
-
|
209
|
-
/** Maximum absolute support of the cutting planes. Default: INT_MAX.
|
210
|
-
Aliases for consistency with our naming scheme. */
|
211
|
-
inline void setMAX_SUPP_ABS(int value) {setMAX_SUPPORT(value);}
|
212
|
-
inline int getMAX_SUPP_ABS() const {return MAX_SUPPORT;}
|
213
|
-
|
214
|
-
/** Maximum relative support of the cutting planes. Default: 0.0.
|
215
|
-
The maximum support is MAX_SUPP_ABS + MAX_SUPPREL*ncols. */
|
216
|
-
inline void setMAX_SUPP_REL(double value);
|
217
|
-
inline double getMAX_SUPP_REL() const {return MAX_SUPP_REL;}
|
218
|
-
|
219
|
-
/** Set the value of USE_INTSLACKS. Default: 0 */
|
220
|
-
virtual void setUSE_INTSLACKS(int value);
|
221
|
-
/** Get the value of USE_INTSLACKS */
|
222
|
-
inline int getUSE_INTSLACKS() const {return USE_INTSLACKS;}
|
223
|
-
|
224
|
-
/** Set the value of normIsZero, the threshold for considering a norm to be
|
225
|
-
0; Default: 1e-5 */
|
226
|
-
virtual void setNormIsZero(double value);
|
227
|
-
/** Get the value of normIsZero */
|
228
|
-
inline double getNormIsZero() const {return normIsZero_;}
|
229
|
-
|
230
|
-
/** Set the value of minNormReduction; Default: 0.1 */
|
231
|
-
virtual void setMinNormReduction(double value);
|
232
|
-
/** Get the value of normIsZero */
|
233
|
-
inline double getMinNormReduction() const {return minNormReduction_;}
|
234
|
-
|
235
|
-
/** Set the value of maxSumMultipliers; Default: 10 */
|
236
|
-
virtual void setMaxSumMultipliers(int value);
|
237
|
-
/** Get the value of maxSumMultipliers */
|
238
|
-
inline int getMaxSumMultipliers() const {return maxSumMultipliers_;}
|
239
|
-
|
240
|
-
/** Set the value of normalization; Default: 0.0001 */
|
241
|
-
virtual void setNormalization(double value);
|
242
|
-
/** Get the value of normalization */
|
243
|
-
inline double getNormalization() const {return normalization_;}
|
244
|
-
|
245
|
-
/** Set the value of numRowsReduction, max number of rows that are used
|
246
|
-
* for each row reduction step. In particular, the linear system will
|
247
|
-
* involve a numRowsReduction*numRowsReduction matrix */
|
248
|
-
virtual void addNumRowsReduction(int value);
|
249
|
-
/// get the value
|
250
|
-
inline std::vector<int> getNumRowsReduction() const {return numRowsReduction_;}
|
251
|
-
/// reset
|
252
|
-
inline void resetNumRowsReduction() {numRowsReduction_.clear();}
|
253
|
-
|
254
|
-
/** Add the value of columnSelectionStrategy */
|
255
|
-
virtual void addColumnSelectionStrategy(ColumnSelectionStrategy value);
|
256
|
-
/// get the value
|
257
|
-
inline std::vector<ColumnSelectionStrategy> getColumnSelectionStrategy() const {return columnSelectionStrategy_;}
|
258
|
-
/// reset
|
259
|
-
inline void resetColumnSelectionStrategy(){columnSelectionStrategy_.clear();}
|
260
|
-
|
261
|
-
/** Set the value for rowSelectionStrategy, which changes the way we choose
|
262
|
-
* the rows for the reduction step */
|
263
|
-
virtual void addRowSelectionStrategy(RowSelectionStrategy value);
|
264
|
-
/// get the value
|
265
|
-
inline std::vector<RowSelectionStrategy> getRowSelectionStrategy() const {return rowSelectionStrategy_;};
|
266
|
-
/// reset
|
267
|
-
inline void resetRowSelectionStrategy() {rowSelectionStrategy_.clear();}
|
268
|
-
|
269
|
-
/** Set the value of numRowsReductionLAP, max number of rows that are used
|
270
|
-
* for each row reduction step during Lift & Project.
|
271
|
-
* In particular, the linear system will involve a
|
272
|
-
* numRowsReduction*numRowsReduction matrix */
|
273
|
-
virtual void addNumRowsReductionLAP(int value);
|
274
|
-
/// get the value
|
275
|
-
inline std::vector<int> getNumRowsReductionLAP() const {return numRowsReductionLAP_;}
|
276
|
-
/// reset
|
277
|
-
inline void resetNumRowsReductionLAP() {numRowsReductionLAP_.clear();}
|
278
|
-
|
279
|
-
/** Add the value of columnSelectionStrategyLAP */
|
280
|
-
virtual void addColumnSelectionStrategyLAP(ColumnSelectionStrategy value);
|
281
|
-
/// get the value
|
282
|
-
inline std::vector<ColumnSelectionStrategy> getColumnSelectionStrategyLAP() const {return columnSelectionStrategyLAP_;}
|
283
|
-
/// reset
|
284
|
-
inline void resetColumnSelectionStrategyLAP(){columnSelectionStrategyLAP_.clear();}
|
285
|
-
|
286
|
-
/** Set the value for rowSelectionStrategyLAP, which changes the way we
|
287
|
-
* choose the rows for the reduction step */
|
288
|
-
virtual void addRowSelectionStrategyLAP(RowSelectionStrategy value);
|
289
|
-
/// get the value
|
290
|
-
inline std::vector<RowSelectionStrategy> getRowSelectionStrategyLAP() const {return rowSelectionStrategyLAP_;};
|
291
|
-
/// reset
|
292
|
-
inline void resetRowSelectionStrategyLAP() {rowSelectionStrategyLAP_.clear();}
|
293
|
-
|
294
|
-
/** Set the value for columnScalingStrategyLAP, which sets the way nonbasic
|
295
|
-
* columns that are basic in the fractional point to cut off are scaled */
|
296
|
-
virtual void setColumnScalingStrategyLAP(ColumnScalingStrategy value);
|
297
|
-
/// get the value
|
298
|
-
inline ColumnScalingStrategy getColumnScalingStrategyLAP() const {return columnScalingStrategyLAP_; };
|
299
|
-
|
300
|
-
/** Set the value for the bound in the column scaling factor */
|
301
|
-
virtual void setColumnScalingBoundLAP(double value);
|
302
|
-
/// get the value
|
303
|
-
inline double getColumnScalingBoundLAP() const {return columnScalingBoundLAP_;};
|
304
|
-
|
305
|
-
/** Set the value of the time limit for cut generation (in seconds) */
|
306
|
-
virtual void setTimeLimit(double value);
|
307
|
-
/// get the value
|
308
|
-
inline double getTimeLimit() const {return timeLimit_;}
|
309
|
-
|
310
|
-
/** Set the value for the maximum number of cuts that can be returned */
|
311
|
-
virtual void setMaxNumCuts(int value);
|
312
|
-
/// get the value
|
313
|
-
inline int getMaxNumCuts() const {return maxNumCuts_;}
|
314
|
-
|
315
|
-
/** Set the value for the maximum number of cuts that can be computed */
|
316
|
-
virtual void setMaxNumComputedCuts(int value);
|
317
|
-
/// get the value
|
318
|
-
inline int getMaxNumComputedCuts() const {return maxNumComputedCuts_;}
|
319
|
-
|
320
|
-
/** Set the value for the maximum number of nonzeroes in a row of
|
321
|
-
* the simplex tableau for the row to be considered */
|
322
|
-
virtual void setMaxNonzeroesTab(int value);
|
323
|
-
/// get the value
|
324
|
-
inline int getMaxNonzeroesTab() const {return maxNonzeroesTab_;}
|
325
|
-
|
326
|
-
/** Set the value of skipGomory: should we skip simple Gomory cuts,
|
327
|
-
* i.e. GMI cuts derived from a single row of the simple tableau?
|
328
|
-
* This is 1 (true) by default: we only generate cuts from linear
|
329
|
-
* combinations of at least two rows. */
|
330
|
-
virtual void setSkipGomory(int value);
|
331
|
-
/// get the value
|
332
|
-
inline int getSkipGomory() const {return skipGomory_;}
|
333
|
-
|
334
|
-
//@}
|
335
|
-
|
336
|
-
/**@name Constructors and destructors */
|
337
|
-
//@{
|
338
|
-
/// Default constructor. If use_default_strategies is true, we add
|
339
|
-
/// to the list of strategies the default ones. If is false, the
|
340
|
-
/// list of strategies is left empty (must be populated before usage!).
|
341
|
-
CglRedSplit2Param(bool use_default_strategies = true,
|
342
|
-
double eps = 1e-12,
|
343
|
-
double eps_coeff = 1e-11,
|
344
|
-
double eps_elim = 0.0,
|
345
|
-
double eps_relax_abs = 1e-11,
|
346
|
-
double eps_relax_rel = 1e-13,
|
347
|
-
double max_dyn = 1e6,
|
348
|
-
double min_viol = 1e-3,
|
349
|
-
int max_supp_abs = 1000,
|
350
|
-
double max_supp_rel = 0.1,
|
351
|
-
int use_int_slacks = 0,
|
352
|
-
double norm_zero = 1e-5,
|
353
|
-
double minNormReduction = 0.1,
|
354
|
-
int maxSumMultipliers = 10,
|
355
|
-
double normalization = 0.0001,
|
356
|
-
double away = 0.005,
|
357
|
-
double timeLimit = 60,
|
358
|
-
int maxNumCuts = 10000,
|
359
|
-
int maxNumComputedCuts = 10000,
|
360
|
-
int maxNonzeroesTab = 1000,
|
361
|
-
double columnScalingBoundLAP = 5.0,
|
362
|
-
int skipGomory = 1);
|
363
|
-
|
364
|
-
/// Constructor from CglParam. If use_default_strategies is true, we
|
365
|
-
/// add to the list of strategies the default ones. If is false, the
|
366
|
-
/// list of strategies is left empty (must be populated before
|
367
|
-
/// usage!).
|
368
|
-
CglRedSplit2Param(const CglParam &source,
|
369
|
-
bool use_default_strategies = true,
|
370
|
-
double eps_elim = 0.0,
|
371
|
-
double eps_relax_abs = 1e-11,
|
372
|
-
double eps_relax_rel = 1e-13,
|
373
|
-
double max_dyn = 1e6,
|
374
|
-
double min_viol = 1e-3,
|
375
|
-
double max_supp_rel = 0.1,
|
376
|
-
int use_int_slacks = 0,
|
377
|
-
double norm_zero = 1e-5,
|
378
|
-
double minNormReduction = 0.1,
|
379
|
-
int maxSumMultipliers = 10,
|
380
|
-
double normalization = 0.0001,
|
381
|
-
double away = 0.005,
|
382
|
-
double timeLimit = 60,
|
383
|
-
int maxNumCuts = 10000,
|
384
|
-
int maxNumComputedCuts = 10000,
|
385
|
-
int maxNonzeroesTab = 1000,
|
386
|
-
double columnScalingBoundLAP = 5.0,
|
387
|
-
int skipGomory = 1);
|
388
|
-
|
389
|
-
/// Copy constructor
|
390
|
-
CglRedSplit2Param(const CglRedSplit2Param &source);
|
391
|
-
|
392
|
-
/// Clone
|
393
|
-
virtual CglRedSplit2Param* clone() const;
|
394
|
-
|
395
|
-
/// Assignment operator
|
396
|
-
virtual CglRedSplit2Param& operator=(const CglRedSplit2Param &rhs);
|
397
|
-
|
398
|
-
/// Destructor
|
399
|
-
virtual ~CglRedSplit2Param();
|
400
|
-
//@}
|
401
|
-
|
402
|
-
protected:
|
403
|
-
|
404
|
-
/**@name Parameters */
|
405
|
-
//@{
|
406
|
-
|
407
|
-
/** Epsilon for value of coefficients when eliminating slack variables.
|
408
|
-
Default: 0.0. */
|
409
|
-
double EPS_ELIM;
|
410
|
-
|
411
|
-
/** Value added to the right hand side of each generated cut to relax it.
|
412
|
-
Default: 1e-11 */
|
413
|
-
double EPS_RELAX_ABS;
|
414
|
-
|
415
|
-
/** For a generated cut with right hand side rhs_val,
|
416
|
-
EPS_RELAX_EPS * fabs(rhs_val) is used to relax the constraint.
|
417
|
-
Default: 1e-13 */
|
418
|
-
double EPS_RELAX_REL;
|
419
|
-
|
420
|
-
// Maximum ratio between largest and smallest non zero
|
421
|
-
// coefficients in a cut. Default: 1e6.
|
422
|
-
double MAXDYN;
|
423
|
-
|
424
|
-
/// Minimum violation for the current basic solution in a generated cut.
|
425
|
-
/// Default: 1e-3.
|
426
|
-
double MINVIOL;
|
427
|
-
|
428
|
-
/// Maximum support - relative part of the formula
|
429
|
-
double MAX_SUPP_REL;
|
430
|
-
|
431
|
-
/// Use integer slacks to generate cuts if USE_INTSLACKS = 1. Default: 0.
|
432
|
-
int USE_INTSLACKS;
|
433
|
-
|
434
|
-
/// Norm of a vector is considered zero if smaller than normIsZero;
|
435
|
-
/// Default: 1e-5.
|
436
|
-
double normIsZero_;
|
437
|
-
|
438
|
-
/// Minimum reduction to accept a new row.
|
439
|
-
double minNormReduction_;
|
440
|
-
|
441
|
-
/// Maximum sum of the vector of row multipliers to generate a cut
|
442
|
-
int maxSumMultipliers_;
|
443
|
-
|
444
|
-
/// Normalization factor for the norm of lambda in the quadratic
|
445
|
-
/// minimization problem that is solved during the coefficient reduction step
|
446
|
-
double normalization_;
|
447
|
-
|
448
|
-
/// Use row only if pivot variable should be integer but is more
|
449
|
-
/// than away_ from being integer. Default: 0.005
|
450
|
-
double away_;
|
451
|
-
|
452
|
-
/// Maximum number of rows to use for the reduction of a given row.
|
453
|
-
std::vector<int> numRowsReduction_;
|
454
|
-
|
455
|
-
/// Column selection method
|
456
|
-
std::vector<ColumnSelectionStrategy> columnSelectionStrategy_;
|
457
|
-
|
458
|
-
/// Row selection method
|
459
|
-
std::vector<RowSelectionStrategy> rowSelectionStrategy_;
|
460
|
-
|
461
|
-
/// Maximum number of rows to use for the reduction during Lift & Project
|
462
|
-
std::vector<int> numRowsReductionLAP_;
|
463
|
-
|
464
|
-
/// Column selection method for Lift & Project
|
465
|
-
std::vector<ColumnSelectionStrategy> columnSelectionStrategyLAP_;
|
466
|
-
|
467
|
-
/// Row selection method for Lift & Project
|
468
|
-
std::vector<RowSelectionStrategy> rowSelectionStrategyLAP_;
|
469
|
-
|
470
|
-
/// Column scaling strategy for the nonbasics columns that were basic in
|
471
|
-
/// the point that we want to cut off (Lift & Project only)
|
472
|
-
ColumnScalingStrategy columnScalingStrategyLAP_;
|
473
|
-
|
474
|
-
/// Minimum value for column scaling (Lift & Project only)
|
475
|
-
double columnScalingBoundLAP_;
|
476
|
-
|
477
|
-
/// Time limit
|
478
|
-
double timeLimit_;
|
479
|
-
|
480
|
-
/// Maximum number of returned cuts
|
481
|
-
int maxNumCuts_;
|
482
|
-
|
483
|
-
/// Maximum number of computed cuts
|
484
|
-
int maxNumComputedCuts_;
|
485
|
-
|
486
|
-
/// Maximum number of nonzeroes in tableau row for reduction
|
487
|
-
int maxNonzeroesTab_;
|
488
|
-
|
489
|
-
/// Skip simple Gomory cuts
|
490
|
-
int skipGomory_;
|
491
|
-
|
492
|
-
//@}
|
493
|
-
};
|
494
|
-
|
495
|
-
#endif
|