summaryrefslogtreecommitdiff
path: root/newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp
diff options
context:
space:
mode:
authorHarpreet2016-09-03 00:34:27 +0530
committerHarpreet2016-09-03 00:34:27 +0530
commit4b64cf486f5c999fd8167758cae27839f3b50848 (patch)
treed9d06639fb7fa61aef59be0363655e4747105ec7 /newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp
parentd19794fb80a271a4c885ed90f97cfc12baa012f2 (diff)
downloadFOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.tar.gz
FOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.tar.bz2
FOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.zip
Structure updated and intqpipopt files added
Diffstat (limited to 'newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp')
-rw-r--r--newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp91
1 files changed, 91 insertions, 0 deletions
diff --git a/newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp b/newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp
new file mode 100644
index 0000000..b7934e5
--- /dev/null
+++ b/newstructure/thirdparty/linux/include/coin/BonPseudoCosts.hpp
@@ -0,0 +1,91 @@
+// (C) Copyright International Business Machines Corporation 2007
+// All Rights Reserved.
+// This code is published under the Eclipse Public License.
+//
+// Authors :
+// Pierre Bonami, International Business Machines Corporation
+//
+// Date : 04/12/2007
+
+#ifndef BonPseudoCosts_H
+#define BonPseudoCosts_H
+
+#include "OsiChooseVariable.hpp"
+namespace Bonmin
+{
+
+ class PseudoCosts: public OsiPseudoCosts
+ {
+ public:
+ /** Default constructor.*/
+ PseudoCosts();
+
+ /** Copy constructor.*/
+ PseudoCosts(const PseudoCosts & rhs);
+
+ /** Assignment operator const version.*/
+ PseudoCosts & operator=(const PseudoCosts&rhs);
+#if 0
+ /** Acces upTotalChange.*/
+ inline double * upTotalChange()
+ {
+ return upTotalChange_;
+ }
+
+ /** Acces downTotalChange.*/
+ inline double * downTotalChange()
+ {
+ return downTotalChange_;
+ }
+
+ /** Acces upNumber.*/
+ inline int * upNumber()
+ {
+ return upNumber_;
+ }
+
+ /** Acces downNumber.*/
+ inline int * downNumber()
+ {
+ return downNumber_;
+ }
+
+ /** Acces upTotalChange.*/
+ inline const double * upTotalChange() const
+ {
+ return upTotalChange_;
+ }
+
+ /** Acces downTotalChange.*/
+ inline const double * downTotalChange() const
+ {
+ return downTotalChange_;
+ }
+
+ /** Acces upNumber.*/
+ inline const int * upNumber() const
+ {
+ return upNumber_;
+ }
+
+ /** Acces downNumber.*/
+ inline const int * downNumber() const
+ {
+ return downNumber_;
+ }
+
+ /** Access number objects.*/
+ inline int numberObjects() const
+ {
+ return numberObjects_;
+ }
+#endif
+ /** Add a pseudo cost information.*/
+ void addInfo(int way, double originalObj, double originalInfeas,
+ double newObj, double newInfeas, int status);
+
+ };
+
+}/* End Bonmin namespace.*/
+
+#endif