source: trunk/ClpPrimalColumnPivot.cpp @ 284

Last change on this file since 284 was 225, checked in by forrest, 16 years ago

This should break everything

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