Dip-All  0.91.0
ClpQuadInterface.hpp
Go to the documentation of this file.
1 // $Id: ClpQuadInterface.hpp 1574 2011-01-05 01:13:55Z lou $
2 // Copyright (C) 2004, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef ClpQuadInterface_H
7 #define ClpQuadInterface_H
8 
10 
11 //#############################################################################
12 
19 
20 public:
21  //---------------------------------------------------------------------------
24  virtual void initialSolve();
26 
28  virtual void resolve();
29 
31 
32 
37 
39  virtual OsiSolverInterface * clone(bool CopyData=true) const;
40 
43 
46 
48  virtual ~ClpQuadInterface ();
49 
51 
52 
57  void initialize();
59  virtual double getObjValue() const;
60 
62 
63  //---------------------------------------------------------------------------
64 
65 private:
66 
72 };
73 
74 #endif
virtual ~ClpQuadInterface()
Destructor.
virtual void resolve()
Resolve an LP relaxation after problem modification.
Objective Abstract Base Class.
ClpQuadInterface & operator=(const ClpQuadInterface &rhs)
Assignment operator.
virtual double getObjValue() const
Get objective function value (can't use default)
Clp Solver Interface.
Abstract Base Class for describing an interface to a solver.
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.