Nikolaj Bjorner
0b785cc942
track variables used by nla_solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
31937f0b91
round the bound for columns and terms when it can be deduced that they are integral
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
79d4d13b14
fix in gomory: revert some changes
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
29b9dfe326
fix in gomory cut
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
c284e153f3
fix in gomory: revert some changes
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
91d9a5bc83
fix in gomory cut
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
3224febd0e
remove double shrink
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
c68d15f441
build of template
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
1aaf6d879f
use same interval manager in pdd_interval as caller
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
f76432933f
avoid calling del on memory not owned by object allocator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
abc4c5962b
fix #3269
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
f1f974638d
track variables used by nla_solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
a7158772ad
move to scoped intervals for memory management
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
79fefe5fb3
local
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
906d52ca1c
accept term indices as columns in some lar_solver queries
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
f28c80e3b1
reorder fields in lar_solver constructor to avoid a warning
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
b67d136849
hide flag on registering variables
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
846a9fc25f
consistent
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
26631ce38d
add a unit test for monics, plus some cosmetic changes
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
1e9013fe6d
cleanup in var_register
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
719603f185
register inner terms with null var
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
a0251ac745
do not register equality terms created in lar_solver
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
285ff9540d
make sure that the term external index has not been used
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
f636a481d3
fixes in bound setting in cube, and in lar_solver
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
a80eb13420
fixes in bound setting in cube, and in lar_solver
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
9cce01e632
fix in order lemma
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
6ea0bcb454
round the bound for columns and terms when it can be deduced that they are integral
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
b403b96d38
remove an assert
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
77ca63db90
fix in gomory: revert some changes
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
cbefa8d2b0
fix in gomory cut
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
2ad94026a0
do not produce proportional lemma for non-integral vars
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
0ee541204f
fix in gomory: revert some changes
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
b8d7af59f4
fix in gomory cut
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
66dd93a035
fix a bug in nla_intervals - add explanations when getting intervals from a term
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
ab92c20106
add option branch_flip to lp_settings
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
0db112ef8f
Update nla_core.cpp
2020-03-25 19:43:55 -07:00
Lev Nachmanson
697fd37d26
relax the literal check in theory_lra
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson
762f265616
merge with master
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner
69783db5e8
print roots as part of test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-24 15:28:51 -07:00
Nikolaj Bjorner
af51d98a32
avoid unintialized value build warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-24 15:02:31 -07:00
Nikolaj Bjorner
a557913307
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-24 12:45:16 -07:00
Nikolaj Bjorner
a4f668eef0
add unit test for #2867
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-24 11:52:41 -07:00
Lev Nachmanson
65de3f748a
fix the real case in gomory cuts, create a cut in a form t >= k
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-20 16:28:25 -07:00
Nikolaj Bjorner
55ebb236db
add self-contained check for triangle inequality for #2867
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-17 15:39:30 -07:00
Lev Nachmanson
dae3cd450b
fix a bug in nex_creator, already fixed in debug branch
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-17 14:46:46 -07:00
Nikolaj Bjorner
fd54408629
fix leaks exposed by #3383
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-17 13:01:46 -07:00
ahumenberger
de9bc930e9
Extract defining components of algebraic number via C and C++ API ( #3321 )
...
* First steps toward adding Julia bindings
* Simplifications
* Streamlining
* Friends of tactic and probe
* Add missing functions
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Changes for CxxWrap v0.9.0
* Wrap enumeration and tuple sort
* Wrap z3::fixedpoint
* Wrap z3::optimize
* Wrap missing functions
* Fix aux types
* Add some missing functions
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 5aab9f9240
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit cfccd7ca2c
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit f24740c595
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 592499eaa0
.
* Checkout current version of pipeline
* Build Julia bindings on macOS
* Extract components of algebraic number
* Add type to C API function name
* Remove blank line
* Typo in doc
* Return Z3_ast_vector containing coefficients
2020-03-17 09:09:02 -07:00
Nikolaj Bjorner
9c9ce0b920
fix #3363 , already fixed in Debug branch, importing fix
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-16 11:45:11 -07:00
Nikolaj Bjorner
611c14844d
fix #3194 , remove euclidean solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-08 16:05:13 +01:00
Nikolaj Bjorner
7452e55698
fix #3190 fix #3168
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-08 12:54:03 +01:00