diff options
author | Georgey | 2017-07-05 11:40:43 +0530 |
---|---|---|
committer | Georgey | 2017-07-05 11:40:43 +0530 |
commit | 938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427 (patch) | |
tree | b343c0ee5609433c80e0de1db8b6886c9126dc2d /thirdparty/linux/include/coin/CglLandPValidator.hpp | |
parent | 5b72577efe080c5294b32d804e4d26351fef30bc (diff) | |
download | FOSSEE-Optimization-toolbox-938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427.tar.gz FOSSEE-Optimization-toolbox-938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427.tar.bz2 FOSSEE-Optimization-toolbox-938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427.zip |
Added linux shared libraries and header files for int and ecos functions
Diffstat (limited to 'thirdparty/linux/include/coin/CglLandPValidator.hpp')
-rw-r--r-- | thirdparty/linux/include/coin/CglLandPValidator.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/thirdparty/linux/include/coin/CglLandPValidator.hpp b/thirdparty/linux/include/coin/CglLandPValidator.hpp index 8b05597..b9e363d 100644 --- a/thirdparty/linux/include/coin/CglLandPValidator.hpp +++ b/thirdparty/linux/include/coin/CglLandPValidator.hpp @@ -4,7 +4,7 @@ // Carnegie Mellon University, Pittsburgh, PA 15213 // Date: 11/22/05 // -// $Id: CglLandPValidator.hpp 1122 2013-04-06 20:39:53Z stefan $ +// $Id: CglLandPValidator.hpp 1302 2015-08-14 15:48:32Z stefan $ // // This code is licensed under the terms of the Eclipse Public License (EPL). //--------------------------------------------------------------------------- @@ -93,11 +93,11 @@ public: } /** @} */ - const std::string& failureString(RejectionsReasons code) const + const char* failureString(RejectionsReasons code) const { return rejections_[static_cast<int> (code)]; } - const std::string& failureString(int code) const + const char* failureString(int code) const { return rejections_[ code]; } @@ -110,7 +110,6 @@ public: return numRejected_[ code]; } private: - static void fillRejectionReasons(); /** max percentage of given formulation fillIn should be accepted for cut fillin.*/ double maxFillIn_; /** max ratio between smallest and biggest coefficient */ @@ -122,7 +121,7 @@ private: /** Scale of right-hand-side.*/ double rhsScale_; /** Strings explaining reason for rejections */ - static std::vector<std::string> rejections_; + static const char* rejections_[DummyEnd]; /** Number of cut rejected for each of the reasons.*/ std::vector<int> numRejected_; }; |