Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CouenneSparseMatrix.hpp
Go to the documentation of this file.
1 /* $Id: CouenneSparseMatrix.hpp 713 2011-06-26 07:40:33Z pbelotti $
2  *
3  * Name: CouenneSparseMatrix.hpp
4  * Authors: Pietro Belotti, Clemson University
5  * Purpose: Definition of a sparse Matrix for use in distance
6  * measurements in Feasibility Pump
7  *
8  * This file is licensed under the Eclipse Public License (EPL)
9  */
10 
11 #ifndef COUENNESPARSEMATRIX_HPP
12 #define COUENNESPARSEMATRIX_HPP
13 
14 namespace Couenne {
15 
18 
19  public:
20 
23 
26 
29 
32 
34  virtual ~CouenneSparseMatrix ();
35 
37  int &num () {return num_;}
38  double *&val () {return val_;}
39  int *&col () {return col_;}
40  int *&row () {return row_;}
41 
42  private:
43 
45  int num_;
46  double *val_;
47  int *col_;
48  int *row_;
49  };
50 }
51 
52 #endif
CouenneSparseMatrix()
Constructor.
int num_
Stores the values of the Matrix of the Lagrangian at optimum for later use.
Class for sparse Matrixs (used in modifying distances in FP)
CouenneSparseMatrix & operator=(const CouenneSparseMatrix &rhs)
Assignment.
virtual ~CouenneSparseMatrix()
Destructor.
CouenneSparseMatrix * clone()
Clone.