Opened 4 years ago

Closed 4 years ago

#4865 closed defect (fixed)

Line-search bug which can lead to a non-decreasing residual after line-search

Reported by: aramle Owned by: aramle
Priority: major Milestone: 2.0.x
Component: FMU/JMU runtime Version: trunk
Keywords: Cc:


Currently in the beta condition loop in kinsol.c it can happen that

while (((*f1normp > alpha_cond) || (*f1normp < beta_cond)) && (rldiff >= rlmin));

is no longer satisfied due to rldiff < rlmin. In this case there is no guarantee that the alpha condition is satisfied and there is a risk to end up in a bouncing behavior where we do not get a decrease in the residual values after line-search.

Solution is to add extra check for when to go back to last value satisfying the alpha-condition.

Change History (2)

comment:1 Changed 4 years ago by aramle

r8586 Added check for alpha-condition not satsified in case of rldiff < rlmin in kinsol.c linesearch.

comment:2 Changed 4 years ago by aramle

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.