Skip to content

Commit

Permalink
Fix infill optim retries (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
relf authored Mar 28, 2023
1 parent 305cf48 commit 898ae60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ego/src/egor_solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ where

let mut success = false;
let mut n_optim = 1;
let n_max_optim = 20;
let n_max_optim = 3;
let mut best_x = None;

let (scale_infill_obj, scale_cstr, scale_wb2) =
Expand Down Expand Up @@ -1060,6 +1060,7 @@ where
success = false;
} else {
best_x = Some(Array::from(res.1.clone()));
success = true;
}
}

Expand Down

0 comments on commit 898ae60

Please sign in to comment.