Skip to content

Commit

Permalink
Increase number of iterations for Brent minimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
sahle committed Oct 18, 2024
1 parent b613c80 commit cd582a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copasi/optimization/COptMethodSteepestDescent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ bool COptMethodSteepestDescent::optimise()
//md = mn + (mx-mn)/2;
//Brent(mn, md, mx, descent_line, &alpha, &tmp, 1e-6, 50);

FminBrent(mn, mx, mpDescent, &alpha, &tmp, mTolerance, 5);
FminBrent(mn, mx, mpDescent, &alpha, &tmp, mTolerance, 50);

// take one step in that direction
fmx = descentLine(alpha);
Expand Down

0 comments on commit cd582a7

Please sign in to comment.