source: trunk/Clp/src/ClpDualRowPivot.cpp @ 1525

Last change on this file since 1525 was 1525, checked in by mjs, 10 years ago

Formatted .cpp, .hpp, .c, .h files with "astyle -A4 -p". This matches the formatting used in the grand CBC reorganization.

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