source: trunk/Cbc/src/CbcHeuristicPivotAndFix.hpp @ 1870

Last change on this file since 1870 was 1854, checked in by stefan, 7 years ago

fix svn keywords property

  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
RevLine 
[1854]1/* $Id: CbcHeuristicPivotAndFix.hpp 1854 2013-01-28 00:02:55Z forrest $ */
[1055]2// Copyright (C) 2008, International Business Machines
3// Corporation and others.  All Rights Reserved.
[1573]4// This code is licensed under the terms of the Eclipse Public License (EPL).
5
[1055]6#ifndef CbcHeuristicPivotAndFix_H
7#define CbcHeuristicPivotAndFix_H
8
9#include "CbcHeuristic.hpp"
10/** LocalSearch class
11 */
12
13class CbcHeuristicPivotAndFix : public CbcHeuristic {
14public:
15
[1286]16    // Default Constructor
17    CbcHeuristicPivotAndFix ();
[1055]18
[1286]19    /* Constructor with model - assumed before cuts
20       Initial version does not do Lps
21    */
22    CbcHeuristicPivotAndFix (CbcModel & model);
[1055]23
[1286]24    // Copy constructor
25    CbcHeuristicPivotAndFix ( const CbcHeuristicPivotAndFix &);
[1055]26
[1286]27    // Destructor
28    ~CbcHeuristicPivotAndFix ();
[1055]29
[1286]30    /// Clone
31    virtual CbcHeuristic * clone() const;
[1055]32
[1286]33    /// Assignment operator
34    CbcHeuristicPivotAndFix & operator=(const CbcHeuristicPivotAndFix& rhs);
[1055]35
[1286]36    /// Create C++ lines to get to current state
37    virtual void generateCpp( FILE * fp) ;
38
39    /// Resets stuff if model changes
40    virtual void resetModel(CbcModel * model);
41
42    /// update model (This is needed if cliques update matrix etc)
43    virtual void setModel(CbcModel * model);
44
45    using CbcHeuristic::solution ;
46    /** returns 0 if no solution, 1 if valid solution.
47        Sets solution values if good, sets objective value (only if good)
48        needs comments
49    */
50    virtual int solution(double & objectiveValue,
51                         double * newSolution);
52
[1055]53protected:
54};
55
56
57#endif
[1432]58
Note: See TracBrowser for help on using the repository browser.