Dip  0.92.4
SymWarmStart.hpp
Go to the documentation of this file.
1 /*===========================================================================*/
2 /* */
3 /* This file is part of the SYMPHONY Branch, Cut, and Price Callable */
4 /* Library. */
5 /* */
6 /* SYMPHONY was jointly developed by Ted Ralphs (tkralphs@lehigh.edu) and */
7 /* Laci Ladanyi (ladanyi@us.ibm.com). */
8 /* */
9 /* (c) Copyright 2004-2006 Ted Ralphs and Lehigh University. */
10 /* All Rights Reserved. */
11 /* */
12 /* The authors of this file are Menal Guzelsoy and Ted Ralphs */
13 /* */
14 /* This software is licensed under the Eclipse Public License. Please see */
15 /* accompanying file for terms. */
16 /* */
17 /*===========================================================================*/
18 
19 #ifndef SymWarmStart_H
20 #define SymWarmStart_H
21 
22 #include "CoinWarmStart.hpp"
23 
25 
26 //#############################################################################
27 
28 class SymWarmStart : public CoinWarmStart
29 {
30 
31 public:
32 
33  /* Default constructor. Will do nothing! */
35 
36  /* Initialize the warmStart_ using the given warm start. If dominate
37  WarmStart is set, then, SymWarmStart will take the control of the
38  given description, otherwise, will copy everything.
39  */
41 
42  /*Get the warmStart info from a file*/
43  SymWarmStart(char *f);
44 
45  /* Copy constructor */
46  SymWarmStart(const SymWarmStart & symWS);
47 
48  /* Destructor */
49  virtual ~SymWarmStart();
50 
51  /* Clone the warmstart */
52  virtual CoinWarmStart * clone() const;
53 
54  /* Get the pointer to the loaded warmStart_ */
56 
57  /* Move the pointer to the rootnode of the warmStart to another
58  node which will change the underlying tree
59  */
60  // virtual void setRoot(bc_node *root) {} //FIX_ME! Ask Prof. Ralphs.
61 
62  /* Write the current warm start info to a file */
63  virtual int writeToFile(char * f);
64 
65 private:
66 
67  /* Private warm start desc. to keep everything */
69 
70 };
71 
72 #endif
virtual warm_start_desc * getCopyOfWarmStartDesc()
warm_start_desc * warmStart_
virtual int writeToFile(char *f)
Declaration of the generic simplex (basis-oriented) warm start class. Also contains a basis diff clas...
virtual CoinWarmStart * clone() const
`Virtual constructor'
virtual ~SymWarmStart()
Abstract base class for warm start information.