Clp trunk
|
00001 /* $Id$ */ 00002 // Copyright (C) 2002, International Business Machines 00003 // Corporation and others. All Rights Reserved. 00004 // This code is licensed under the terms of the Eclipse Public License (EPL). 00005 00006 #ifndef ClpPrimalColumnDantzig_H 00007 #define ClpPrimalColumnDantzig_H 00008 00009 #include "ClpPrimalColumnPivot.hpp" 00010 00011 //############################################################################# 00012 00019 class ClpPrimalColumnDantzig : public ClpPrimalColumnPivot { 00020 00021 public: 00022 00024 00025 00033 virtual int pivotColumn(CoinIndexedVector * updates, 00034 CoinIndexedVector * spareRow1, 00035 CoinIndexedVector * spareRow2, 00036 CoinIndexedVector * spareColumn1, 00037 CoinIndexedVector * spareColumn2); 00038 00040 virtual void saveWeights(ClpSimplex * model, int) { 00041 model_ = model; 00042 } 00044 00045 00047 00048 00049 ClpPrimalColumnDantzig(); 00050 00052 ClpPrimalColumnDantzig(const ClpPrimalColumnDantzig &); 00053 00055 ClpPrimalColumnDantzig & operator=(const ClpPrimalColumnDantzig& rhs); 00056 00058 virtual ~ClpPrimalColumnDantzig (); 00059 00061 virtual ClpPrimalColumnPivot * clone(bool copyData = true) const; 00062 00064 00065 //--------------------------------------------------------------------------- 00066 00067 private: 00069 00070 }; 00071 00072 #endif