source: branches/unlabeled-1.1.2/ClpNetworkBasis.cpp @ 118

Last change on this file since 118 was 118, checked in by forrest, 17 years ago

Adding Network matrix and PlusMinusOne?

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1// Copyright (C) 2003, International Business Machines
2// Corporation and others.  All Rights Reserved.
3
4#include "CoinPragma.hpp"
5#include "ClpNetworkBasis.hpp"
6#include "CoinHelperFunctions.hpp"
7#include "ClpSimplex.hpp"
8#include "ClpMatrixBase.hpp"
9
10
11//#############################################################################
12// Constructors / Destructor / Assignment
13//#############################################################################
14
15//-------------------------------------------------------------------
16// Default Constructor
17//-------------------------------------------------------------------
18ClpNetworkBasis::ClpNetworkBasis () 
19{
20}
21
22//-------------------------------------------------------------------
23// Copy constructor
24//-------------------------------------------------------------------
25ClpNetworkBasis::ClpNetworkBasis (const ClpNetworkBasis & rhs) 
26{
27}
28
29//-------------------------------------------------------------------
30// Destructor
31//-------------------------------------------------------------------
32ClpNetworkBasis::~ClpNetworkBasis () 
33{
34}
35
36//----------------------------------------------------------------
37// Assignment operator
38//-------------------------------------------------------------------
39ClpNetworkBasis &
40ClpNetworkBasis::operator=(const ClpNetworkBasis& rhs)
41{
42  if (this != &rhs) {
43  }
44  return *this;
45}
46/* Replaces one Column to basis,
47   returns 0=OK, 1=Probably OK, 2=singular
48*/
49int 
50ClpNetworkBasis::replaceColumn ( CoinIndexedVector * regionSparse,
51                                 int pivotRow)
52{
53  abort();
54  return 1;
55}
56
57/* Updates one column (FTRAN) from region2
58   number returned is negative if no room
59   region1 starts as zero and is zero at end */
60int 
61ClpNetworkBasis::updateColumn ( CoinIndexedVector * regionSparse,
62                                CoinIndexedVector * regionSparse2)
63{
64  abort();
65  return 1;
66}
67/* Updates one column (FTRAN) to/from array
68   number returned is negative if no room
69   ** For large problems you should ALWAYS know where the nonzeros
70   are, so please try and migrate to previous method after you
71   have got code working using this simple method - thank you!
72   (the only exception is if you know input is dense e.g. rhs)
73   region starts as zero and is zero at end */
74int 
75ClpNetworkBasis::updateColumn ( CoinIndexedVector * regionSparse,
76                        double array[] ) const
77{
78  abort();
79  return 1;
80}
81/* Updates one column transpose (BTRAN)
82   For large problems you should ALWAYS know where the nonzeros
83   are, so please try and migrate to previous method after you
84   have got code working using this simple method - thank you!
85   (the only exception is if you know input is dense e.g. dense objective)
86   returns number of nonzeros */
87int 
88ClpNetworkBasis::updateColumnTranspose ( CoinIndexedVector * regionSparse,
89                                          double array[] ) const
90{
91  abort();
92  return 1;
93}
94/* Updates one column (BTRAN) from region2
95   region1 starts as zero and is zero at end */
96int 
97ClpNetworkBasis::updateColumnTranspose ( CoinIndexedVector * regionSparse,
98                          CoinIndexedVector * regionSparse2) const
99{
100  abort();
101  return 1;
102}
Note: See TracBrowser for help on using the repository browser.