forked from coin-or/Clp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClpDualRowPivot.cpp
67 lines (60 loc) · 1.81 KB
/
ClpDualRowPivot.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include "CoinPragma.hpp"
#include "ClpSimplex.hpp"
#include "ClpDualRowPivot.hpp"
//#############################################################################
// Constructors / Destructor / Assignment
//#############################################################################
//-------------------------------------------------------------------
// Default Constructor
//-------------------------------------------------------------------
ClpDualRowPivot::ClpDualRowPivot()
: model_(NULL)
, type_(-1)
{
}
//-------------------------------------------------------------------
// Copy constructor
//-------------------------------------------------------------------
ClpDualRowPivot::ClpDualRowPivot(const ClpDualRowPivot &source)
: model_(source.model_)
, type_(source.type_)
{
}
//-------------------------------------------------------------------
// Destructor
//-------------------------------------------------------------------
ClpDualRowPivot::~ClpDualRowPivot()
{
}
//----------------------------------------------------------------
// Assignment operator
//-------------------------------------------------------------------
ClpDualRowPivot &
ClpDualRowPivot::operator=(const ClpDualRowPivot &rhs)
{
if (this != &rhs) {
type_ = rhs.type_;
model_ = rhs.model_;
}
return *this;
}
void ClpDualRowPivot::saveWeights(ClpSimplex *model, int /*mode*/)
{
model_ = model;
}
// checks accuracy and may re-initialize (may be empty)
void ClpDualRowPivot::checkAccuracy()
{
}
void ClpDualRowPivot::unrollWeights()
{
}
// Gets rid of all arrays
void ClpDualRowPivot::clearArrays()
{
}
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
*/