mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 07:15:26 +00:00
gauss jordan
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
361888f299
commit
ad2445e423
8 changed files with 183 additions and 9 deletions
|
@ -18,6 +18,7 @@ Notes:
|
|||
--*/
|
||||
|
||||
#include "math/simplex/simplex.h"
|
||||
#include "math/simplex/sparse_matrix_ops.h"
|
||||
#include "math/simplex/sparse_matrix_def.h"
|
||||
#include "math/simplex/simplex_def.h"
|
||||
#include "util/rational.h"
|
||||
|
@ -36,6 +37,9 @@ namespace simplex {
|
|||
}
|
||||
}
|
||||
|
||||
void gauss_jordan(sparse_matrix<mpq_ext>& M) {
|
||||
sparse_matrix_ops::gauss_jordan(M);
|
||||
}
|
||||
|
||||
void ensure_rational_solution(simplex<mpq_ext>& S) {
|
||||
rational delta(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue