Cbc 2.10.12
Loading...
Searching...
No Matches
CbcHeuristicPivotAndFix.hpp
Go to the documentation of this file.
1/* $Id$ */
2// Copyright (C) 2008, 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 CbcHeuristicPivotAndFix_H
7#define CbcHeuristicPivotAndFix_H
8
9#include "CbcHeuristic.hpp"
14public:
15 // Default Constructor
17
18 /* Constructor with model - assumed before cuts
19 Initial version does not do Lps
20 */
22
23 // Copy constructor
25
26 // Destructor
28
30 virtual CbcHeuristic *clone() const;
31
34
36 virtual void generateCpp(FILE *fp);
37
39 virtual void resetModel(CbcModel *model);
40
42 virtual void setModel(CbcModel *model);
43
49 virtual int solution(double &objectiveValue,
50 double *newSolution);
51
52protected:
53};
54
55#endif
56
57/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
58*/
CbcHeuristicPivotAndFix(CbcModel &model)
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
CbcHeuristicPivotAndFix & operator=(const CbcHeuristicPivotAndFix &rhs)
Assignment operator.
virtual CbcHeuristic * clone() const
Clone.
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution.
CbcHeuristicPivotAndFix(const CbcHeuristicPivotAndFix &)
virtual void resetModel(CbcModel *model)
Resets stuff if model changes.
virtual void setModel(CbcModel *model)
update model (This is needed if cliques update matrix etc)
Heuristic base class.
virtual int solution(double &objectiveValue, double *newSolution)=0
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets sol...
Simple Branch and bound class.
Definition CbcModel.hpp:100