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-2019 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 #include "soplex/spxdefines.h"
25 #include "soplex/rational.h"
26 #include "soplex/sol.h"
27 #include "soplex/basevectors.h"
28 #include "soplex/didxset.h"
29 
30 namespace soplex
31 {
32 /** reconstruct a rational vector */
33 bool reconstructVector(VectorRational& input, const Rational& denomBoundSquared,
34  const DIdxSet* indexSet = 0);
35 
36 /** reconstruct a rational solution */
37 bool reconstructSol(SolRational& solution);
38 } // namespace soplex
39 #endif // _RATRECON_H_
Types of solution classes.
Dymnamic index set.
bool reconstructVector(VectorRational &input, const Rational &denomBoundSquared, const DIdxSet *indexSet)
Definition: ratrecon.cpp:230
bool reconstructSol(SolRational &solution)
Definition: ratrecon.cpp:296
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