00001 // Copyright (C) 2004, International Business Machines 00002 // Corporation and others. All Rights Reserved. 00003 00004 #ifndef ClpQuadInterface_H 00005 #define ClpQuadInterface_H 00006 00007 #include "OsiClpSolverInterface.hpp" 00008 00009 //############################################################################# 00010 00016 class ClpQuadInterface : public OsiClpSolverInterface { 00017 00018 public: 00019 //--------------------------------------------------------------------------- 00022 00023 virtual void initialSolve(); 00024 00026 virtual void resolve(); 00027 00029 00030 00033 00034 ClpQuadInterface (); 00035 00037 virtual OsiSolverInterface * clone(bool CopyData=true) const; 00038 00040 ClpQuadInterface (const ClpQuadInterface &); 00041 00043 ClpQuadInterface & operator=(const ClpQuadInterface& rhs); 00044 00046 virtual ~ClpQuadInterface (); 00047 00049 00050 00055 void initialize(); 00057 virtual double getObjValue() const; 00058 00060 00061 //--------------------------------------------------------------------------- 00062 00063 private: 00064 00067 00068 ClpObjective * quadraticObjective_; 00070 }; 00071 00072 #endif