source: tags/move-to-subversion/ClpPrimalColumnPivot.cpp @ 1355

Last change on this file since 1355 was 393, checked in by forrest, 16 years ago

Some quadratic stuff

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 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  looksOptimal_(false)
20{
21
22}
23
24//-------------------------------------------------------------------
25// Copy constructor
26//-------------------------------------------------------------------
27ClpPrimalColumnPivot::ClpPrimalColumnPivot (const ClpPrimalColumnPivot & source) :
28  model_(source.model_),
29  type_(source.type_),
30  looksOptimal_(source.looksOptimal_)
31{ 
32
33}
34
35//-------------------------------------------------------------------
36// Destructor
37//-------------------------------------------------------------------
38ClpPrimalColumnPivot::~ClpPrimalColumnPivot ()
39{
40
41}
42
43//----------------------------------------------------------------
44// Assignment operator
45//-------------------------------------------------------------------
46ClpPrimalColumnPivot &
47ClpPrimalColumnPivot::operator=(const ClpPrimalColumnPivot& rhs)
48{
49  if (this != &rhs) {
50    type_ = rhs.type_;
51    model_ = rhs.model_;
52    looksOptimal_ = rhs.looksOptimal_;
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}
73/* Returns number of extra columns for sprint algorithm - 0 means off.
74   Also number of iterations before recompute
75*/
76int 
77ClpPrimalColumnPivot::numberSprintColumns(int & numberIterations) const
78{
79  return 0;
80}
81// Switch off sprint idea
82void 
83ClpPrimalColumnPivot::switchOffSprint()
84{
85}
Note: See TracBrowser for help on using the repository browser.