SoPlex
Toggle main menu visibility
Loading...
Searching...
No Matches
src
soplex
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-2026 Zuse Institute Berlin (ZIB) */
7
/* */
8
/* Licensed under the Apache License, Version 2.0 (the "License"); */
9
/* you may not use this file except in compliance with the License. */
10
/* You may obtain a copy of the License at */
11
/* */
12
/* http://www.apache.org/licenses/LICENSE-2.0 */
13
/* */
14
/* Unless required by applicable law or agreed to in writing, software */
15
/* distributed under the License is distributed on an "AS IS" BASIS, */
16
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
17
/* See the License for the specific language governing permissions and */
18
/* limitations under the License. */
19
/* */
20
/* You should have received a copy of the Apache-2.0 license */
21
/* along with SoPlex; see the file LICENSE. If not email to soplex@zib.de. */
22
/* */
23
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24
25
/**@file ratrecon.h
26
* @brief Rational reconstruction of solution vector
27
*/
28
29
30
#ifndef _RATRECON_H_
31
#define _RATRECON_H_
32
33
#include "
soplex/spxdefines.h
"
34
#include "
soplex/rational.h
"
35
#include "
soplex/sol.h
"
36
#include "
soplex/basevectors.h
"
37
#include "
soplex/didxset.h
"
38
39
namespace
soplex
40
{
41
/** reconstruct a rational vector */
42
bool
reconstructVector
(
VectorRational
& input,
const
Rational
& denomBoundSquared,
43
const
DIdxSet
* indexSet =
nullptr
);
44
45
/** reconstruct a rational solution */
46
bool
reconstructSol
(
SolRational
& solution);
47
}
// namespace soplex
48
49
#include "soplex/ratrecon.hpp"
50
51
#endif
// _RATRECON_H_
basevectors.h
Collection of dense, sparse, and semi-sparse vectors.
Rational
Definition
rational.h:255
soplex::DIdxSet
Dynamic index set.
Definition
didxset.h:52
didxset.h
Dymnamic index set.
soplex
Everything should be within this namespace.
soplex::VectorRational
VectorBase< Rational > VectorRational
Definition
vector.h:40
soplex::reconstructVector
bool reconstructVector(VectorRational &input, const Rational &denomBoundSquared, const DIdxSet *indexSet=nullptr)
soplex::reconstructSol
bool reconstructSol(SolRational &solution)
soplex::SolRational
SolBase< Rational > SolRational
Definition
sol.h:37
rational.h
Rational number types.
sol.h
Types of solution classes.
spxdefines.h
Debugging, floating point type and parameter definitions.
Generated by
1.17.0