Skip to content

Commit 86e9eee

Browse files
committed
wip
1 parent 991ae27 commit 86e9eee

File tree

5 files changed

+396
-222
lines changed

5 files changed

+396
-222
lines changed

highs/pdlp/hipdlp/defs.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ enum class PostSolveRetcode {
3333
CONSTRAINT_VIOLATION = 5
3434
};
3535

36+
struct StepSizeConfig {
37+
double primal_step;
38+
double dual_step;
39+
double beta;
40+
double power_method_lambda;
41+
};
42+
3643
struct MalitskyPockParams {
3744
double step_size_interpolation = 0.5; // Between 0 and 1
3845
double step_size_downscaling_factor = 0.7;

highs/pdlp/hipdlp/logger.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ class Logger {
5959
void print_iteration_stats(int iter, const SolverResults& current_results,
6060
double current_eta);
6161
void print_summary(const SolverResults& results, int total_iter,
62-
double total_time);
63-
62+
double total_time);
63+
void passLogOptions(HighsLogOptions log_options) {
64+
log_options_ = log_options;
65+
}
66+
6467
private:
6568
void log(LogLevel level, const std::string& message);
6669
LogLevel console_level_;

0 commit comments

Comments
 (0)