I have a multivariable function that I have defined the cost function and its gradient...

Gaaljh
Answered
2022-06-25
I have a multivariable function that I have defined the cost function and its gradient with respect to the variable vector. Let's call the cost function , and variable vector . I have been using nonlinear conjugate gradient descenet method for minimization. Algorithm is as follows:
I know that I need to update formula so the solution "ascends" instead of descension. How can I update the algorithm? Also I wonder how the wolfe condition changes for maximization problems. Thank you and have a nice day.