source: branches/devel-1/ClpPrimalColumnPivot.cpp

Last change on this file was 27, checked in by forrest, 17 years ago

Changes to make more reliable if problem size changes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1// Copyright (C) 2002, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#if defined(_MSC_VER)
4// Turn off compiler warning about long names
5#  pragma warning(disable:4786)
6#endif
7
8
9#include "ClpSimplex.hpp"
10#include "ClpPrimalColumnPivot.hpp"
11
12//#############################################################################
13// Constructors / Destructor / Assignment
14//#############################################################################
15
16//-------------------------------------------------------------------
17// Default Constructor
18//-------------------------------------------------------------------
19ClpPrimalColumnPivot::ClpPrimalColumnPivot () :
20  model_(NULL), 
21  type_(-1)
22{
23
24}
25
26//-------------------------------------------------------------------
27// Copy constructor
28//-------------------------------------------------------------------
29ClpPrimalColumnPivot::ClpPrimalColumnPivot (const ClpPrimalColumnPivot & source) :
30  model_(source.model_),
31  type_(source.type_)
32{ 
33
34}
35
36//-------------------------------------------------------------------
37// Destructor
38//-------------------------------------------------------------------
39ClpPrimalColumnPivot::~ClpPrimalColumnPivot ()
40{
41
42}
43
44//----------------------------------------------------------------
45// Assignment operator
46//-------------------------------------------------------------------
47ClpPrimalColumnPivot &
48ClpPrimalColumnPivot::operator=(const ClpPrimalColumnPivot& rhs)
49{
50  if (this != &rhs) {
51    type_ = rhs.type_;
52    model_ = rhs.model_;
53  }
54  return *this;
55}
56void 
57ClpPrimalColumnPivot::saveWeights(ClpSimplex * model,int mode)
58{
59  model_=model;
60}
61// checks accuracy and may re-initialize (may be empty)
62
63void 
64ClpPrimalColumnPivot::updateWeights(CoinIndexedVector * input)
65{
66}
67
68// Gets rid of all arrays
69void 
70ClpPrimalColumnPivot::clearArrays()
71{
72}
Note: See TracBrowser for help on using the repository browser.