Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cpp/src/barrier/barrier.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3000,14 +3000,14 @@ i_t barrier_solver_t<i_t, f_t>::gpu_compute_search_direction(iteration_data_t<i_
f_t old_dp = dual_perturb;
dual_perturb = std::min(max_perturb, dual_perturb * 10.0);
primal_perturb = std::min(max_perturb, primal_perturb * 10.0);
settings.log.printf(
settings.log.debug(
" reg UP: %e -> %e (solve_err=%e)\n", old_dp, dual_perturb, solve_err);
} else if (solve_err < 1e-4) {
f_t old_dp = dual_perturb;
dual_perturb = std::max(min_perturb, dual_perturb / 10.0);
primal_perturb = std::max(min_perturb, primal_perturb / 10.0);
if (old_dp != dual_perturb) {
settings.log.printf(
settings.log.debug(
" reg DOWN: %e -> %e (solve_err=%e)\n", old_dp, dual_perturb, solve_err);
}
}
Expand Down
723 changes: 516 additions & 207 deletions cpp/src/barrier/translate_soc.hpp

Large diffs are not rendered by default.

Loading
Loading