3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-01 21:05:52 +00:00
Add weighting function to cycle more fairly through nla solvers.
Handles anomaly from 5361721/pero.txt
This commit is contained in:
Nikolaj Bjorner 2020-12-24 03:07:25 -08:00
parent 2679ae517b
commit 8546cf97d7
2 changed files with 38 additions and 7 deletions

View file

@ -178,6 +178,9 @@ private:
bool m_cautious_patching;
lpvar m_patched_var;
monic const* m_patched_monic;
void check_weighted(unsigned sz, std::pair<unsigned, std::function<void(void)>>* checks);
public:
void insert_to_refine(lpvar j);
void erase_from_to_refine(lpvar j);