Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

ClpObjective.cpp

00001 // Copyright (C) 2002, International Business Machines
00002 // Corporation and others.  All Rights Reserved.
00003 
00004 #include "CoinPragma.hpp"
00005 #include "ClpSimplex.hpp"
00006 #include "ClpObjective.hpp"
00007 
00008 //#############################################################################
00009 // Constructors / Destructor / Assignment
00010 //#############################################################################
00011 
00012 //-------------------------------------------------------------------
00013 // Default Constructor 
00014 //-------------------------------------------------------------------
00015 ClpObjective::ClpObjective () :
00016   type_(-1)
00017 {
00018 
00019 }
00020 
00021 //-------------------------------------------------------------------
00022 // Copy constructor 
00023 //-------------------------------------------------------------------
00024 ClpObjective::ClpObjective (const ClpObjective & source) :
00025   type_(source.type_)
00026 {  
00027 
00028 }
00029 
00030 //-------------------------------------------------------------------
00031 // Destructor 
00032 //-------------------------------------------------------------------
00033 ClpObjective::~ClpObjective ()
00034 {
00035 
00036 }
00037 
00038 //----------------------------------------------------------------
00039 // Assignment operator 
00040 //-------------------------------------------------------------------
00041 ClpObjective &
00042 ClpObjective::operator=(const ClpObjective& rhs)
00043 {
00044   if (this != &rhs) {
00045     type_ = rhs.type_;
00046   }
00047   return *this;
00048 }
00049 /* Subset clone.  Duplicates are allowed
00050    and order is as given.
00051 */
00052 ClpObjective * 
00053 ClpObjective::subsetClone (int numberColumns, 
00054                            const int * whichColumns) const
00055 {
00056   std::cerr<<"subsetClone not supported - ClpObjective"<<std::endl;
00057   abort();
00058   return NULL;
00059 }
00060 

Generated on Wed Dec 3 14:37:28 2003 for CLP by doxygen 1.3.5