Dip  0.92.4
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 // Authors: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8 // Ted Ralphs, Lehigh University (ted@lehigh.edu) //
9 // Jiadong Wang, Lehigh University (jiw408@lehigh.edu) //
10 // //
11 // Copyright (C) 2002-2019, Lehigh University, Matthew Galati, Ted Ralphs //
12 // All Rights Reserved. //
13 //===========================================================================//
14 
15 
16 #ifndef UTIL_HASH_INCLUDED
17 #define UTIL_HASH_INCLUDED
18 
19 #include <string>
20 
21 std::string UtilCreateStringHash(const int len,
22  const double* els,
23  const int precision = 6);
24 
25 std::string UtilCreateStringHash(const int len,
26  const int* ind,
27  const double* els,
28  const int precision = 6);
29 std::string UtilCreateStringHash(const int len,
30  const int* ind,
31  const double els,
32  const int precision = 6);
33 std::string UtilCreateStringHash(const int len,
34  const int* ind,
35  const double* els,
36  const char sense,
37  const double rhs,
38  const double infinity,
39  const int precision = 6);
40 
41 #endif
string UtilCreateStringHash(const int len, const double *els, const int precision=6)