Nuno Lopes
499ed5d844
remove unneeded iterator functions
2024-09-23 12:59:04 +01:00
Nuno Lopes
737c2208fa
delete more default constructors
...
reduces code size by 0.1%
2024-09-23 12:59:04 +01:00
Nuno Lopes
a62fede64b
remove a few default constructors
2024-09-23 08:17:58 +01:00
Lev Nachmanson
342dccdc02
correctly process cancellation in gomory cuts
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-09-19 14:11:27 -07:00
Nikolaj Bjorner
48712b4f60
Add initial value setting for variables in Z3 API, solver, and optimize modules
2024-09-18 16:13:15 +03:00
David Seifert
2ce89e5f49
Gcc 15 two phase ( #7313 )
...
* Fix `-Wclass-memaccess`
* Fix for GCC 15 two-phase lookup
* GCC 15 is more aggressive about checking dependent names:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=r15-2117-g313afcfdabeab3
Bug: https://bugs.gentoo.org/936634
2024-07-29 11:07:10 -07:00
Lev Nachmanson
e4b3df2189
remove unused column_info.h
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-06-17 12:58:16 -07:00
Nikolaj Bjorner
35c1cacf44
fix #7248
2024-06-12 14:26:35 -07:00
Bruce Mitchener
904a50fe49
Fix compilation error in column_info ( #7235 )
...
Reference to `m_low_bound` should be `m_lower_bound`.
2024-05-27 09:19:29 +04:00
Nikolaj Bjorner
8fe357f1f2
Nlsat simplify ( #7227 )
...
* dev branch for simplification
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* bug fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* bugfixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* fix factorization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* separate out simplification functionality
* reorder initialization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* reorder initialization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* Update README.md
* initial warppers for seq-map/seq-fold
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* expose fold as well
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add C++ bindings for sequence operations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add abs function to API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add parameter validation to ternary and 4-ary functions for API #7219
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add pre-processing and reorder
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add pre-processing and reorder
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
---------
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-05-14 22:19:33 -07:00
Nikolaj Bjorner
04c55c34e5
fix unsoundness bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-05-01 14:45:15 -07:00
Nikolaj Bjorner
39dc8861ee
expose comparisons with polynomials, incremental way to extract variables
2024-04-30 16:59:50 -07:00
Nikolaj Bjorner
bc577b93ae
refine precision before taking closest integral value.
2024-04-30 16:58:22 -07:00
Nikolaj Bjorner
bebcd94703
enable logging nla lemmas
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-25 10:29:34 -04:00
Nikolaj Bjorner
974ea7b68d
maintain ownership of dependency
2024-04-10 17:57:14 -07:00
Nikolaj Bjorner
7b8980f82d
fix regression introduced when testing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-09 11:17:03 -07:00
Nikolaj Bjorner
8d0e66b3e3
fix regression introduced when testing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-09 11:16:34 -07:00
Nikolaj Bjorner
9a681b1a37
reorg sls
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-09 10:44:53 -07:00
Nikolaj Bjorner
361e04a18e
port fixes to intblast
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-09 10:27:12 -08:00
Nikolaj Bjorner
bc70282a18
mute some compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-03 15:42:06 -08:00
Nikolaj Bjorner
5cac9b84e4
fix build warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-01 09:36:52 -08:00
Nikolaj Bjorner
bdb9106f99
Api ( #7097 )
...
* rename ul_pair to column
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* simple test passed
* remove an assert
* relax an assertion
* remove an obsolete function
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* access a term by the term column
* remove the column index from colunm.h
* remove an unused method
* remove debug code
* fix the build of lp_tst
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
---------
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
Co-authored-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-24 16:05:18 -08:00
Nikolaj Bjorner
be7856c57d
fix #7027
...
TODO: review old nlsat bugs for effect of this fix.
2024-01-23 14:56:15 -08:00
Nikolaj Bjorner
125a82bea5
improved diagnostics
2024-01-22 16:23:55 -08:00
Nikolaj Bjorner
839b7101ae
add ability to multiply term
2024-01-22 15:48:45 -08:00
Nikolaj Bjorner
910b3023c2
free memory the clean way
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-20 14:01:01 -08:00
Nikolaj Bjorner
d32dcfc4a4
free memory the clean way
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-20 13:54:50 -08:00
Nikolaj Bjorner
17545233e6
encapsulate anum functionality
2024-01-20 12:59:58 -08:00
Nikolaj Bjorner
2c55aa5466
remove unused code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-17 18:04:08 -08:00
Lev Nachmanson
d084a19630
take care of strategy undecided, Nikolaj's comments
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-17 14:17:07 -10:00
Lev Nachmanson
c591a7a3e7
force int bound on int columns, call term_is_int() after subst
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-17 13:53:59 -10:00
Lev Nachmanson
91ca55e5ad
change the definition of Gomory row
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-14 13:37:30 -10:00
Lev Nachmanson
d8df203622
remove an unused declaration
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-13 19:11:17 -10:00
Lev Nachmanson
e2fb4fbd38
fix dependencies for Gomory polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-13 19:01:21 -10:00
Lev Nachmanson
2eadcf0872
avoid duplicate explanations
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-12 15:49:21 -10:00
Lev Nachmanson
7d7fef061f
add explanations and fix polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-12 15:28:16 -10:00
Nikolaj Bjorner
3381fd2b52
spell check from https://github.com/microsoft/z3guide/pull/165
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-12 09:57:46 -08:00
Lev Nachmanson
999e67df0d
address Nikolaj's comments in Gomory cut
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 16:49:10 -10:00
Lev Nachmanson
2d24436582
remove a blank line
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 13:42:35 -10:00
Lev Nachmanson
2b974a0f1d
do not delay update for the polar case
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 13:39:37 -10:00
Lev Nachmanson
2ac866a8d0
take the coefficient from cut_result, not lia
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 12:10:37 -10:00
Lev Nachmanson
2ca1187b3a
fix a bug in polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-10 10:50:56 -10:00
Lev Nachmanson
2934618c50
remove simplify_inequality from gomory.cpp
2024-01-04 11:40:57 -10:00
Lev Nachmanson
239d68ed9c
return conflict on an empty term in Gomory cuts
2024-01-03 18:56:35 -10:00
Nikolaj Bjorner
a7bfdcd0ea
readd big cuts
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-02 11:17:59 -08:00
Lev Nachmanson
84997f8b21
move a TRACE statement
2024-01-01 05:25:07 -10:00
Lev Nachmanson
fd2b6c62d1
bug fix in gomory polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-01 05:25:07 -10:00
Lev Nachmanson
53c95e3627
cleanup
2023-12-28 06:00:57 -10:00
Lev Nachmanson
0728b81e9e
add parameter lp_settings.m_gomory_simplify
2023-12-28 06:00:57 -10:00
Lev Nachmanson
5796e8899f
use vector instead of unordered_map in gomory
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2023-12-28 06:00:57 -10:00