- Main Page
- Namespaces
- Classes
- Files
- Directories

- Search for |

- File List
- File Members

# ClpPrimalQuadraticDantzig.hpp

Go to the documentation of this file.

    00001 /* $Id: ClpPrimalQuadraticDantzig.hpp 1665 2011-01-04 17:55:54Z lou $ */
    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 ClpPrimalQuadraticDantzig_H
    00007 #define ClpPrimalQuadraticDantzig_H
    00008
    00009 #include "ClpPrimalColumnPivot.hpp"
    00010 class ClpSimplexPrimalQuadratic;
    00011 class ClpQuadraticInfo;
    00012 //#############################################################################
    00013
    00020 class ClpPrimalQuadraticDantzig : public ClpPrimalColumnPivot {
    00021
    00022 public:
    00023
    00025
    00026
    00032      virtual int pivotColumn(CoinIndexedVector * updates,
    00033                              CoinIndexedVector * spareRow1,
    00034                              CoinIndexedVector * spareRow2,
    00035                              CoinIndexedVector * spareColumn1,
    00036                              CoinIndexedVector * spareColumn2);
    00037
    00039      virtual void saveWeights(ClpSimplex * model, int mode) {
    00040           model_ = model;
    00041      }
    00043
    00044
    00046
    00047
    00048      ClpPrimalQuadraticDantzig();
    00049
    00051      ClpPrimalQuadraticDantzig(const ClpPrimalQuadraticDantzig &);
    00052
    00054      ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic * model,
    00055                                ClpQuadraticInfo * info);
    00056
    00058      ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig& rhs);
    00059
    00061      virtual ~ClpPrimalQuadraticDantzig ();
    00062
    00064      virtual ClpPrimalColumnPivot * clone(bool copyData = true) const;
    00065
    00067
    00068      //---------------------------------------------------------------------------
    00069
    00070 private:
    00073      ClpQuadraticInfo * quadraticInfo_;
    00075 };
    00076
    00077 #endif