- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Alps-1.2.1/Clp/src/ClpPrimalQuadraticDantzig.hpp

Go to the documentation of this file.

    00001 /* $Id: ClpPrimalQuadraticDantzig.hpp 1525 2010-02-26 17:27:59Z mjs $ */
    00002 // Copyright (C) 2002, International Business Machines
    00003 // Corporation and others.  All Rights Reserved.
    00004 #ifndef ClpPrimalQuadraticDantzig_H
    00005 #define ClpPrimalQuadraticDantzig_H
    00006
    00007 #include "ClpPrimalColumnPivot.hpp"
    00008 class ClpSimplexPrimalQuadratic;
    00009 class ClpQuadraticInfo;
    00010 //#############################################################################
    00011
    00018 class ClpPrimalQuadraticDantzig : public ClpPrimalColumnPivot {
    00019
    00020 public:
    00021
    00023
    00024
    00030      virtual int pivotColumn(CoinIndexedVector * updates,
    00031                              CoinIndexedVector * spareRow1,
    00032                              CoinIndexedVector * spareRow2,
    00033                              CoinIndexedVector * spareColumn1,
    00034                              CoinIndexedVector * spareColumn2);
    00035
    00037      virtual void saveWeights(ClpSimplex * model, int mode) {
    00038           model_ = model;
    00039      }
    00041
    00042
    00044
    00045
    00046      ClpPrimalQuadraticDantzig();
    00047
    00049      ClpPrimalQuadraticDantzig(const ClpPrimalQuadraticDantzig &);
    00050
    00052      ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic * model,
    00053                                ClpQuadraticInfo * info);
    00054
    00056      ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig& rhs);
    00057
    00059      virtual ~ClpPrimalQuadraticDantzig ();
    00060
    00062      virtual ClpPrimalColumnPivot * clone(bool copyData = true) const;
    00063
    00065
    00066      //---------------------------------------------------------------------------
    00067
    00068 private:
    00071      ClpQuadraticInfo * quadraticInfo_;
    00073 };
    00074
    00075 #endif