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-2022 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 
40 #include "soplex/ratrecon.hpp"
41 
42 #endif // _RATRECON_H_
Types of solution classes.
number< gmp_rational, et_off > Rational
Definition: rational.h:30
Dymnamic index set.
Debugging, floating point type and parameter definitions.
bool reconstructVector(VectorRational &input, const Rational &denomBoundSquared, const DIdxSet *indexSet=0)
SolBase< Rational > SolRational
Definition: sol.h:29
Collection of dense, sparse, and semi-sparse vectors.
bool reconstructSol(SolRational &solution)
Everything should be within this namespace.
VectorBase< Rational > VectorRational
Definition: vector.h:31