Scippy

SoPlex

Sequential object-oriented simPlex

ratrecon.h
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-2016 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 ratrecon.h
17  * @brief Rational reconstruction of solution vector
18  */
19 
20 
21 #ifndef _RATRECON_H_
22 #define _RATRECON_H_
23 
24 #ifndef SOPLEX_LEGACY
25 
26 #include "spxdefines.h"
27 #include "rational.h"
28 #include "sol.h"
29 #include "basevectors.h"
30 #include "didxset.h"
31 
32 namespace soplex
33 {
34  /** reconstruct a rational vector */
35  bool reconstructVector(VectorRational& input, const Rational& denomBoundSquared, const DIdxSet* indexSet = 0);
36 
37  /** reconstruct a rational solution */
38  bool reconstructSol(SolRational& solution);
39 } // namespace soplex
40 #endif
41 #endif // _RATRECON_H_
Types of solution classes.
Dymnamic index set.
bool reconstructVector(VectorRational &input, const Rational &denomBoundSquared, const DIdxSet *indexSet)
Definition: ratrecon.cpp:228
bool reconstructSol(SolRational &solution)
Definition: ratrecon.cpp:293
Wrapper for GMP types.
Debugging, floating point type and parameter definitions.
SolBase< Rational > SolRational
Definition: sol.h:29
Collection of dense, sparse, and semi-sparse vectors.
Everything should be within this namespace.
VectorBase< Rational > VectorRational
Definition: vector.h:31