/home/coin/SVN-release/OS-2.3.4/ApplicationTemplates/branchCutPrice/include/OS_var.hpp

Go to the documentation of this file.
00001 /* $Id: OS_var.hpp 2698 2009-06-09 04:14:07Z kmartin $ */
00002 #ifndef OS_var_hpp
00003 #define OS_var_hpp
00004 
00005 #include "CoinPackedVector.hpp"
00006 #include "BCP_buffer.hpp"
00007 #include "BCP_var.hpp"
00008 
00009 
00010 class OS_var : public BCP_var_algo {
00011 public:
00012         
00013     int varIndex;
00014     
00015     CoinPackedVector coinPackedVec;
00016     
00017     double weight;
00018         
00019         //overload OS_var
00020         
00021     OS_var(int idx, const CoinPackedVector& f, double w);
00022 
00023     OS_var(BCP_buffer& buf);
00024     
00025     ~OS_var() {}
00026 
00027     void pack(BCP_buffer& buf) const;
00028 };
00029 
00030 
00031 #endif

Generated on Wed Mar 23 03:05:43 2011 by  doxygen 1.4.7