Recent content by massalami

  1. M

    Fortran Optimizing Steepest Descent in Fortran: How to Find the Optimal Step Size?

    alright, uart. thanks for the input. I'll try fixing that. Now that I've retried the program, I'm still having trouble with the program without the loop, meaning that my alpha1 and alpha2 functions and variable functions might have some problems with it too. Even without the if and the...
  2. M

    Fortran Optimizing Steepest Descent in Fortran: How to Find the Optimal Step Size?

    Ok. GSal, I did as you instructed me, corrected the formatting, fixed the alfa1 call to add 4 parameters but I am still getting an error. The program stops when i run, but compiles fine, although I understand that is irrelevant. I believe the error is in the do while loop that includes the...
  3. M

    Fortran Optimizing Steepest Descent in Fortran: How to Find the Optimal Step Size?

    I appreciate the help and comments. I apologize for the mess. This program was kind of rushed and I wasn't able to develop it properly. I will try to do as you guys told me and re do it, but otherwise, I will come and bother you guys again :biggrin:
  4. M

    Fortran Optimizing Steepest Descent in Fortran: How to Find the Optimal Step Size?

    ok then. Basically explaining what i used, was to set alfa1 to 0 and alfa2 to the upper limit. Then I used a cubic interpolation, using a function of alfa1 and a function of alfa 2, with the same coeficients and a function of their derivative in respect to alfa 1 and alfa2. the function of...
  5. M

    Fortran Optimizing Steepest Descent in Fortran: How to Find the Optimal Step Size?

    Hello All, 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...
Back
Top