Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: fgoalattain: 3 GoalsExact to Achieve and 1 function to minimize
Replies: 6   Last Post: Jan 3, 2013 1:23 PM

 Messages: [ Previous | Next ]
 Red Star Posts: 136 Registered: 6/28/08
fgoalattain: 3 GoalsExact to Achieve and 1 function to minimize
Posted: Dec 25, 2012 12:17 PM

I have a function with 4 output. The output from 1 to 3 have to be exactly equal to several values (that I defined in a 'goal' vector).
Therefore I called odeset and I imposed: 'GoalsExactAchieve',3

The last function, the 4th one, has to be minimized.There is not any special goal. It has simply to return the littlest possible value, taking into account the goals of the other functions (i.e. 1st, 2nd, 3rd output of my function).

Nevertheless the fgoalattain requires the goal vector has the same dimension of the output function. In my case, which value shall I set as 4th goal?

Furthermore, I imposed weight = abs(goal). It seems this is the general setting. Is it correct also in this circumstance?

Best Regards

Date Subject Author
12/25/12 Red Star
12/25/12 Thomas Clark
12/25/12 Red Star
12/25/12 Red Star
12/27/12 Red Star
1/2/13 Alan Weiss
1/3/13 Red Star