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 ClpDualRowDantzig_H 00007 #define ClpDualRowDantzig_H 00008 00009 #include "ClpDualRowPivot.hpp" 00010 00011 //############################################################################# 00012 00019 class ClpDualRowDantzig : public ClpDualRowPivot { 00020 00021 public: 00022 00024 00025 00027 virtual int pivotRow(); 00028 00031 virtual double updateWeights(CoinIndexedVector * input, 00032 CoinIndexedVector * spare, 00033 CoinIndexedVector * spare2, 00034 CoinIndexedVector * updatedColumn); 00039 virtual void updatePrimalSolution(CoinIndexedVector * input, 00040 double theta, 00041 double & changeInObjective); 00043 00044 00046 00047 00048 ClpDualRowDantzig(); 00049 00051 ClpDualRowDantzig(const ClpDualRowDantzig &); 00052 00054 ClpDualRowDantzig & operator=(const ClpDualRowDantzig& rhs); 00055 00057 virtual ~ClpDualRowDantzig (); 00058 00060 virtual ClpDualRowPivot * clone(bool copyData = true) const; 00061 00063 00064 //--------------------------------------------------------------------------- 00065 00066 private: 00068 00069 }; 00070 00071 #endif