Dip-All  0.91.0
UtilHash.h
Go to the documentation of this file.
1 //===========================================================================//
2 // This file is part of the DIP Solver Framework. //
3 // //
4 // DIP is distributed under the Eclipse Public License as part of the //
5 // COIN-OR repository (http://www.coin-or.org). //
6 // //
7 // Author: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8 // //
9 // Conceptual Design: Matthew Galati, SAS Institute Inc. //
10 // Ted Ralphs, Lehigh University //
11 // //
12 // Copyright (C) 2002-2015, Lehigh University, Matthew Galati, Ted Ralphs //
13 // All Rights Reserved. //
14 //===========================================================================//
15 
16 
17 #ifndef UTIL_HASH_INCLUDED
18 #define UTIL_HASH_INCLUDED
19 
20 #include <string>
21 
22 std::string UtilCreateStringHash(const int len,
23  const double* els,
24  const int precision = 6);
25 
26 std::string UtilCreateStringHash(const int len,
27  const int* ind,
28  const double* els,
29  const int precision = 6);
30 std::string UtilCreateStringHash(const int len,
31  const int* ind,
32  const double els,
33  const int precision = 6);
34 std::string UtilCreateStringHash(const int len,
35  const int* ind,
36  const double* els,
37  const char sense,
38  const double rhs,
39  const int precision = 6);
40 
41 #endif
string UtilCreateStringHash(const int len, const double *els, const int precision=6)