1/* $Id: ClpDualRowPivot.cpp 1665 2011-01-04 17:55:54Z lou $ */
2// Copyright (C) 2002, International Business Machines
3// Corporation and others. All Rights Reserved.
4// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6#include "CoinPragma.hpp"
7#include "ClpSimplex.hpp"
8#include "ClpDualRowPivot.hpp"
9
10//#############################################################################
11// Constructors / Destructor / Assignment
12//#############################################################################
13
14//-------------------------------------------------------------------
15// Default Constructor
16//-------------------------------------------------------------------
17ClpDualRowPivot::ClpDualRowPivot () :
18 model_(NULL),
19 type_(-1)
20{
21
22}
23
24//-------------------------------------------------------------------
25// Copy constructor
26//-------------------------------------------------------------------
27ClpDualRowPivot::ClpDualRowPivot (const ClpDualRowPivot & source) :
28 model_(source.model_),
29 type_(source.type_)
30{
31
32}
33
34//-------------------------------------------------------------------
35// Destructor
36//-------------------------------------------------------------------
37ClpDualRowPivot::~ClpDualRowPivot ()
38{
39
40}
41
42//----------------------------------------------------------------
43// Assignment operator
44//-------------------------------------------------------------------
45ClpDualRowPivot &
46ClpDualRowPivot::operator=(const ClpDualRowPivot& rhs)
47{
48 if (this != &rhs) {
49 type_ = rhs.type_;
50 model_ = rhs.model_;
51 }
52 return *this;
53}
54void
55ClpDualRowPivot::saveWeights(ClpSimplex * model, int /*mode*/)
56{
57 model_ = model;
58}
59// checks accuracy and may re-initialize (may be empty)
60void
61ClpDualRowPivot::checkAccuracy()
62{
63}
64void
65ClpDualRowPivot::unrollWeights()
66{
67}
68// Gets rid of all arrays
69void
70ClpDualRowPivot::clearArrays()
71{
72}
73