Displaying 1 result from an estimated 1 matches for "objectivefunction1".
Did you mean:
objectivefunction
2003 Oct 31
1
Optimization of objective function with generic number of arguments (R-Extension with C code)
...GENERIC number of arguments and letting me
to optimize over a specific one among them if there are many.
#################################################
############### IPOTETICAL MAIN ###############
#################################################
#Objective func with only one parameter
ObjectiveFunction1<-function(a){
...
}
#Objective func with two arguments
ObjectiveFunction2<-function(a,b){
...
}
#Minimize the first function
MyOptim(pars,ObjectiveFunction1)
#Minimize the second function over the first argument
MyOptim(pars,ObjectiveFunction2,b=xxx)
#Minimize the second function over...