ClpQuadInterface.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, International Business Machines
2 // Corporation and others. All Rights Reserved.
3 
4 #ifndef ClpQuadInterface_H
5 #define ClpQuadInterface_H
6 
7 #include "OsiClpSolverInterface.hpp"
8 
9 //#############################################################################
10 
16 class ClpQuadInterface : public OsiClpSolverInterface {
17 
18 public:
19  //---------------------------------------------------------------------------
22  virtual void initialSolve();
24 
26  virtual void resolve();
27 
29 
30 
35 
37  virtual OsiSolverInterface * clone(bool CopyData=true) const;
38 
41 
44 
46  virtual ~ClpQuadInterface ();
47 
49 
50 
55  void initialize();
57  virtual double getObjValue() const;
58 
60 
61  //---------------------------------------------------------------------------
62 
63 private:
64 
67  ClpObjective * quadraticObjective_;
70 };
71 
72 #endif
virtual ~ClpQuadInterface()
Destructor.
virtual void resolve()
Resolve an LP relaxation after problem modification.
ClpQuadInterface & operator=(const ClpQuadInterface &rhs)
Assignment operator.
virtual double getObjValue() const
Get objective function value (can't use default)
ClpQuadInterface()
Default Constructor.
ClpObjective * quadraticObjective_
True quadratic objective.
virtual OsiSolverInterface * clone(bool CopyData=true) const
Clone.
void initialize()
Setup fake objective.
This is to allow the user to replace initialSolve and resolve.
virtual void initialSolve()
Solve initial LP relaxation.