I am trying to optimize two functions with same set of parameter such as f(x,y) and g(x,y) simulatenously. However,
I can only run optimization for each function one by one via optim() function. I just want to know if there is any method or
function I can use to minimize those two function at the same time and gain a common vector(x,y) for both functions.
Thx!!!!