source: branches/devel/Cbc/src/CbcFathom.cpp @ 601

Last change on this file since 601 was 310, checked in by andreasw, 14 years ago

first commit for autotools conversion to be able to move more files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 799 bytes
Line 
1// Copyright (C) 2004, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#if defined(_MSC_VER)
4// Turn off compiler warning about long names
5#  pragma warning(disable:4786)
6#endif
7#include <cassert>
8#include <cmath>
9#include <cfloat>
10
11#include "OsiSolverInterface.hpp"
12#include "CbcModel.hpp"
13#include "CbcMessage.hpp"
14#include "CbcFathom.hpp"
15
16// Default Constructor
17CbcFathom::CbcFathom() 
18  :model_(NULL),
19   possible_(false)
20{
21}
22
23// Constructor from model
24CbcFathom::CbcFathom(CbcModel & model)
25:
26  model_(&model),
27  possible_(false)
28{
29}
30// Resets stuff if model changes
31void 
32CbcFathom::resetModel(CbcModel * model)
33{
34  model_=model;
35}
36
37// Destructor
38CbcFathom::~CbcFathom ()
39{
40}
41
42// update model
43void CbcFathom::setModel(CbcModel * model)
44{
45  model_ = model;
46}
Note: See TracBrowser for help on using the repository browser.