source: trunk/ClpDualRowPivot.cpp @ 63

Last change on this file since 63 was 63, checked in by jpfasano, 17 years ago

-modified to use CoinPragma?.h
-modified to compile w/MS Visual C++ and gcc (on cygwin) without errors or warnings.

  • 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
4#include "CoinPragma.hpp"
5#include "ClpSimplex.hpp"
6#include "ClpDualRowPivot.hpp"
7
8//#############################################################################
9// Constructors / Destructor / Assignment
10//#############################################################################
11
12//-------------------------------------------------------------------
13// Default Constructor
14//-------------------------------------------------------------------
15ClpDualRowPivot::ClpDualRowPivot () :
16  model_(NULL), 
17  type_(-1)
18{
19
20}
21
22//-------------------------------------------------------------------
23// Copy constructor
24//-------------------------------------------------------------------
25ClpDualRowPivot::ClpDualRowPivot (const ClpDualRowPivot & source) :
26  model_(source.model_),
27  type_(source.type_)
28{ 
29
30}
31
32//-------------------------------------------------------------------
33// Destructor
34//-------------------------------------------------------------------
35ClpDualRowPivot::~ClpDualRowPivot ()
36{
37
38}
39
40//----------------------------------------------------------------
41// Assignment operator
42//-------------------------------------------------------------------
43ClpDualRowPivot &
44ClpDualRowPivot::operator=(const ClpDualRowPivot& rhs)
45{
46  if (this != &rhs) {
47    type_ = rhs.type_;
48    model_ = rhs.model_;
49  }
50  return *this;
51}
52void 
53ClpDualRowPivot::saveWeights(ClpSimplex * model,int mode)
54{
55  model_=model;
56}
57// checks accuracy and may re-initialize (may be empty)
58void 
59ClpDualRowPivot::checkAccuracy()
60{
61}
62
63void 
64ClpDualRowPivot::updateWeights(CoinIndexedVector * input,
65                               CoinIndexedVector * spare,
66                               CoinIndexedVector * updatedColumn)
67{
68}
69void 
70ClpDualRowPivot::unrollWeights()
71{
72}
73// Gets rid of all arrays
74void 
75ClpDualRowPivot::clearArrays()
76{
77}
Note: See TracBrowser for help on using the repository browser.