/home/coin/SVN-release/OS-2.2.0/OS/examples/branchCutPriceTSP/include/OS_var.hpp

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

Generated on Thu Aug 5 03:02:58 2010 by  doxygen 1.4.7