source: trunk/Clp/src/ClpPrimalColumnPivot.cpp @ 1402

Last change on this file since 1402 was 1402, checked in by forrest, 10 years ago

get rid of compiler warnings

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1/* $Id: ClpPrimalColumnPivot.cpp 1402 2009-07-25 08:39:55Z forrest $ */
2// Copyright (C) 2002, International Business Machines
3// Corporation and others.  All Rights Reserved.
4
5#include "CoinPragma.hpp"
6
7#include "ClpSimplex.hpp"
8#include "ClpPrimalColumnPivot.hpp"
9
10//#############################################################################
11// Constructors / Destructor / Assignment
12//#############################################################################
13
14//-------------------------------------------------------------------
15// Default Constructor
16//-------------------------------------------------------------------
17ClpPrimalColumnPivot::ClpPrimalColumnPivot () :
18  model_(NULL), 
19  type_(-1),
20  looksOptimal_(false)
21{
22
23}
24
25//-------------------------------------------------------------------
26// Copy constructor
27//-------------------------------------------------------------------
28ClpPrimalColumnPivot::ClpPrimalColumnPivot (const ClpPrimalColumnPivot & source) :
29  model_(source.model_),
30  type_(source.type_),
31  looksOptimal_(source.looksOptimal_)
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    looksOptimal_ = rhs.looksOptimal_;
54  }
55  return *this;
56}
57void 
58ClpPrimalColumnPivot::saveWeights(ClpSimplex * model,int )
59{
60  model_=model;
61}
62// checks accuracy and may re-initialize (may be empty)
63
64void 
65ClpPrimalColumnPivot::updateWeights(CoinIndexedVector *)
66{
67}
68
69// Gets rid of all arrays
70void 
71ClpPrimalColumnPivot::clearArrays()
72{
73}
74/* Returns number of extra columns for sprint algorithm - 0 means off.
75   Also number of iterations before recompute
76*/
77int 
78ClpPrimalColumnPivot::numberSprintColumns(int & ) const
79{
80  return 0;
81}
82// Switch off sprint idea
83void 
84ClpPrimalColumnPivot::switchOffSprint()
85{
86}
Note: See TracBrowser for help on using the repository browser.