3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 00:32:16 +00:00

fixing local search

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-04-17 13:04:57 -07:00
parent 41e1b9f3fe
commit 352f8b6cb9
5 changed files with 32 additions and 23 deletions

View file

@ -164,9 +164,9 @@ namespace sat {
// information about solution
unsigned best_unsat;
double best_unsat_rate;
double last_best_unsat_rate;
unsigned m_best_unsat;
double m_best_unsat_rate;
double m_last_best_unsat_rate;
int m_objective_value; // the objective function value corresponds to the current solution
bool_vector m_best_solution; // !var: the best solution so far
int m_best_objective_value = -1; // the objective value corresponds to the best solution so far
@ -176,7 +176,7 @@ namespace sat {
unsigned m_max_steps = (1 << 30);
// dynamic noise
double m_noise = 400; // normalized by 10000
double m_noise = 9800; // normalized by 10000
double m_noise_delta = 0.05;
// for tuning