Clp 1.17.6

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AbcPrimalColumnDantzig.hpp
Go to the documentation of this file.
1 /* $Id: AbcPrimalColumnDantzig.hpp 2385 2019-01-06 19:43:06Z unxusr $ */
2 // Copyright (C) 2002, International Business Machines
3 // Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5
6 #ifndef AbcPrimalColumnDantzig_H
7 #define AbcPrimalColumnDantzig_H
8
9 #include "AbcPrimalColumnPivot.hpp"
10
11 //#############################################################################
12
19 class AbcPrimalColumnDantzig : public AbcPrimalColumnPivot {
20
21 public:
23
24
32 virtual int pivotColumn(CoinPartitionedVector *updates,
33 CoinPartitionedVector *spareRow2,
34 CoinPartitionedVector *spareColumn1);
35
37 virtual void saveWeights(AbcSimplex *model, int)
38 {
39 model_ = model;
40 }
42
44
45 AbcPrimalColumnDantzig();
47
49 AbcPrimalColumnDantzig(const AbcPrimalColumnDantzig &);
50
52 AbcPrimalColumnDantzig &operator=(const AbcPrimalColumnDantzig &rhs);
53
55 virtual ~AbcPrimalColumnDantzig();
56
58 virtual AbcPrimalColumnPivot *clone(bool copyData = true) const;
59
61
62 //---------------------------------------------------------------------------
63
64 private:
66
67 };
68
69 #endif
70
71 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
72 */
AbcPrimalColumnPivot
Primal Column Pivot Abstract Base Class.
Definition: AbcPrimalColumnPivot.hpp:26
AbcSimplex
Definition: AbcSimplex.hpp:62
AbcPrimalColumnDantzig
Primal Column Pivot Dantzig Algorithm Class.
Definition: AbcPrimalColumnDantzig.hpp:19
AbcPrimalColumnDantzig::~AbcPrimalColumnDantzig
virtual ~AbcPrimalColumnDantzig()
Destructor.
CoinPartitionedVector
Definition: CoinIndexedVector.hpp:1303
AbcPrimalColumnDantzig::saveWeights
virtual void saveWeights(AbcSimplex *model, int)
Just sets model.
Definition: AbcPrimalColumnDantzig.hpp:37
AbcPrimalColumnDantzig::clone
virtual AbcPrimalColumnPivot * clone(bool copyData=true) const
Clone.
AbcPrimalColumnDantzig::AbcPrimalColumnDantzig
AbcPrimalColumnDantzig()
Default Constructor.
AbcPrimalColumnPivot::model_
AbcSimplex * model_
Pointer to model.
Definition: AbcPrimalColumnPivot.hpp:149
AbcPrimalColumnPivot.hpp
AbcPrimalColumnPivot::model
AbcSimplex * model()
Returns model.
Definition: AbcPrimalColumnPivot.hpp:116
AbcPrimalColumnDantzig::operator=
AbcPrimalColumnDantzig & operator=(const AbcPrimalColumnDantzig &rhs)
Assignment operator.
AbcPrimalColumnDantzig::pivotColumn
virtual int pivotColumn(CoinPartitionedVector *updates, CoinPartitionedVector *spareRow2, CoinPartitionedVector *spareColumn1)
Returns pivot column, -1 if none.