Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

Change BacktrackStrictlyDecreasingObjectiveUpdater #667

Open eparish1 opened 6 months ago

eparish1 commented 6 months ago

Change BacktrackStrictlyDecreasingObjectiveUpdater to BacktrackMaxResidualChangeObjectiveUpdater and set user input for the "2" in the backtrack:

      if (ftrial <= 2*fx_k){
        PRESSIOLOG_DEBUG("backtrack; condition satisfied with alpha= {:6e}", alpha);
        ::pressio::ops::update(state, one, p_k, alpha);
        break;
      }