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.
Files changed (290) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/Rakefile +0 -2
  4. data/lib/ruby-cbc.rb +1 -1
  5. data/lib/ruby-cbc/problem.rb +6 -8
  6. data/lib/ruby-cbc/version.rb +1 -1
  7. data/ruby-cbc.gemspec +3 -2
  8. metadata +17 -287
  9. data/ext/ruby-cbc/cbc.i +0 -15
  10. data/ext/ruby-cbc/cbc_wrap.c +0 -4618
  11. data/ext/ruby-cbc/extconf.rb +0 -60
  12. data/ext/ruby-cbc/install/bin/cbc +0 -0
  13. data/ext/ruby-cbc/install/bin/clp +0 -0
  14. data/ext/ruby-cbc/install/include/coin/CbcBranchActual.hpp +0 -24
  15. data/ext/ruby-cbc/install/include/coin/CbcBranchAllDifferent.hpp +0 -62
  16. data/ext/ruby-cbc/install/include/coin/CbcBranchBase.hpp +0 -78
  17. data/ext/ruby-cbc/install/include/coin/CbcBranchCut.hpp +0 -183
  18. data/ext/ruby-cbc/install/include/coin/CbcBranchDecision.hpp +0 -129
  19. data/ext/ruby-cbc/install/include/coin/CbcBranchDefaultDecision.hpp +0 -100
  20. data/ext/ruby-cbc/install/include/coin/CbcBranchDynamic.hpp +0 -206
  21. data/ext/ruby-cbc/install/include/coin/CbcBranchLotsize.hpp +0 -242
  22. data/ext/ruby-cbc/install/include/coin/CbcBranchToFixLots.hpp +0 -94
  23. data/ext/ruby-cbc/install/include/coin/CbcBranchingObject.hpp +0 -236
  24. data/ext/ruby-cbc/install/include/coin/CbcClique.hpp +0 -303
  25. data/ext/ruby-cbc/install/include/coin/CbcCompare.hpp +0 -39
  26. data/ext/ruby-cbc/install/include/coin/CbcCompareActual.hpp +0 -14
  27. data/ext/ruby-cbc/install/include/coin/CbcCompareBase.hpp +0 -142
  28. data/ext/ruby-cbc/install/include/coin/CbcCompareDefault.hpp +0 -120
  29. data/ext/ruby-cbc/install/include/coin/CbcCompareDepth.hpp +0 -47
  30. data/ext/ruby-cbc/install/include/coin/CbcCompareEstimate.hpp +0 -48
  31. data/ext/ruby-cbc/install/include/coin/CbcCompareObjective.hpp +0 -49
  32. data/ext/ruby-cbc/install/include/coin/CbcConfig.h +0 -14
  33. data/ext/ruby-cbc/install/include/coin/CbcConsequence.hpp +0 -49
  34. data/ext/ruby-cbc/install/include/coin/CbcCountRowCut.hpp +0 -168
  35. data/ext/ruby-cbc/install/include/coin/CbcCutGenerator.hpp +0 -482
  36. data/ext/ruby-cbc/install/include/coin/CbcCutModifier.hpp +0 -57
  37. data/ext/ruby-cbc/install/include/coin/CbcCutSubsetModifier.hpp +0 -66
  38. data/ext/ruby-cbc/install/include/coin/CbcDummyBranchingObject.hpp +0 -83
  39. data/ext/ruby-cbc/install/include/coin/CbcEventHandler.hpp +0 -245
  40. data/ext/ruby-cbc/install/include/coin/CbcFathom.hpp +0 -137
  41. data/ext/ruby-cbc/install/include/coin/CbcFathomDynamicProgramming.hpp +0 -169
  42. data/ext/ruby-cbc/install/include/coin/CbcFeasibilityBase.hpp +0 -56
  43. data/ext/ruby-cbc/install/include/coin/CbcFixVariable.hpp +0 -67
  44. data/ext/ruby-cbc/install/include/coin/CbcFollowOn.hpp +0 -207
  45. data/ext/ruby-cbc/install/include/coin/CbcFullNodeInfo.hpp +0 -161
  46. data/ext/ruby-cbc/install/include/coin/CbcGeneral.hpp +0 -60
  47. data/ext/ruby-cbc/install/include/coin/CbcGeneralDepth.hpp +0 -279
  48. data/ext/ruby-cbc/install/include/coin/CbcHeuristic.hpp +0 -682
  49. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDINS.hpp +0 -96
  50. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDW.hpp +0 -309
  51. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDive.hpp +0 -192
  52. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveCoefficient.hpp +0 -52
  53. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveFractional.hpp +0 -52
  54. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveGuided.hpp +0 -55
  55. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveLineSearch.hpp +0 -52
  56. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDivePseudoCost.hpp +0 -60
  57. data/ext/ruby-cbc/install/include/coin/CbcHeuristicDiveVectorLength.hpp +0 -52
  58. data/ext/ruby-cbc/install/include/coin/CbcHeuristicFPump.hpp +0 -340
  59. data/ext/ruby-cbc/install/include/coin/CbcHeuristicGreedy.hpp +0 -280
  60. data/ext/ruby-cbc/install/include/coin/CbcHeuristicLocal.hpp +0 -271
  61. data/ext/ruby-cbc/install/include/coin/CbcHeuristicPivotAndFix.hpp +0 -58
  62. data/ext/ruby-cbc/install/include/coin/CbcHeuristicRENS.hpp +0 -77
  63. data/ext/ruby-cbc/install/include/coin/CbcHeuristicRINS.hpp +0 -102
  64. data/ext/ruby-cbc/install/include/coin/CbcHeuristicRandRound.hpp +0 -58
  65. data/ext/ruby-cbc/install/include/coin/CbcHeuristicVND.hpp +0 -94
  66. data/ext/ruby-cbc/install/include/coin/CbcLinked.hpp +0 -1406
  67. data/ext/ruby-cbc/install/include/coin/CbcMessage.hpp +0 -94
  68. data/ext/ruby-cbc/install/include/coin/CbcMipStartIO.hpp +0 -26
  69. data/ext/ruby-cbc/install/include/coin/CbcModel.hpp +0 -2952
  70. data/ext/ruby-cbc/install/include/coin/CbcNWay.hpp +0 -166
  71. data/ext/ruby-cbc/install/include/coin/CbcNode.hpp +0 -351
  72. data/ext/ruby-cbc/install/include/coin/CbcNodeInfo.hpp +0 -349
  73. data/ext/ruby-cbc/install/include/coin/CbcObject.hpp +0 -272
  74. data/ext/ruby-cbc/install/include/coin/CbcObjectUpdateData.hpp +0 -64
  75. data/ext/ruby-cbc/install/include/coin/CbcOrClpParam.cpp +0 -4134
  76. data/ext/ruby-cbc/install/include/coin/CbcOrClpParam.hpp +0 -532
  77. data/ext/ruby-cbc/install/include/coin/CbcParam.hpp +0 -324
  78. data/ext/ruby-cbc/install/include/coin/CbcPartialNodeInfo.hpp +0 -110
  79. data/ext/ruby-cbc/install/include/coin/CbcSOS.hpp +0 -279
  80. data/ext/ruby-cbc/install/include/coin/CbcSimpleInteger.hpp +0 -286
  81. data/ext/ruby-cbc/install/include/coin/CbcSimpleIntegerDynamicPseudoCost.hpp +0 -564
  82. data/ext/ruby-cbc/install/include/coin/CbcSimpleIntegerPseudoCost.hpp +0 -114
  83. data/ext/ruby-cbc/install/include/coin/CbcSolver.hpp +0 -447
  84. data/ext/ruby-cbc/install/include/coin/CbcStrategy.hpp +0 -258
  85. data/ext/ruby-cbc/install/include/coin/CbcSubProblem.hpp +0 -83
  86. data/ext/ruby-cbc/install/include/coin/CbcTree.hpp +0 -490
  87. data/ext/ruby-cbc/install/include/coin/CbcTreeLocal.hpp +0 -372
  88. data/ext/ruby-cbc/install/include/coin/Cbc_C_Interface.h +0 -381
  89. data/ext/ruby-cbc/install/include/coin/Cgl012cut.hpp +0 -464
  90. data/ext/ruby-cbc/install/include/coin/CglAllDifferent.hpp +0 -115
  91. data/ext/ruby-cbc/install/include/coin/CglClique.hpp +0 -308
  92. data/ext/ruby-cbc/install/include/coin/CglConfig.h +0 -19
  93. data/ext/ruby-cbc/install/include/coin/CglCutGenerator.hpp +0 -121
  94. data/ext/ruby-cbc/install/include/coin/CglDuplicateRow.hpp +0 -189
  95. data/ext/ruby-cbc/install/include/coin/CglFlowCover.hpp +0 -371
  96. data/ext/ruby-cbc/install/include/coin/CglGMI.hpp +0 -364
  97. data/ext/ruby-cbc/install/include/coin/CglGMIParam.hpp +0 -313
  98. data/ext/ruby-cbc/install/include/coin/CglGomory.hpp +0 -204
  99. data/ext/ruby-cbc/install/include/coin/CglKnapsackCover.hpp +0 -310
  100. data/ext/ruby-cbc/install/include/coin/CglLandP.hpp +0 -306
  101. data/ext/ruby-cbc/install/include/coin/CglLandPValidator.hpp +0 -130
  102. data/ext/ruby-cbc/install/include/coin/CglLiftAndProject.hpp +0 -104
  103. data/ext/ruby-cbc/install/include/coin/CglMessage.hpp +0 -50
  104. data/ext/ruby-cbc/install/include/coin/CglMixedIntegerRounding.hpp +0 -429
  105. data/ext/ruby-cbc/install/include/coin/CglMixedIntegerRounding2.hpp +0 -427
  106. data/ext/ruby-cbc/install/include/coin/CglOddHole.hpp +0 -160
  107. data/ext/ruby-cbc/install/include/coin/CglParam.hpp +0 -93
  108. data/ext/ruby-cbc/install/include/coin/CglPreProcess.hpp +0 -492
  109. data/ext/ruby-cbc/install/include/coin/CglProbing.hpp +0 -543
  110. data/ext/ruby-cbc/install/include/coin/CglRedSplit.hpp +0 -448
  111. data/ext/ruby-cbc/install/include/coin/CglRedSplit2.hpp +0 -494
  112. data/ext/ruby-cbc/install/include/coin/CglRedSplit2Param.hpp +0 -495
  113. data/ext/ruby-cbc/install/include/coin/CglRedSplitParam.hpp +0 -272
  114. data/ext/ruby-cbc/install/include/coin/CglResidualCapacity.hpp +0 -240
  115. data/ext/ruby-cbc/install/include/coin/CglSimpleRounding.hpp +0 -174
  116. data/ext/ruby-cbc/install/include/coin/CglStored.hpp +0 -125
  117. data/ext/ruby-cbc/install/include/coin/CglTreeInfo.hpp +0 -180
  118. data/ext/ruby-cbc/install/include/coin/CglTwomir.hpp +0 -565
  119. data/ext/ruby-cbc/install/include/coin/CglZeroHalf.hpp +0 -133
  120. data/ext/ruby-cbc/install/include/coin/ClpAmplObjective.hpp +0 -113
  121. data/ext/ruby-cbc/install/include/coin/ClpCholeskyBase.hpp +0 -294
  122. data/ext/ruby-cbc/install/include/coin/ClpCholeskyDense.hpp +0 -162
  123. data/ext/ruby-cbc/install/include/coin/ClpConfig.h +0 -17
  124. data/ext/ruby-cbc/install/include/coin/ClpConstraint.hpp +0 -125
  125. data/ext/ruby-cbc/install/include/coin/ClpConstraintAmpl.hpp +0 -108
  126. data/ext/ruby-cbc/install/include/coin/ClpConstraintLinear.hpp +0 -110
  127. data/ext/ruby-cbc/install/include/coin/ClpConstraintQuadratic.hpp +0 -119
  128. data/ext/ruby-cbc/install/include/coin/ClpDualRowDantzig.hpp +0 -71
  129. data/ext/ruby-cbc/install/include/coin/ClpDualRowPivot.hpp +0 -129
  130. data/ext/ruby-cbc/install/include/coin/ClpDualRowSteepest.hpp +0 -153
  131. data/ext/ruby-cbc/install/include/coin/ClpDummyMatrix.hpp +0 -183
  132. data/ext/ruby-cbc/install/include/coin/ClpDynamicExampleMatrix.hpp +0 -186
  133. data/ext/ruby-cbc/install/include/coin/ClpDynamicMatrix.hpp +0 -381
  134. data/ext/ruby-cbc/install/include/coin/ClpEventHandler.hpp +0 -187
  135. data/ext/ruby-cbc/install/include/coin/ClpFactorization.hpp +0 -432
  136. data/ext/ruby-cbc/install/include/coin/ClpGubDynamicMatrix.hpp +0 -247
  137. data/ext/ruby-cbc/install/include/coin/ClpGubMatrix.hpp +0 -358
  138. data/ext/ruby-cbc/install/include/coin/ClpInterior.hpp +0 -570
  139. data/ext/ruby-cbc/install/include/coin/ClpLinearObjective.hpp +0 -103
  140. data/ext/ruby-cbc/install/include/coin/ClpMatrixBase.hpp +0 -524
  141. data/ext/ruby-cbc/install/include/coin/ClpMessage.hpp +0 -131
  142. data/ext/ruby-cbc/install/include/coin/ClpModel.hpp +0 -1307
  143. data/ext/ruby-cbc/install/include/coin/ClpNetworkMatrix.hpp +0 -229
  144. data/ext/ruby-cbc/install/include/coin/ClpNode.hpp +0 -349
  145. data/ext/ruby-cbc/install/include/coin/ClpNonLinearCost.hpp +0 -401
  146. data/ext/ruby-cbc/install/include/coin/ClpObjective.hpp +0 -134
  147. data/ext/ruby-cbc/install/include/coin/ClpPackedMatrix.hpp +0 -638
  148. data/ext/ruby-cbc/install/include/coin/ClpParameters.hpp +0 -126
  149. data/ext/ruby-cbc/install/include/coin/ClpPdcoBase.hpp +0 -103
  150. data/ext/ruby-cbc/install/include/coin/ClpPlusMinusOneMatrix.hpp +0 -290
  151. data/ext/ruby-cbc/install/include/coin/ClpPresolve.hpp +0 -299
  152. data/ext/ruby-cbc/install/include/coin/ClpPrimalColumnDantzig.hpp +0 -72
  153. data/ext/ruby-cbc/install/include/coin/ClpPrimalColumnPivot.hpp +0 -155
  154. data/ext/ruby-cbc/install/include/coin/ClpPrimalColumnSteepest.hpp +0 -247
  155. data/ext/ruby-cbc/install/include/coin/ClpQuadraticObjective.hpp +0 -155
  156. data/ext/ruby-cbc/install/include/coin/ClpSimplex.hpp +0 -1797
  157. data/ext/ruby-cbc/install/include/coin/ClpSimplexDual.hpp +0 -300
  158. data/ext/ruby-cbc/install/include/coin/ClpSimplexNonlinear.hpp +0 -117
  159. data/ext/ruby-cbc/install/include/coin/ClpSimplexOther.hpp +0 -277
  160. data/ext/ruby-cbc/install/include/coin/ClpSimplexPrimal.hpp +0 -244
  161. data/ext/ruby-cbc/install/include/coin/ClpSolve.hpp +0 -446
  162. data/ext/ruby-cbc/install/include/coin/Clp_C_Interface.h +0 -525
  163. data/ext/ruby-cbc/install/include/coin/CoinAlloc.hpp +0 -176
  164. data/ext/ruby-cbc/install/include/coin/CoinBuild.hpp +0 -149
  165. data/ext/ruby-cbc/install/include/coin/CoinDenseFactorization.hpp +0 -419
  166. data/ext/ruby-cbc/install/include/coin/CoinDenseVector.hpp +0 -383
  167. data/ext/ruby-cbc/install/include/coin/CoinDistance.hpp +0 -48
  168. data/ext/ruby-cbc/install/include/coin/CoinError.hpp +0 -257
  169. data/ext/ruby-cbc/install/include/coin/CoinFactorization.hpp +0 -2044
  170. data/ext/ruby-cbc/install/include/coin/CoinFileIO.hpp +0 -166
  171. data/ext/ruby-cbc/install/include/coin/CoinFinite.hpp +0 -34
  172. data/ext/ruby-cbc/install/include/coin/CoinFloatEqual.hpp +0 -177
  173. data/ext/ruby-cbc/install/include/coin/CoinHelperFunctions.hpp +0 -1111
  174. data/ext/ruby-cbc/install/include/coin/CoinIndexedVector.hpp +0 -1164
  175. data/ext/ruby-cbc/install/include/coin/CoinLpIO.hpp +0 -805
  176. data/ext/ruby-cbc/install/include/coin/CoinMessage.hpp +0 -96
  177. data/ext/ruby-cbc/install/include/coin/CoinMessageHandler.hpp +0 -666
  178. data/ext/ruby-cbc/install/include/coin/CoinModel.hpp +0 -1054
  179. data/ext/ruby-cbc/install/include/coin/CoinModelUseful.hpp +0 -441
  180. data/ext/ruby-cbc/install/include/coin/CoinMpsIO.hpp +0 -1056
  181. data/ext/ruby-cbc/install/include/coin/CoinOslFactorization.hpp +0 -280
  182. data/ext/ruby-cbc/install/include/coin/CoinPackedMatrix.hpp +0 -947
  183. data/ext/ruby-cbc/install/include/coin/CoinPackedVector.hpp +0 -657
  184. data/ext/ruby-cbc/install/include/coin/CoinPackedVectorBase.hpp +0 -269
  185. data/ext/ruby-cbc/install/include/coin/CoinParam.hpp +0 -644
  186. data/ext/ruby-cbc/install/include/coin/CoinPragma.hpp +0 -26
  187. data/ext/ruby-cbc/install/include/coin/CoinPresolveDoubleton.hpp +0 -73
  188. data/ext/ruby-cbc/install/include/coin/CoinPresolveDual.hpp +0 -85
  189. data/ext/ruby-cbc/install/include/coin/CoinPresolveDupcol.hpp +0 -226
  190. data/ext/ruby-cbc/install/include/coin/CoinPresolveEmpty.hpp +0 -116
  191. data/ext/ruby-cbc/install/include/coin/CoinPresolveFixed.hpp +0 -181
  192. data/ext/ruby-cbc/install/include/coin/CoinPresolveForcing.hpp +0 -61
  193. data/ext/ruby-cbc/install/include/coin/CoinPresolveImpliedFree.hpp +0 -60
  194. data/ext/ruby-cbc/install/include/coin/CoinPresolveIsolated.hpp +0 -51
  195. data/ext/ruby-cbc/install/include/coin/CoinPresolveMatrix.hpp +0 -1842
  196. data/ext/ruby-cbc/install/include/coin/CoinPresolveMonitor.hpp +0 -105
  197. data/ext/ruby-cbc/install/include/coin/CoinPresolvePsdebug.hpp +0 -166
  198. data/ext/ruby-cbc/install/include/coin/CoinPresolveSingleton.hpp +0 -112
  199. data/ext/ruby-cbc/install/include/coin/CoinPresolveSubst.hpp +0 -101
  200. data/ext/ruby-cbc/install/include/coin/CoinPresolveTighten.hpp +0 -55
  201. data/ext/ruby-cbc/install/include/coin/CoinPresolveTripleton.hpp +0 -66
  202. data/ext/ruby-cbc/install/include/coin/CoinPresolveUseless.hpp +0 -63
  203. data/ext/ruby-cbc/install/include/coin/CoinPresolveZeros.hpp +0 -60
  204. data/ext/ruby-cbc/install/include/coin/CoinRational.hpp +0 -44
  205. data/ext/ruby-cbc/install/include/coin/CoinSearchTree.hpp +0 -465
  206. data/ext/ruby-cbc/install/include/coin/CoinShallowPackedVector.hpp +0 -148
  207. data/ext/ruby-cbc/install/include/coin/CoinSignal.hpp +0 -117
  208. data/ext/ruby-cbc/install/include/coin/CoinSimpFactorization.hpp +0 -431
  209. data/ext/ruby-cbc/install/include/coin/CoinSmartPtr.hpp +0 -528
  210. data/ext/ruby-cbc/install/include/coin/CoinSnapshot.hpp +0 -476
  211. data/ext/ruby-cbc/install/include/coin/CoinSort.hpp +0 -678
  212. data/ext/ruby-cbc/install/include/coin/CoinStructuredModel.hpp +0 -247
  213. data/ext/ruby-cbc/install/include/coin/CoinTime.hpp +0 -310
  214. data/ext/ruby-cbc/install/include/coin/CoinTypes.hpp +0 -64
  215. data/ext/ruby-cbc/install/include/coin/CoinUtility.hpp +0 -19
  216. data/ext/ruby-cbc/install/include/coin/CoinUtilsConfig.h +0 -34
  217. data/ext/ruby-cbc/install/include/coin/CoinWarmStart.hpp +0 -58
  218. data/ext/ruby-cbc/install/include/coin/CoinWarmStartBasis.hpp +0 -456
  219. data/ext/ruby-cbc/install/include/coin/CoinWarmStartDual.hpp +0 -166
  220. data/ext/ruby-cbc/install/include/coin/CoinWarmStartPrimalDual.hpp +0 -211
  221. data/ext/ruby-cbc/install/include/coin/CoinWarmStartVector.hpp +0 -488
  222. data/ext/ruby-cbc/install/include/coin/Coin_C_defines.h +0 -115
  223. data/ext/ruby-cbc/install/include/coin/Idiot.hpp +0 -298
  224. data/ext/ruby-cbc/install/include/coin/OsiAuxInfo.hpp +0 -206
  225. data/ext/ruby-cbc/install/include/coin/OsiBranchingObject.hpp +0 -1005
  226. data/ext/ruby-cbc/install/include/coin/OsiCbcSolverInterface.hpp +0 -764
  227. data/ext/ruby-cbc/install/include/coin/OsiChooseVariable.hpp +0 -534
  228. data/ext/ruby-cbc/install/include/coin/OsiClpSolverInterface.hpp +0 -1509
  229. data/ext/ruby-cbc/install/include/coin/OsiColCut.hpp +0 -324
  230. data/ext/ruby-cbc/install/include/coin/OsiCollections.hpp +0 -35
  231. data/ext/ruby-cbc/install/include/coin/OsiConfig.h +0 -19
  232. data/ext/ruby-cbc/install/include/coin/OsiCut.hpp +0 -245
  233. data/ext/ruby-cbc/install/include/coin/OsiCuts.hpp +0 -474
  234. data/ext/ruby-cbc/install/include/coin/OsiPresolve.hpp +0 -252
  235. data/ext/ruby-cbc/install/include/coin/OsiRowCut.hpp +0 -331
  236. data/ext/ruby-cbc/install/include/coin/OsiRowCutDebugger.hpp +0 -187
  237. data/ext/ruby-cbc/install/include/coin/OsiSolverBranch.hpp +0 -152
  238. data/ext/ruby-cbc/install/include/coin/OsiSolverInterface.hpp +0 -2143
  239. data/ext/ruby-cbc/install/include/coin/OsiSolverParameters.hpp +0 -142
  240. data/ext/ruby-cbc/install/include/coin/OsiUnitTests.hpp +0 -374
  241. data/ext/ruby-cbc/install/lib/libCbc.la +0 -35
  242. data/ext/ruby-cbc/install/lib/libCbc.so +0 -0
  243. data/ext/ruby-cbc/install/lib/libCbc.so.3 +0 -0
  244. data/ext/ruby-cbc/install/lib/libCbc.so.3.9.7 +0 -0
  245. data/ext/ruby-cbc/install/lib/libCbcSolver.la +0 -35
  246. data/ext/ruby-cbc/install/lib/libCbcSolver.so +0 -0
  247. data/ext/ruby-cbc/install/lib/libCbcSolver.so.3 +0 -0
  248. data/ext/ruby-cbc/install/lib/libCbcSolver.so.3.9.7 +0 -0
  249. data/ext/ruby-cbc/install/lib/libCgl.la +0 -35
  250. data/ext/ruby-cbc/install/lib/libCgl.so +0 -0
  251. data/ext/ruby-cbc/install/lib/libCgl.so.1 +0 -0
  252. data/ext/ruby-cbc/install/lib/libCgl.so.1.9.7 +0 -0
  253. data/ext/ruby-cbc/install/lib/libClp.la +0 -35
  254. data/ext/ruby-cbc/install/lib/libClp.so +0 -0
  255. data/ext/ruby-cbc/install/lib/libClp.so.1 +0 -0
  256. data/ext/ruby-cbc/install/lib/libClp.so.1.13.9 +0 -0
  257. data/ext/ruby-cbc/install/lib/libClpSolver.la +0 -35
  258. data/ext/ruby-cbc/install/lib/libClpSolver.so +0 -0
  259. data/ext/ruby-cbc/install/lib/libClpSolver.so.1 +0 -0
  260. data/ext/ruby-cbc/install/lib/libClpSolver.so.1.13.9 +0 -0
  261. data/ext/ruby-cbc/install/lib/libCoinUtils.la +0 -35
  262. data/ext/ruby-cbc/install/lib/libCoinUtils.so +0 -0
  263. data/ext/ruby-cbc/install/lib/libCoinUtils.so.3 +0 -0
  264. data/ext/ruby-cbc/install/lib/libCoinUtils.so.3.10.11 +0 -0
  265. data/ext/ruby-cbc/install/lib/libOsi.la +0 -35
  266. data/ext/ruby-cbc/install/lib/libOsi.so +0 -0
  267. data/ext/ruby-cbc/install/lib/libOsi.so.1 +0 -0
  268. data/ext/ruby-cbc/install/lib/libOsi.so.1.12.6 +0 -0
  269. data/ext/ruby-cbc/install/lib/libOsiCbc.la +0 -35
  270. data/ext/ruby-cbc/install/lib/libOsiCbc.so +0 -0
  271. data/ext/ruby-cbc/install/lib/libOsiCbc.so.3 +0 -0
  272. data/ext/ruby-cbc/install/lib/libOsiCbc.so.3.9.7 +0 -0
  273. data/ext/ruby-cbc/install/lib/libOsiClp.la +0 -35
  274. data/ext/ruby-cbc/install/lib/libOsiClp.so +0 -0
  275. data/ext/ruby-cbc/install/lib/libOsiClp.so.1 +0 -0
  276. data/ext/ruby-cbc/install/lib/libOsiClp.so.1.13.9 +0 -0
  277. data/ext/ruby-cbc/install/lib/libOsiCommonTests.la +0 -35
  278. data/ext/ruby-cbc/install/lib/libOsiCommonTests.so +0 -0
  279. data/ext/ruby-cbc/install/lib/libOsiCommonTests.so.1 +0 -0
  280. data/ext/ruby-cbc/install/lib/libOsiCommonTests.so.1.12.6 +0 -0
  281. data/ext/ruby-cbc/install/lib/pkgconfig/cbc.pc +0 -12
  282. data/ext/ruby-cbc/install/lib/pkgconfig/cgl.pc +0 -12
  283. data/ext/ruby-cbc/install/lib/pkgconfig/clp.pc +0 -12
  284. data/ext/ruby-cbc/install/lib/pkgconfig/coindatamiplib3.pc +0 -9
  285. data/ext/ruby-cbc/install/lib/pkgconfig/coindatasample.pc +0 -9
  286. data/ext/ruby-cbc/install/lib/pkgconfig/coinutils.pc +0 -12
  287. data/ext/ruby-cbc/install/lib/pkgconfig/osi-cbc.pc +0 -12
  288. data/ext/ruby-cbc/install/lib/pkgconfig/osi-clp.pc +0 -12
  289. data/ext/ruby-cbc/install/lib/pkgconfig/osi-unittests.pc +0 -12
  290. data/ext/ruby-cbc/install/lib/pkgconfig/osi.pc +0 -12
@@ -1,96 +0,0 @@
1
- // $Id: CbcHeuristicDINS.hpp 1899 2013-04-09 18:12:08Z stefan $
2
- // Copyright (C) 2006, 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 12/5/09 carved out of CbcHeuristicRINS
7
-
8
- #ifndef CbcHeuristicDINS_H
9
- #define CbcHeuristicDINS_H
10
-
11
- #include "CbcHeuristic.hpp"
12
-
13
-
14
- class CbcHeuristicDINS : public CbcHeuristic {
15
- public:
16
-
17
- // Default Constructor
18
- CbcHeuristicDINS ();
19
-
20
- /* Constructor with model - assumed before cuts
21
- Initial version does not do Lps
22
- */
23
- CbcHeuristicDINS (CbcModel & model);
24
-
25
- // Copy constructor
26
- CbcHeuristicDINS ( const CbcHeuristicDINS &);
27
-
28
- // Destructor
29
- ~CbcHeuristicDINS ();
30
-
31
- /// Clone
32
- virtual CbcHeuristic * clone() const;
33
-
34
-
35
- /// Assignment operator
36
- CbcHeuristicDINS & operator=(const CbcHeuristicDINS& rhs);
37
-
38
- /// Create C++ lines to get to current state
39
- virtual void generateCpp( FILE * fp) ;
40
-
41
- /// Resets stuff if model changes
42
- virtual void resetModel(CbcModel * model);
43
-
44
- /// update model (This is needed if cliques update matrix etc)
45
- virtual void setModel(CbcModel * model);
46
-
47
- using CbcHeuristic::solution ;
48
- /** returns 0 if no solution, 1 if valid solution.
49
- Sets solution values if good, sets objective value (only if good)
50
- This does Relaxation Induced Neighborhood Search
51
- */
52
- virtual int solution(double & objectiveValue,
53
- double * newSolution);
54
- /// This version fixes stuff and does IP
55
- int solutionFix(double & objectiveValue,
56
- double * newSolution,
57
- const int * keep);
58
-
59
- /// Sets how often to do it
60
- inline void setHowOften(int value) {
61
- howOften_ = value;
62
- }
63
- /// Sets maximum number of solutions kept
64
- inline void setMaximumKeep(int value) {
65
- maximumKeepSolutions_ = value;
66
- }
67
- /// Sets tightness of extra constraint
68
- inline void setConstraint(int value) {
69
- localSpace_ = value;
70
- }
71
-
72
- protected:
73
- // Data
74
-
75
- /// Number of solutions so we can do something at solution
76
- int numberSolutions_;
77
- /// How often to do (code can change)
78
- int howOften_;
79
- /// Number of successes
80
- int numberSuccesses_;
81
- /// Number of tries
82
- int numberTries_;
83
- /// Maximum number of solutions to keep
84
- int maximumKeepSolutions_;
85
- /// Number of solutions kept
86
- int numberKeptSolutions_;
87
- /// Number of integer variables
88
- int numberIntegers_;
89
- /// Local parameter
90
- int localSpace_;
91
- /// Values of integer variables
92
- int ** values_;
93
- };
94
-
95
- #endif
96
-
@@ -1,309 +0,0 @@
1
- // $Id: CbcHeuristicDW.hpp 1899 2013-04-09 18:12:08Z stefan $
2
- // Copyright (C) 2006, 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
-
7
- #ifndef CbcHeuristicDW_H
8
- #define CbcHeuristicDW_H
9
-
10
- #include "CbcHeuristic.hpp"
11
-
12
- /**
13
- This is unlike the other heuristics in that it is very very compute intensive.
14
- It tries to find a DW structure and use that
15
- */
16
-
17
- class CbcHeuristicDW : public CbcHeuristic {
18
- public:
19
-
20
- // Default Constructor
21
- CbcHeuristicDW ();
22
-
23
- /* Constructor with model - assumed before cuts
24
- */
25
- CbcHeuristicDW (CbcModel & model, int keepContinuous=0);
26
-
27
- /* Constructor with model - assumed before cuts
28
- */
29
- CbcHeuristicDW (CbcModel & model,
30
- int callBack(CbcHeuristicDW * currentHeuristic,
31
- CbcModel * thisModel,
32
- int whereFrom),
33
- int keepContinuous=0);
34
-
35
- // Copy constructor
36
- CbcHeuristicDW ( const CbcHeuristicDW &);
37
-
38
- // Destructor
39
- ~CbcHeuristicDW ();
40
-
41
- /// Clone
42
- virtual CbcHeuristic * clone() const;
43
-
44
-
45
- /// Assignment operator
46
- CbcHeuristicDW & operator=(const CbcHeuristicDW& rhs);
47
-
48
- /// Create C++ lines to get to current state
49
- virtual void generateCpp( FILE * fp) ;
50
-
51
- /// Resets stuff if model changes
52
- virtual void resetModel(CbcModel * model);
53
-
54
- /// update model (This is needed if cliques update matrix etc)
55
- virtual void setModel(CbcModel * model);
56
- using CbcHeuristic::solution ;
57
- /** returns 0 if no solution, 1 if valid solution.
58
- Sets solution values if good, sets objective value (only if good)
59
- This does Relaxation Induced Neighborhood Search
60
- */
61
- virtual int solution(double & objectiveValue,
62
- double * newSolution);
63
- /** Return number of blocks
64
- <=0 - no usable structure */
65
- inline int numberBlocks() const
66
- { return numberBlocks_;}
67
- /// Pass in a solution
68
- void passInSolution(const double * solution);
69
- /// Pass in continuous solution
70
- void passInContinuousSolution(const double * solution);
71
- /** DW Proposal actions
72
- fullDWEverySoOften -
73
- 0 - off
74
- k - every k times solution gets better
75
- */
76
- void setProposalActions(int fullDWEverySoOften);
77
- /// Objective value when whichDw created
78
- double objectiveValueWhen(int whichDW) const;
79
- /// Number of columns in DW
80
- int numberColumnsDW(int whichDW) const;
81
- /// Solver
82
- inline OsiSolverInterface * solver() const
83
- { return solver_;}
84
- /// DW model (user must delete)
85
- OsiSolverInterface * DWModel(int whichDW) const;
86
- /// Best objective value
87
- inline double bestObjective() const
88
- { return bestObjective_;}
89
- /// Best solution found so far
90
- inline const double * bestSolution() const
91
- { return bestSolution_;}
92
- /// Continuous solution
93
- inline const double * continuousSolution() const
94
- { return continuousSolution_;}
95
- /// Reduced costs of fixed solution
96
- inline const double * fixedDj() const
97
- { return fixedDj_;}
98
- /// Objective at which DW updated
99
- inline const double * objectiveDW() const
100
- { return objectiveDW_;}
101
- /// Number of times we have added to DW model
102
- inline int numberDWTimes() const
103
- { return numberDWTimes_;}
104
- /// Number of columns in DW
105
- inline const int * numberColumnsDW() const
106
- { return numberColumnsDW_;}
107
- /// Set number of passes
108
- inline void setNumberPasses(int value)
109
- { numberPasses_ = value;}
110
- /// Set number of passes without better solution
111
- inline void setNumberBadPasses(int value)
112
- { numberBadPasses_ = value;}
113
- /// Set number free integers needed (Base value)
114
- inline void setNumberNeeded(int value)
115
- { nNeededBase_ = value;}
116
- /// Get number free integers needed (Base value)
117
- inline int getNumberNeeded() const
118
- {return nNeededBase_;}
119
- /// Set number free integers needed (Current value)
120
- inline void setCurrentNumberNeeded(int value)
121
- { nNeeded_ = value;}
122
- /// Get number free integers needed (Current value)
123
- inline int getCurrentNumberNeeded() const
124
- {return nNeeded_;}
125
- /// Set number nodes (could be done in callback) (Base value)
126
- inline void setNumberNodes(int value)
127
- { nNodesBase_ = value;}
128
- /// Get number nodes (could be done in callback) (Base value)
129
- inline int getNumberNodes() const
130
- {return nNodesBase_;}
131
- /// Set number nodes (could be done in callback) (Current value)
132
- inline void setCurrentNumberNodes(int value)
133
- { nNodes_ = value;}
134
- /// Get number nodes (could be done in callback) (Current value)
135
- inline int getCurrentNumberNodes() const
136
- {return nNodes_;}
137
- /// Set target objective
138
- inline void setTargetObjective(double value)
139
- { targetObjective_ = value;}
140
- /// Sets how often to do it
141
- inline void setHowOften(int value) {
142
- howOften_ = value;
143
- }
144
- /// Block for every row
145
- inline const int * whichRowBlock() const
146
- { return whichRowBlock_;}
147
- /// Block for every column
148
- inline const int * whichColumnBlock() const
149
- { return whichColumnBlock_;}
150
- /// Initial Lower bounds
151
- inline double * initialLower() const
152
- { return saveLower_;}
153
- /// Initial Upper bounds
154
- inline double * initialUpper() const
155
- { return saveUpper_;}
156
- /// Local integer arrays (each numberBlocks_ long)
157
- inline int * intArrays() const
158
- { return intArray_;}
159
- /// Local double arrays (each numberBlocks_ long)
160
- inline double * doubleArrays() const
161
- { return doubleArray_;}
162
- /// Phase of solution
163
- inline int phase() const
164
- { return phase_;}
165
- /// Pass number
166
- inline int pass() const
167
- { return pass_;}
168
- /// Which columns are in block
169
- inline const int * columnsInBlock() const
170
- { return columnsInBlock_;}
171
- /// Starts for columnsInBlock
172
- inline const int * startColumnBlock() const
173
- { return startColumnBlock_;}
174
- /// Number of integer variables in each block
175
- inline const int * intsInBlock() const
176
- { return intsInBlock_;}
177
- /// Objective value (could also check validity)
178
- double objectiveValue(const double * solution);
179
- private:
180
- /// Guts of copy
181
- void gutsOfCopy(const CbcHeuristicDW & rhs);
182
- /// Guts of delete
183
- void gutsOfDelete();
184
- /// Set default values
185
- void setDefaults();
186
- /// Find structure
187
- void findStructure();
188
- /// Set up DW structure
189
- void setupDWStructures();
190
- /// Add DW proposals
191
- int addDW(const double * solution,int numberBlocksUsed,
192
- const int * whichBlocks);
193
- protected:
194
- typedef int (*heuristicCallBack) (CbcHeuristicDW * ,CbcModel *, int) ;
195
- // Data
196
- /// Target objective
197
- double targetObjective_;
198
- /// Best objective value
199
- double bestObjective_;
200
- /// Objective value last time
201
- double lastObjective_;
202
- /** Call back
203
- whereFrom -
204
- 0 - after blocks found but before data setup
205
- 1 - after blocks sorted but before used
206
- 2 - just before normal branch and bound
207
- 3 - after DW has been updated
208
- 4 - if better solution found
209
- 5 - every time a block might be used
210
- next few for adjustment of nNeeded etc
211
- 6 - complete search done - no solution
212
- 7 - stopped on nodes - no improvement
213
- 8 - improving (same as 4 but after nNeeded changed
214
- Pointers to local data given by following pointers
215
- */
216
- heuristicCallBack functionPointer_;
217
- /// Local integer arrays (each numberBlocks_ long)
218
- int * intArray_;
219
- /// Local double arrays (each numberBlocks_ long)
220
- double * doubleArray_;
221
- /// Base solver
222
- OsiSolverInterface * solver_;
223
- /// DW solver
224
- OsiSolverInterface * dwSolver_;
225
- /// Best solution found so far
226
- double * bestSolution_;
227
- /// Continuous solution
228
- double * continuousSolution_;
229
- /// Reduced costs of fixed solution
230
- double * fixedDj_;
231
- /// Original lower bounds
232
- double * saveLower_;
233
- /// Original Upper bounds
234
- double * saveUpper_;
235
- /// random numbers for master rows
236
- double * random_;
237
- /// Weights for each proposal
238
- double * weights_;
239
- /// Objective at which DW updated
240
- double * objectiveDW_;
241
- /// Number of columns in each DW
242
- int * numberColumnsDW_;
243
- /// Block for every row
244
- int * whichRowBlock_;
245
- /// Block for every column
246
- int * whichColumnBlock_;
247
- /// Block number for each proposal
248
- int * dwBlock_;
249
- /// Points back to master rows
250
- int * backwardRow_;
251
- /// Which rows are in blocke
252
- int * rowsInBlock_;
253
- /// Which columns are in block
254
- int * columnsInBlock_;
255
- /// Starts for rowsInBlock
256
- int * startRowBlock_;
257
- /// Starts for columnsInBlock
258
- int * startColumnBlock_;
259
- /// Number of integer variables in each block
260
- int * intsInBlock_;
261
- /// Bits set for 1 integers in each block
262
- unsigned int * fingerPrint_;
263
- /// Affinity each block has for other (will be triangular?)
264
- unsigned short * affinity_;
265
- /** DW Proposal actions
266
- fullDWEverySoOften -
267
- 0 - off
268
- k - every k times solution gets better
269
- */
270
- int fullDWEverySoOften_;
271
- /// Number of passes
272
- int numberPasses_;
273
- /// How often to do (code can change)
274
- int howOften_;
275
- /// Current maximum number of DW proposals
276
- int maximumDW_;
277
- /// Number of DW proposals
278
- int numberDW_;
279
- /// Number of times we have added to DW model
280
- int numberDWTimes_;
281
- /// Number of unsigned ints needed for each block of fingerPrint
282
- int sizeFingerPrint_;
283
- /// Number of columns in master
284
- int numberMasterColumns_;
285
- /// Number of rows in master
286
- int numberMasterRows_;
287
- /// Number of blocks
288
- int numberBlocks_;
289
- /// Action on decomposition - 1 keep continuous, 0 don't
290
- int keepContinuous_;
291
- /// Phase of solution
292
- int phase_;
293
- /// Pass number
294
- int pass_;
295
- /// Base number of integers needed
296
- int nNeededBase_;
297
- /// Base number of nodes needed
298
- int nNodesBase_;
299
- /// Base number of integers needed
300
- int nNeeded_;
301
- /// Base number of nodes needed
302
- int nNodes_;
303
- /// Number of passes without better solution
304
- int numberBadPasses_;
305
- // 0 - fine, 1 can't be better, 2 max node
306
- int solveState_;
307
- };
308
-
309
- #endif
@@ -1,192 +0,0 @@
1
- /* $Id: CbcHeuristicDive.hpp 2093 2014-11-06 16:17:38Z forrest $ */
2
- // Copyright (C) 2008, 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
- #ifndef CbcHeuristicDive_H
7
- #define CbcHeuristicDive_H
8
-
9
- #include "CbcHeuristic.hpp"
10
- class CbcSubProblem;
11
- class OsiRowCut;
12
- struct PseudoReducedCost {
13
- int var;
14
- double pseudoRedCost;
15
- };
16
-
17
-
18
- /** Dive class
19
- */
20
-
21
- class CbcHeuristicDive : public CbcHeuristic {
22
- public:
23
-
24
- // Default Constructor
25
- CbcHeuristicDive ();
26
-
27
- // Constructor with model - assumed before cuts
28
- CbcHeuristicDive (CbcModel & model);
29
-
30
- // Copy constructor
31
- CbcHeuristicDive ( const CbcHeuristicDive &);
32
-
33
- // Destructor
34
- ~CbcHeuristicDive ();
35
-
36
- /// Clone
37
- virtual CbcHeuristicDive * clone() const = 0;
38
-
39
- /// Assignment operator
40
- CbcHeuristicDive & operator=(const CbcHeuristicDive& rhs);
41
-
42
- /// Create C++ lines to get to current state
43
- virtual void generateCpp( FILE * ) {}
44
-
45
- /// Create C++ lines to get to current state - does work for base class
46
- void generateCpp( FILE * fp, const char * heuristic);
47
-
48
- /// Resets stuff if model changes
49
- virtual void resetModel(CbcModel * model);
50
-
51
- /// update model (This is needed if cliques update matrix etc)
52
- virtual void setModel(CbcModel * model);
53
-
54
- // REMLOVE using CbcHeuristic::solution ;
55
- /** returns 0 if no solution, 1 if valid solution
56
- with better objective value than one passed in
57
- Sets solution values if good, sets objective value (only if good)
58
- This is called after cuts have been added - so can not add cuts
59
- This does Fractional Diving
60
- */
61
- virtual int solution(double & objectiveValue,
62
- double * newSolution);
63
- /// inner part of dive
64
- int solution(double & objectiveValue, int & numberNodes,
65
- int & numberCuts, OsiRowCut ** cuts,
66
- CbcSubProblem ** & nodes,
67
- double * newSolution);
68
- /** returns 0 if no solution, 1 if valid solution
69
- with better objective value than one passed in
70
- also returns list of nodes
71
- This does Fractional Diving
72
- */
73
- int fathom(CbcModel * model, int & numberNodes,CbcSubProblem ** & nodes);
74
-
75
- /// Validate model i.e. sets when_ to 0 if necessary (may be NULL)
76
- virtual void validate();
77
-
78
- /// Sets priorities if any
79
- void setPriorities();
80
-
81
- /// Select candidate binary variables for fixing
82
- void selectBinaryVariables();
83
-
84
- /// Set percentage of integer variables to fix at bounds
85
- void setPercentageToFix(double value) {
86
- percentageToFix_ = value;
87
- }
88
-
89
- /// Set maximum number of iterations
90
- void setMaxIterations(int value) {
91
- maxIterations_ = value;
92
- }
93
-
94
- /// Set maximum number of simplex iterations
95
- void setMaxSimplexIterations(int value) {
96
- maxSimplexIterations_ = value;
97
- }
98
- /// Get maximum number of simplex iterations
99
- inline int maxSimplexIterations() const {
100
- return maxSimplexIterations_;
101
- }
102
-
103
- /// Set maximum number of simplex iterations at root node
104
- void setMaxSimplexIterationsAtRoot(int value) {
105
- maxSimplexIterationsAtRoot_ = value;
106
- }
107
-
108
- /// Set maximum time allowed
109
- void setMaxTime(double value) {
110
- maxTime_ = value;
111
- }
112
-
113
- /// Tests if the heuristic can run
114
- virtual bool canHeuristicRun();
115
-
116
- /** Selects the next variable to branch on
117
- Returns true if all the fractional variables can be trivially
118
- rounded. Returns false, if there is at least one fractional variable
119
- that is not trivially roundable. In this case, the bestColumn
120
- returned will not be trivially roundable.
121
- */
122
- virtual bool selectVariableToBranch(OsiSolverInterface* solver,
123
- const double* newSolution,
124
- int& bestColumn,
125
- int& bestRound) = 0;
126
- /** Initializes any data which is going to be used repeatedly
127
- in selectVariableToBranch */
128
- virtual void initializeData() {}
129
-
130
- /// Perform reduced cost fixing on integer variables
131
- int reducedCostFix (OsiSolverInterface* solver);
132
- /// Fix other variables at bounds
133
- virtual int fixOtherVariables(OsiSolverInterface * solver,
134
- const double * solution,
135
- PseudoReducedCost * candidate,
136
- const double * random);
137
-
138
- protected:
139
- // Data
140
-
141
- // Original matrix by column
142
- CoinPackedMatrix matrix_;
143
-
144
- // Original matrix by
145
- CoinPackedMatrix matrixByRow_;
146
-
147
- // Down locks
148
- unsigned short * downLocks_;
149
-
150
- // Up locks
151
- unsigned short * upLocks_;
152
-
153
- /// Extra down array (number Integers long)
154
- double * downArray_;
155
-
156
- /// Extra up array (number Integers long)
157
- double * upArray_;
158
-
159
- /// Array of priorities
160
- typedef struct {
161
- unsigned int direction:3; // 0 bit off, 1 bit (0 down first, 1 up first) 2 bit non zero don't try other way
162
- unsigned int priority:29;
163
- } PriorityType;
164
- PriorityType * priority_;
165
- // Indexes of binary variables with 0 objective coefficient
166
- // and in variable bound constraints
167
- std::vector<int> binVarIndex_;
168
-
169
- // Indexes of variable bound rows for each binary variable
170
- std::vector<int> vbRowIndex_;
171
-
172
- // Percentage of integer variables to fix at bounds
173
- double percentageToFix_;
174
-
175
- // Maximum time allowed
176
- double maxTime_;
177
-
178
- // Small objective (i.e. treat zero objective as this)
179
- double smallObjective_;
180
-
181
- // Maximum number of major iterations
182
- int maxIterations_;
183
-
184
- // Maximum number of simplex iterations
185
- int maxSimplexIterations_;
186
-
187
- // Maximum number of simplex iterations at root node
188
- int maxSimplexIterationsAtRoot_;
189
-
190
- };
191
- #endif
192
-