search for: objectivefunction2

Displaying 1 result from an estimated 1 matches for "objectivefunction2".

Did you mean: objectivefunction
2003 Oct 31
1
Optimization of objective function with generic number of arguments (R-Extension with C code)
...ong 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 the second argument MyOptim(pars,ObjectiveFunction2,a=xxx) #############...