I'm trying to use FGSL to maximize a function.
My problem is that the function I'm trying to maximize is a combination of many other functions and I don't know how to set the paremeters of those and then pass everything into FGSL.
For example, in line 212 I declare the first function that is part of my objective function. The parameters of this function are p1).
Then I keep defining other functions and finally in line 366 I declare my objective function
Finally in line 405 I have a subrutine that uses FGSL to calculate the maximum of my objective function. I try to define the parameters in 435 and then i pass them to fgsl in 496.
Thanks for the help!
My problem is that the function I'm trying to maximize is a combination of many other functions and I don't know how to set the paremeters of those and then pass everything into FGSL.
For example, in line 212 I declare the first function that is part of my objective function. The parameters of this function are p1).
Then I keep defining other functions and finally in line 366 I declare my objective function
Finally in line 405 I have a subrutine that uses FGSL to calculate the maximum of my objective function. I try to define the parameters in 435 and then i pass them to fgsl in 496.
Thanks for the help!