source: tags/preroot/ClpObjective.cpp @ 778

Last change on this file since 778 was 124, checked in by forrest, 17 years ago

Hopefully this will fix tag problem

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1// Copyright (C) 2002, International Business Machines
2// Corporation and others.  All Rights Reserved.
3
4#include "CoinPragma.hpp"
5#include "ClpSimplex.hpp"
6#include "ClpObjective.hpp"
7
8//#############################################################################
9// Constructors / Destructor / Assignment
10//#############################################################################
11
12//-------------------------------------------------------------------
13// Default Constructor
14//-------------------------------------------------------------------
15ClpObjective::ClpObjective () :
16  type_(-1)
17{
18
19}
20
21//-------------------------------------------------------------------
22// Copy constructor
23//-------------------------------------------------------------------
24ClpObjective::ClpObjective (const ClpObjective & source) :
25  type_(source.type_)
26{ 
27
28}
29
30//-------------------------------------------------------------------
31// Destructor
32//-------------------------------------------------------------------
33ClpObjective::~ClpObjective ()
34{
35
36}
37
38//----------------------------------------------------------------
39// Assignment operator
40//-------------------------------------------------------------------
41ClpObjective &
42ClpObjective::operator=(const ClpObjective& rhs)
43{
44  if (this != &rhs) {
45    type_ = rhs.type_;
46  }
47  return *this;
48}
Note: See TracBrowser for help on using the repository browser.