Scippy

SoPlex

Sequential object-oriented simPlex

spxdefines.cpp
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the class library */
4 /* SoPlex --- the Sequential object-oriented simPlex. */
5 /* */
6 /* Copyright (C) 1996-2015 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SoPlex is distributed under the terms of the ZIB Academic Licence. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SoPlex; see the file COPYING. If not email to soplex@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file spxdefines.cpp
17  * @brief Debugging, floating point type and parameter definitions.
18  */
19 #include "spxdefines.h"
20 #include "assert.h"
21 #include "spxout.h"
22 
23 namespace soplex
24 {
25 
27 
32 
33 bool msginconsistent(const char* name, const char* file, int line)
34 {
35  assert(name != 0);
36  assert(file != 0);
37  assert(line >= 0);
38 
39  MSG_ERROR( std::cerr << file << "(" << line << ") "
40  << "Inconsistency detected in " << name << std::endl; )
41 
42  return 0;
43 }
44 
46 {
47  s_epsilon = eps;
48 }
49 
51 {
53 }
54 
56 {
57  s_epsilon_update = eps;
58 }
59 
61 {
62  s_epsilon_pivot = eps;
63 }
64 
65 } // namespace soplex