Leonardo de Moura
35888fae2c
refactor(util/list): remove coercion from T -> list<T>
2016-06-22 10:00:07 -07:00
Leonardo de Moura
62905152f9
feat(kernel/environment): add is_eqp for environment
2016-06-14 12:28:59 -07:00
Leonardo de Moura
0e7f95e4d0
perf(util/rb_tree,until/rb_map): reduce object size
2016-06-07 08:33:31 -07:00
Leonardo de Moura
83f64ef8b3
chore(util): remove dead code
2016-06-02 18:38:07 -07:00
Soonho Kong
b95bc8ff5b
feat(util/memory.cpp): use COMP_HAS_SIZED_DEALLOCATION macro
...
To conditionally include sized deallocation definitions.
Related issue #1044
2016-06-02 11:53:08 -07:00
Sebastian Ullrich
ac4efdf660
fix(util/memory): add C++14 sized delete operators
...
Fixes #1044
2016-06-02 11:52:51 -07:00
Lev Nachmanson
5f565cfbe5
dev(lp): fix column_info initialization in lp_solver
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:52 -07:00
Lev Nachmanson
2aea6066fa
dev(lp): refactor the lar_core_solver parameters into a separate struct
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:45 -07:00
Lev Nachmanson
9680081376
dev(lp): move some dummy field from lar_solver to lar_core_solver
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:37 -07:00
Lev Nachmanson
1f9ef61839
dev(lp): simplify the design of lar_solver
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:29 -07:00
Lev Nachmanson
96824e375b
dev(lp): add a file
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:18 -07:00
Lev Nachmanson
c2d795e46a
dev(lp): integrate with z3
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:07 -07:00
Leonardo de Moura
53811822d4
chore(*): style
2016-05-25 18:10:15 -07:00
Leonardo de Moura
11b63b0fcd
fix(util/small_object_allocator): warning
2016-05-13 15:20:32 -07:00
Leonardo de Moura
92bc367c5c
feat(util): add small object allocator
2016-05-13 14:41:31 -07:00
Leonardo de Moura
5189a83f57
feat(library/vm): pretty print bytecode
2016-05-11 16:57:56 -07:00
Leonardo de Moura
906c4f86f1
feat(library/vm): add vm_decl(s)
2016-05-10 21:11:07 -07:00
Leonardo de Moura
7641b602ca
chore(util): fun_array ==> parray
2016-05-10 16:05:41 -07:00
Leonardo de Moura
6cb8e82fef
feat(util/fun_array): add functional array
2016-05-09 17:40:26 -07:00
Leonardo de Moura
889bdec2f7
feat(util/rb_tree): add unsigned_rev_cmp
2016-05-01 19:30:51 -07:00
Leonardo de Moura
a823b0e6ec
feat(library/type_context): pop_local for type_context
2016-03-09 10:22:48 -08:00
Leonardo de Moura
c8e5907b70
feat(util/rb_tree,util/rb_map): add back_find_if
2016-03-05 13:29:34 -08:00
Leonardo de Moura
82fb38b440
feat(util/rb_tree): add for_each_greater
2016-03-01 15:42:27 -08:00
Leonardo de Moura
2982db6f80
feat(library/local_context): add new local context type
2016-03-01 13:40:37 -08:00
Lev Nachmanson
23079a75a7
dev(lp): fix build for clang, avoid clang-3.3 bug, cleanup permutation_matrix
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-26 16:07:16 -08:00
Leonardo de Moura
9b15c4c669
feat(util/rb_map): add find_if
2016-02-24 16:02:16 -08:00
Soonho Kong
431ce6ff2d
fix(util/lp): instantiate missing functions
...
close #1005
2016-02-22 16:19:28 -05:00
Leonardo de Moura
c9e9fee76a
refactor(*): remove name_generator and use simpler mk_fresh_name
2016-02-11 18:05:57 -08:00
Leonardo de Moura
f67181baf3
chore(*): remove support for Lua
2016-02-11 17:17:55 -08:00
Leonardo de Moura
6c1c6cbbdd
fix(util/lp,tests/util/lp): warning msgs on OSX
2016-02-05 11:51:20 -08:00
Leonardo de Moura
1c8d8da9cf
chore(util/lp/lp_primal_core_solver): fix warning
2016-02-05 10:08:32 -08:00
Lev Nachmanson
0e4f98dc47
dev(lp): remove a warning
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:08:24 -08:00
Lev Nachmanson
a7e3befd21
dev(lp): speed up primal with sorted list
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:36 -08:00
Lev Nachmanson
ff8213a6a9
dev(lp): diminish the number of pivots of primal by sorting the columns
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
61eaef0183
dev(lp): improve the dual perormance
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
9482d508df
dev(lp): fix bugs in the dual simplex high loop
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
fbe4f56aea
chore(lp): remove warnings
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Leonardo de Moura
40d4623219
fix(util/lp/lp_settings): replace fabs with std::abs
2016-02-05 10:04:35 -08:00
Leonardo de Moura
971ec72157
fix(util/lp/numeric_pair): include cmath
2016-02-05 10:04:35 -08:00
Lev Nachmanson
504c603af4
chore(lp): use std::ostream for printing routines
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
fc858d98c0
chore(lp): improve formatting
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
e9cd621855
chore(lp): improve formatting
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
28bf891b7f
dev(lp): port to windows (msys2)
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
99dcad0dda
dev(lp): performance tuning in find_leaving_on_harris_theta
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
d098dfe326
dev(lp): fix infeasibility evidence check
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:34 -08:00
Leonardo de Moura
d9acf90f7b
refactor(util/lp): use Lean exception
2016-02-05 10:04:34 -08:00
Leonardo de Moura
8fbf66d01a
chore(util/lp): no "using", indentation
2016-02-05 10:04:34 -08:00
Leonardo de Moura
1841d17544
refactor(lp): NDEBUG ==> LEAN_DEBUG
2016-02-05 10:04:34 -08:00
Lev Nachmanson
fbb3ed8911
feat(lp): add LP solver and incremental LU factorization
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:34 -08:00
Leonardo de Moura
f62e22b34c
fix(util/sexpr/format): fixes #955
...
Lean was crashing because separate_tokes was traversing a DAG as a tree.
Lean was dying without memory (and getting stack overflows) because the procedure was also converting
the DAG into a tree.
This example also suggests we should reduce the limits for the pretty printer.
2016-02-04 14:55:11 -08:00