Cbc 2.10.12
Loading...
Searching...
No Matches
ClpQuadInterface.hpp
Go to the documentation of this file.
1// $Id$
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
9#include "OsiClpSolverInterface.hpp"
10
11//#############################################################################
12
18class ClpQuadInterface : public OsiClpSolverInterface {
19
20public:
21 //---------------------------------------------------------------------------
24
25 virtual void initialSolve();
26
28 virtual void resolve();
29
31
36
38 virtual OsiSolverInterface *clone(bool CopyData = true) const;
39
42
45
48
50
55 void initialize();
57 virtual double getObjValue() const;
58
60
61 //---------------------------------------------------------------------------
62
63private:
67 ClpObjective *quadraticObjective_;
69};
70
71#endif
This is to allow the user to replace initialSolve and resolve.
virtual ~ClpQuadInterface()
Destructor.
void initialize()
Setup fake objective.
ClpQuadInterface()
Default Constructor.
virtual void resolve()
Resolve an LP relaxation after problem modification.
virtual double getObjValue() const
Get objective function value (can't use default)
virtual void initialSolve()
Solve initial LP relaxation.
virtual OsiSolverInterface * clone(bool CopyData=true) const
Clone.
ClpQuadInterface & operator=(const ClpQuadInterface &rhs)
Assignment operator.
ClpQuadInterface(const ClpQuadInterface &)
Copy constructor.
ClpObjective * quadraticObjective_
True quadratic objective.