[Cgl-tickets] [COIN-OR Cut Generator Library] #21: Bug in the
CglFlowVUB copy constructor
COIN-OR Cut Generator Library
coin-trac at coin-or.org
Fri Nov 16 13:21:14 EST 2007
#21: Bug in the CglFlowVUB copy constructor
--------------------+-------------------------------------------------------
Reporter: rlh | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: Cgl | Version: release 0.5.1
Keywords: |
--------------------+-------------------------------------------------------
In CglFlowCover.hpp
CglFlowVUB(const CglFlowVUB& source) {
varInd_= source.varInd_;
upper_ = source.varInd_; // rlh: the bug
}
The fix is:
upper_ = source.upper_;
--
Ticket URL: <https://projects.coin-or.org/Cgl/ticket/21>
COIN-OR Cut Generator Library <http://projects.coin-or.org/Cgl>
A library of mixed-integer programming cutting plane generators.
More information about the Cgl-tickets
mailing list