Commit Graph

49 Commits

Author SHA1 Message Date
chriseth
77d1ebae3b debugging output 2022-05-18 16:18:49 +02:00
chriseth
56d5f6d926 debugging 2022-05-16 19:14:31 +02:00
chriseth
657a02771b strict inequalities 2022-05-12 22:54:04 +02:00
chriseth
c40c619daa Keep list of potentially violating variables. 2022-04-07 18:56:18 +02:00
chriseth
f9ab7cc635 rewrite 2022-04-07 18:12:40 +02:00
chriseth
aebe9753ff Some more work. 2022-04-02 15:46:43 +02:00
chriseth
c3583a7b01 Cache simplex. 2022-04-01 21:19:56 +02:00
chriseth
5e904872bd Fix bounds. 2022-04-01 19:17:16 +02:00
chriseth
2ef255bdab Turn into class. 2022-04-01 19:03:21 +02:00
chriseth
e2eeed6af1 Simplex with bounds. 2022-04-01 18:08:05 +02:00
chriseth
0592b6d86a Small opt in pivot. 2022-04-01 13:14:40 +02:00
chriseth
0b6e16983a Copy on write for fixed variables. 2022-03-24 01:45:46 +01:00
chriseth
e4ad6ef39f Use unordered map. 2022-03-24 01:37:41 +01:00
chriseth
1b44668b34 Implement copy on write for sub problems. 2022-03-24 00:52:32 +01:00
chriseth
b5aa534c43 Tiny tweak. 2022-03-24 00:31:52 +01:00
chriseth
65b1636867 Share ground state. 2022-03-24 00:27:54 +01:00
chriseth
dd1092fda2 Re-add cache. 2022-03-24 00:08:28 +01:00
chriseth
5993cfa732 store variables per subproblem 2022-03-23 23:53:30 +01:00
chriseth
4235933124 simplify. 2022-03-23 23:13:57 +01:00
chriseth
7cfc2f6a12 Incremental lp solver. 2022-03-23 22:12:23 +01:00
chriseth
0c89ef6863 Different impl. 2022-03-23 18:58:45 +01:00
chriseth
874a8a4753 more code. 2022-03-23 17:36:02 +01:00
chriseth
e6f517fca1 delta 2022-03-23 14:54:31 +01:00
chriseth
72ae0f6a1a Use enumerate. 2022-03-21 19:36:11 +01:00
chriseth
6b7c200891 remove couts 2022-03-20 22:34:21 +01:00
chriseth
a3a0f1d95b fixes 2022-03-20 22:33:47 +01:00
chriseth
922837b44c Forward unknown. 2022-03-20 20:19:20 +01:00
chriseth
3203b73c64 Some debug output. 2022-03-20 20:19:20 +01:00
chriseth
a1ed2c0f09 Update libsolutil/LP.cpp
Co-authored-by: Bhargava Shastry <bhargava.shastry@ethereum.org>
2022-03-20 20:19:20 +01:00
chriseth
1e1964362c Print reasons. 2022-03-20 20:19:20 +01:00
chriseth
337aea9483 Merge leftover. 2022-03-20 20:19:20 +01:00
chriseth
696515fe69 Add reasons. 2022-03-20 20:19:20 +01:00
chriseth
0a11aedc90 Extract problem splitter. 2022-03-20 20:19:20 +01:00
chriseth
88c63c3054 Apply suggestions from code review
Co-authored-by: Bhargava Shastry <bhargava.shastry@ethereum.org>
2022-03-20 20:19:20 +01:00
chriseth
0e54562de4 Fix fuzzer bug. 2022-03-20 20:19:19 +01:00
chriseth
0f705c8a82 Cache solution for the case where we are not interested in models. 2022-03-20 20:19:19 +01:00
chriseth
8835b95719 comment 2022-03-20 20:19:19 +01:00
chriseth
592b421f44 Extract problem splitter. 2022-03-20 20:19:19 +01:00
chriseth
db9028906a small optimization. 2022-03-20 20:19:19 +01:00
chriseth
5faebbff39 Extract simplification class. 2022-03-20 20:19:19 +01:00
chriseth
dec67df8d8 Refactor. 2022-03-20 20:19:19 +01:00
chriseth
6bff7a1e91 cleanup 2022-03-20 20:19:19 +01:00
chriseth
cf6cf5bba2 cleanup 2022-03-20 20:19:19 +01:00
chriseth
8600760f3d Cleanup 2022-03-20 20:19:19 +01:00
chriseth
b1fcf023f9 Cleanup 2022-03-20 20:19:19 +01:00
chriseth
00a277c0f5 Simplifications on LinearExpression. 2022-03-20 20:19:19 +01:00
chriseth
e6c67924b0 Fix compiler warning. 2022-03-20 20:19:18 +01:00
chriseth
7a250fea42 Use names for the bounds. 2022-03-20 20:19:18 +01:00
chriseth
751f50b6c3 LP Solver. 2022-03-20 20:19:18 +01:00