Skip to content

Commit 8369e69

Browse files
committed
temp fix in sqp
1 parent 178631c commit 8369e69

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libs/pestpp_common/SQP.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ void SeqQuadProgram::initialize()
892892
}
893893

894894

895-
message(1, "using the following upgrade vector scale (e.g. 'line search') values:", ppo->get_sqp_scale_facs());
895+
//message(1, "using the following upgrade vector scale (e.g. 'line search') values:", ppo->get_sqp_scale_facs());
896896

897897
//ofstream &frec = file_manager.rec_ofstream();
898898
last_best = 1.0E+30;
@@ -904,7 +904,7 @@ void SeqQuadProgram::initialize()
904904
//vector<double> scale_facs = pest_scenario.get_pestpp_options().get_lambda_scale_vec();
905905
//message(1, "using scaling factors: ", scale_facs);
906906
set<string> passed = ppo->get_passed_args();
907-
if (passed.find("SQP_SCALE_FACS") == passed.end())
907+
/*if (passed.find("SQP_SCALE_FACS") == passed.end())
908908
{
909909
if ((use_ensemble_grad) && (SOLVE_EACH_REAL))
910910
{
@@ -913,7 +913,7 @@ void SeqQuadProgram::initialize()
913913
message(1,"new sqp_scale_facs",new_scale_facs);
914914
ppo->set_sqp_scale_facs(new_scale_facs);
915915
};
916-
}
916+
}*/
917917

918918

919919
message(1, "max run fail: ", ppo->get_max_run_fail());
@@ -2372,10 +2372,10 @@ bool SeqQuadProgram::solve_new()
23722372
vector<string> real_names;
23732373
vector<double> scale_vals;
23742374
scale_vals.clear();
2375-
for (auto& sf : pest_scenario.get_pestpp_options().get_sqp_scale_facs())
2375+
/*for (auto& sf : pest_scenario.get_pestpp_options().get_sqp_scale_facs())
23762376
{
23772377
scale_vals.push_back(sf * BASE_SCALE_FACTOR);
2378-
}
2378+
}*/
23792379

23802380
if ((use_ensemble_grad) && (SOLVE_EACH_REAL))
23812381
{

0 commit comments

Comments
 (0)