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 "ClpDualRowPivot.hpp" 00007 00008 //############################################################################# 00009 // Constructors / Destructor / Assignment 00010 //############################################################################# 00011 00012 //------------------------------------------------------------------- 00013 // Default Constructor 00014 //------------------------------------------------------------------- 00015 ClpDualRowPivot::ClpDualRowPivot () : 00016 model_(NULL), 00017 type_(-1) 00018 { 00019 00020 } 00021 00022 //------------------------------------------------------------------- 00023 // Copy constructor 00024 //------------------------------------------------------------------- 00025 ClpDualRowPivot::ClpDualRowPivot (const ClpDualRowPivot & source) : 00026 model_(source.model_), 00027 type_(source.type_) 00028 { 00029 00030 } 00031 00032 //------------------------------------------------------------------- 00033 // Destructor 00034 //------------------------------------------------------------------- 00035 ClpDualRowPivot::~ClpDualRowPivot () 00036 { 00037 00038 } 00039 00040 //---------------------------------------------------------------- 00041 // Assignment operator 00042 //------------------------------------------------------------------- 00043 ClpDualRowPivot & 00044 ClpDualRowPivot::operator=(const ClpDualRowPivot& rhs) 00045 { 00046 if (this != &rhs) { 00047 type_ = rhs.type_; 00048 model_ = rhs.model_; 00049 } 00050 return *this; 00051 } 00052 void 00053 ClpDualRowPivot::saveWeights(ClpSimplex * model,int mode) 00054 { 00055 model_=model; 00056 } 00057 // checks accuracy and may re-initialize (may be empty) 00058 void 00059 ClpDualRowPivot::checkAccuracy() 00060 { 00061 } 00062 void 00063 ClpDualRowPivot::unrollWeights() 00064 { 00065 } 00066 // Gets rid of all arrays 00067 void 00068 ClpDualRowPivot::clearArrays() 00069 { 00070 }