PIPS
sc_simplex_feasibility_mulprec.c
Go to the documentation of this file.
1 /*
2 
3  $Id: sc_simplex_feasibility_mulprec.c 1641 2016-03-02 08:20:19Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of Linear/C3 Library.
8 
9  Linear/C3 Library is clear software: you can redistribute it and/or modify it
10  under the terms of the GNU Lesser General Public License as published by
11  the clear Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  Linear/C3 Library is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with Linear/C3 Library. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 
25 /**
26  * @file
27  * This file provides a function to test whether a constraint system is
28  * feasible, using simplex method, in multiple precision.
29  */
30 
31 #ifdef HAVE_CONFIG_H
32 #include "config.h"
33 #endif
34 
35 #ifdef HAVE_GMP_H
36 
37 #include "../arithmetique/arith_mulprec.h"
38 #include "sc_simplex_feasibility.h"
39 
40 /**
41  * Main Function
42  */
43 /**@{*/
44 
45 /**
46  * Determine whether a system @a sys of equations and inequations is feasible.
47  * Parameter @a ofl_ctrl indicates whether an overflow control is performed
48  * (possible values: @c NO_OFL_CTRL, @c FWD_OFL_CTRL).
49  * Since we are in multiple precision, this parameter is ignored.
50  */
51 bool sc_simplex_feasibility_ofl_ctrl_mulprec(Psysteme sys, int ofl_ctrl)
52 {
53  return sc_get_feasibility(sys, ofl_ctrl);
54 }
55 
56 /**@}*/
57 
58 #endif
59 
This header provides functions to test whether a constraint system is feasible, using the simplex met...
static bool sc_get_feasibility(Psysteme sys, int ofl_ctrl)
Main Function.