2 Star 0 Fork 4

src-openEuler/coin-or-cgl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
coin-or-Cgl-uninit.patch 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2022-01-27 13:41 . init package
diff -up Cgl-releases-0.60.3/Cgl/src/CglPreProcess/CglPreProcess.cpp.orig Cgl-releases-0.60.3/Cgl/src/CglPreProcess/CglPreProcess.cpp
--- Cgl-releases-0.60.3/Cgl/src/CglPreProcess/CglPreProcess.cpp.orig 2020-01-31 04:11:21.000000000 -0700
+++ Cgl-releases-0.60.3/Cgl/src/CglPreProcess/CglPreProcess.cpp 2020-02-20 11:15:53.494050170 -0700
@@ -4458,7 +4458,9 @@ CglPreProcess::modified(OsiSolverInterfa
rowNumber[0] = iRow1;
rowNumber[1] = iRow2;
colLower[0] = 0.0;
+ colLower[1] = 0.0;
colUpper[0] = 1.0;
+ colUpper[1] = 0.0;
#if CBC_USEFUL_PRINTING > 0
binary[0] = 1;
int nCol = nBits;
diff -up Cgl-releases-0.60.3/Cgl/src/CglTwomir/CglTwomir.cpp.orig Cgl-releases-0.60.3/Cgl/src/CglTwomir/CglTwomir.cpp
--- Cgl-releases-0.60.3/Cgl/src/CglTwomir/CglTwomir.cpp.orig 2020-01-31 04:11:21.000000000 -0700
+++ Cgl-releases-0.60.3/Cgl/src/CglTwomir/CglTwomir.cpp 2020-02-20 11:15:53.495050153 -0700
@@ -117,6 +117,7 @@ void CglTwomir::generateCuts(const OsiSo
#endif
return;
}
+ numberOriginalRows = 0;
#ifdef COIN_HAS_CLP_TWOMIR
} else {
useSolver = originalSolver_;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/coin-or-cgl.git
git@gitee.com:src-openeuler/coin-or-cgl.git
src-openeuler
coin-or-cgl
coin-or-cgl
master

搜索帮助