/home/coin/SVN-release/Bcp-1.2.1/Applications/Mkc/include/MKC_solution.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2000, International Business Machines
00002 // Corporation and others.  All Rights Reserved.
00003 #ifndef _MKC_SOLUTION_H
00004 #define _MKC_SOLUTION_H
00005 
00006 #include "BCP_vector.hpp"
00007 #include "BCP_solution.hpp"
00008 
00009 class MKC_var;
00010 class BCP_buffer;
00011 
00012 //#############################################################################
00013 
00014 class MKC_solution : public BCP_solution {
00015 public:
00016   double _objective;
00017   BCP_vec<MKC_var*> _vars;
00018 public:
00019   MKC_solution(BCP_vec<MKC_var*>& vars, const double obj);
00020   MKC_solution(BCP_buffer& buf);
00021   ~MKC_solution();
00022 
00023    inline double objective_value() const { return _objective; }
00024 
00025    void pack(BCP_buffer& buf) const;
00026 };
00027 
00028 
00029 
00030 #endif

Generated on Thu Jan 15 03:00:58 2009 for coin-Bcp by  doxygen 1.4.7