|
|
Re: fgoalattain: 3 GoalsExact to Achieve and 1 function to minimize
Posted:
Dec 27, 2012 3:20 PM
|
|
> > Perhaps I should use 'nonlcon' and modify MyFun so that: > > > > Function [c,ceq] = Const(x,goal) > > [f4, f1_3] = MyFun(x) > > % f1_3 = y(1:3) > > % f4 = y(4) > > ceq = f1_3 - goal > > end > > > > And minimize f4. However any evaluation of my function, in actual a double computational effort. I would avoid this 'brute force' approach > > What's your opinion?
The new question is: do you know an approach to avoid a double computational effort?
|
|