Hello All,(adsbygoogle = window.adsbygoogle || []).push({});

I'm new to the forum and new to fortran as well.

I've been trying to create a method for implementing the steepest descent method for optimization.

I've been able to create the code for a fixed step size and it worked beaufitully, but I can not seem to be able to find the optimal step size.

My teacher asked us to use a cubic interpolation for it, and I was able to create a system using a stepsize interval and finding the best in the interval, but in the program, the loop to find this step size crashes.

If needed, I can post the code to what I've done, but it's kind of messy( I am VERY unorganized). lol

Any tips?

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Steepest Descent in Fortran

Loading...

Similar Threads - Steepest Descent Fortran | Date |
---|---|

Is my math okay for gradient descent | Mar 5, 2018 |

How to buy Fortran Programming Software Commersial License | Jan 30, 2018 |

Fortran for Computational Fluid Dynamics Problems | Jan 11, 2018 |

Porting Python Code to Fortran for Parallel Computing | Dec 15, 2017 |

**Physics Forums - The Fusion of Science and Community**