00001 // $Id: ClpQuadInterface.hpp 1574 2011-01-05 01:13:55Z lou $ 00002 // Copyright (C) 2004, International Business Machines 00003 // Corporation and others. All Rights Reserved. 00004 // This code is licensed under the terms of the Eclipse Public License (EPL). 00005 00006 #ifndef ClpQuadInterface_H 00007 #define ClpQuadInterface_H 00008 00009 #include "OsiClpSolverInterface.hpp" 00010 00011 //############################################################################# 00012 00018 class ClpQuadInterface : public OsiClpSolverInterface { 00019 00020 public: 00021 //--------------------------------------------------------------------------- 00024 00025 virtual void initialSolve(); 00026 00028 virtual void resolve(); 00029 00031 00032 00035 00036 ClpQuadInterface (); 00037 00039 virtual OsiSolverInterface * clone(bool CopyData=true) const; 00040 00042 ClpQuadInterface (const ClpQuadInterface &); 00043 00045 ClpQuadInterface & operator=(const ClpQuadInterface& rhs); 00046 00048 virtual ~ClpQuadInterface (); 00049 00051 00052 00057 void initialize(); 00059 virtual double getObjValue() const; 00060 00062 00063 //--------------------------------------------------------------------------- 00064 00065 private: 00066 00069 00070 ClpObjective * quadraticObjective_; 00072 }; 00073 00074 #endif