3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-07 16:31:55 +00:00
Commit graph

376 commits

Author SHA1 Message Date
Lev Nachmanson
f2015b3f49 rename m_rounded_columns to m_incorrect_columns
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-23 15:31:07 -08:00
Lev Nachmanson
4ba4d41346 track rounded columns in lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-23 17:21:55 -06:00
Nikolaj Bjorner
ad965ac896 fix #2817 - rows may apparently not be correct (root cause of this tbd), but avoid Gomory on incorrect rows
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-22 14:29:02 -06:00
Nikolaj Bjorner
05da2508bf fix #2873
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-22 11:08:44 -06:00
Nikolaj Bjorner
3931dd5da0 fix build of test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-21 11:48:00 -06:00
Nikolaj Bjorner
045448e5b2 fix build of test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-21 11:47:37 -06:00
Nikolaj Bjorner
683eed0c1e use get_sign
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-21 11:15:13 -06:00
Lev Nachmanson
c3ed06915c avoid the state change in an assert statement
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-12-31 14:03:48 -08:00
Lev Nachmanson
ef39c4b533 ignore term's zero coefficients in add_monomial()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-12-31 12:44:38 -08:00
Lev Nachmanson
1fff7bb51d use u_map in lar_term
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-12-30 20:31:36 -08:00
Lev Nachmanson
0f772482b8 remove an incorrect assert
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2019-12-29 15:28:38 -08:00
Nikolaj Bjorner
2b2f016f96 python for accessing lambda, switch to theory branching for QF_LRA
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-14 15:44:34 -07:00
Nikolaj Bjorner
876cfb4dc9 optimization of phase
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-12 09:50:31 -07:00
Nikolaj Bjorner
9fa9aa09ff fix #2468, adding assignment phase heuristic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-10 15:25:05 -07:00
Lev Nachmanson
95eb0a0521 remove an unnecessary call m_mpq_lar_core_solver.m_r_solver.track_column_feasibility(j)
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-08-02 09:53:32 -07:00
Lev Nachmanson
db5ac5afa8 fix a bug in lar_solver in queryaing if a column is int
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-08-01 11:51:56 -07:00
Lev Nachmanson
e59d60fbbe Remove unnecessary null pointer checks 2019-03-22 10:47:11 -07:00
Lev Nachmanson
61ac006cbe Remove unnecessary null pointer checks 2019-03-22 10:32:33 -07:00
Lev Nachmanson
6e5d0b7594 Remove unnecessary null pointer checks 2019-03-22 09:43:34 -07:00
Lev Nachmanson
885d640301 make explicit rational(double)constructor
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-03-19 19:45:33 -07:00
Nikolaj Bjorner
90b78eb64a use random_next instead of library random
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-13 19:59:05 -07:00
Lev Nachmanson
f336039da3 snap variables to bounds when maximizing terms
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-03-13 15:28:50 -07:00
Nikolaj Bjorner
75b1e8fe27 add tracing for 2157
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-12 20:12:17 -07:00
Nikolaj Bjorner
5c13acbf9f remove print directive that doesn't compile
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-03 20:48:13 -08:00
Nikolaj Bjorner
0c0e79a937 add logging to lar-solver to capture state for unbounded optimization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-03 20:33:12 -08:00
Nikolaj Bjorner
19e7b75536 set status optimal also on object
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-03 19:31:51 -08:00
Nikolaj Bjorner
7aa8b4ac2a restrict idiv-bound checks to bounded terms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-03 19:11:22 -08:00
Nikolaj Bjorner
3723c1af0a
Merge pull request #2166 from levnach/Prover
fixes in indices in lar_solver::maximize_term()
2019-03-03 13:00:51 -08:00
Lev Nachmanson
06725de477 fixes in indices in lar_solver::maximize_term()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-03-03 10:57:25 -10:00
Nikolaj Bjorner
7399f78dfd disable model compression for regressions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-03 12:40:59 -08:00
Nikolaj Bjorner
3ee5c0e7d9 fix #2164 address some of simplification shortcommings from #2151 #2152 #2153
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-03 11:33:44 -08:00
Lev Nachmanson
69f03952a7 enable lar_solver::constraint_holds
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2019-02-28 12:11:34 -10:00
Daniel Schemmel
721ea2a8d3
Move vector.h to old_vector.h and add a shim vector.h
To do so, one instance of the class keyword needs to be removed.
2019-02-21 15:38:08 +01:00
Bruce Mitchener
e570940662 Prefer using empty rather than size comparisons. 2018-11-27 21:42:04 +07:00
Lev Nachmanson
67ea2a2c88 test
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2018-11-20 09:52:43 -08:00
Florian Pigorsch
326bf401b9 Fix some spelling errors (mostly in comments). 2018-10-20 17:07:41 +02:00
Michał Janiszewski
844f400a62 Remove superfluous const from returned types 2018-10-16 19:30:48 +02:00
Lev
99339798ee fix the value oflar_solver.m_status during pop()
Signed-off-by: Lev <levnach@hotmail.com>
2018-10-04 19:43:01 -07:00
Nikolaj Bjorner
7082d85115
Merge pull request #1860 from waywardmonkeys/modernize-use-override
Use 'override' where possible.
2018-10-01 20:43:56 -07:00
Bruce Mitchener
373b691709 Use 'override' where possible. 2018-10-02 10:26:38 +07:00
Nikolaj Bjorner
3c7e7a7ffd
Merge pull request #1852 from janisozaur/unused-const
Drop unused CV-qualifiers from scalar return values
2018-10-01 20:10:21 -07:00
Nikolaj Bjorner
4bc6720af7
Merge pull request #1853 from janisozaur/solve-ax-eq-b
Add missing template instantion for lar_core_solver::m_r_solver
2018-10-01 20:09:50 -07:00
Bruce Mitchener
cdfc19a885 Use nullptr. 2018-10-02 09:11:19 +07:00
Michał Janiszewski
661826e27f Add missing template instantion for lar_core_solver::m_r_solver 2018-10-01 21:35:48 +02:00
Michał Janiszewski
cdbfd9654f Drop unused CV-qualifiers from scalar return values 2018-10-01 21:14:25 +02:00
Christoph M. Wintersteiger
35bf63d563 Fixed filename in CMakeLists.txt 2018-10-01 12:29:14 +01:00
Christoph M. Wintersteiger
f0e74b7f2a Fix for module name clash (and thus linking error) in the Visual Studio solution. 2018-10-01 12:11:42 +01:00
Lev
5d586c8fd1 set lar_solver.m_status = UNKNOWN in the constructor
Signed-off-by: Lev <levnach@hotmail.com>
2018-09-30 15:12:50 -07:00
Lev Nachmanson
e68deab443 Merge branch 'master' of https://github.com/Z3Prover/z3 2018-09-25 13:34:23 -07:00
Lev Nachmanson
0b2b6b1306 assert all_constraints_hold() rarely
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2018-09-25 13:33:30 -07:00