Couenne 0.5.8
Loading...
Searching...
No Matches
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
14namespace Couenne {
15
18
19 public:
20
23
26
29
32
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 * clone()
Clone.
CouenneSparseMatrix()
Constructor.
CouenneSparseMatrix & operator=(const CouenneSparseMatrix &rhs)
Assignment.
CouenneSparseMatrix(const CouenneSparseMatrix &)
Copy constructor.
virtual ~CouenneSparseMatrix()
Destructor.
general include file for different compilers