Skip to content

Commit

Permalink
dualsInitialization-->duals_init and dualsUpdateType-->duals_update_t…
Browse files Browse the repository at this point in the history
…ype.
  • Loading branch information
nkoukpaizan committed Aug 16, 2024
1 parent 7767511 commit 397b993
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions options/hiop.options
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#dualsUpdateType linear
#dualsInitialization zero
#duals_update_type linear
#duals_init zero

#Hessian analytical_exact
#KKTLinsys auto
Expand Down
4 changes: 2 additions & 2 deletions src/opflow/solver/hiop/opflow_hiopsparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ PetscErrorCode OPFLOWSolverSetUp_HIOPSPARSE(OPFLOW opflow) {
// hiop->sp->options->SetNumericValue("fixed_var_perturb",1.0e-6);
// hiop->sp->options->SetStringValue("mem_space","host");

hiop->sp->options->SetStringValue("dualsUpdateType", "linear");
hiop->sp->options->SetStringValue("dualsInitialization", "zero");
hiop->sp->options->SetStringValue("duals_update_type", "linear");
hiop->sp->options->SetStringValue("duals_init", "zero");
hiop->sp->options->SetStringValue("fixed_var", "relax");
hiop->sp->options->SetStringValue("Hessian", "analytical_exact");
hiop->sp->options->SetStringValue("KKTLinsys", "xdycyd");
Expand Down
2 changes: 1 addition & 1 deletion src/opflow/solver/hiop/opflow_hiopsparsegpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ PetscErrorCode OPFLOWSolverSetUp_HIOPSPARSEGPU(OPFLOW opflow) {
hiop->sp->options->SetStringValue("mem_space", "device");
hiop->sp->options->SetStringValue("compute_mode", "gpu");

hiop->sp->options->SetStringValue("dualsInitialization", "zero");
hiop->sp->options->SetStringValue("duals_update_type", "linear");
hiop->sp->options->SetStringValue("duals_init", "zero");

hiop->sp->options->SetStringValue("fact_acceptor", "inertia_free");
Expand Down

0 comments on commit 397b993

Please sign in to comment.