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

fix autarky detection

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-03-31 13:16:04 -07:00
parent 6571aad440
commit c0188a7ec0
3 changed files with 87 additions and 26 deletions

View file

@ -164,6 +164,9 @@ namespace sat {
// information about solution
unsigned best_unsat;
double best_unsat_rate;
double 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
@ -172,6 +175,10 @@ namespace sat {
unsigned m_max_steps = (1 << 30);
// dynamic noise
unsigned noise = 400; // normalized by 10000
double noise_delta = 0.05;
// for tuning
int s_id = 0; // strategy id