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

ClpPrimalColumnPivot.cpp

00001 // Copyright (C) 2002, International Business Machines
00002 // Corporation and others.  All Rights Reserved.
00003 
00004 #include "CoinPragma.hpp"
00005 
00006 #include "ClpSimplex.hpp"
00007 #include "ClpPrimalColumnPivot.hpp"
00008 
00009 //#############################################################################
00010 // Constructors / Destructor / Assignment
00011 //#############################################################################
00012 
00013 //-------------------------------------------------------------------
00014 // Default Constructor 
00015 //-------------------------------------------------------------------
00016 ClpPrimalColumnPivot::ClpPrimalColumnPivot () :
00017   model_(NULL), 
00018   type_(-1)
00019 {
00020 
00021 }
00022 
00023 //-------------------------------------------------------------------
00024 // Copy constructor 
00025 //-------------------------------------------------------------------
00026 ClpPrimalColumnPivot::ClpPrimalColumnPivot (const ClpPrimalColumnPivot & source) :
00027   model_(source.model_),
00028   type_(source.type_)
00029 {  
00030 
00031 }
00032 
00033 //-------------------------------------------------------------------
00034 // Destructor 
00035 //-------------------------------------------------------------------
00036 ClpPrimalColumnPivot::~ClpPrimalColumnPivot ()
00037 {
00038 
00039 }
00040 
00041 //----------------------------------------------------------------
00042 // Assignment operator 
00043 //-------------------------------------------------------------------
00044 ClpPrimalColumnPivot &
00045 ClpPrimalColumnPivot::operator=(const ClpPrimalColumnPivot& rhs)
00046 {
00047   if (this != &rhs) {
00048     type_ = rhs.type_;
00049     model_ = rhs.model_;
00050   }
00051   return *this;
00052 }
00053 void 
00054 ClpPrimalColumnPivot::saveWeights(ClpSimplex * model,int mode)
00055 {
00056   model_=model;
00057 }
00058 // checks accuracy and may re-initialize (may be empty)
00059 
00060 void 
00061 ClpPrimalColumnPivot::updateWeights(CoinIndexedVector * input)
00062 {
00063 }
00064 
00065 // Gets rid of all arrays
00066 void 
00067 ClpPrimalColumnPivot::clearArrays()
00068 {
00069 }
00070 /* Returns number of extra columns for sprint algorithm - 0 means off.
00071    Also number of iterations before recompute
00072 */
00073 int 
00074 ClpPrimalColumnPivot::numberSprintColumns(int & numberIterations) const
00075 {
00076   return 0;
00077 }
00078 // Switch off sprint idea
00079 void 
00080 ClpPrimalColumnPivot::switchOffSprint()
00081 {
00082 }

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