Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Red Star

Posts: 135
Registered: 6/28/08
fgoalattain: 3 GoalsExact to Achieve and 1 function to minimize
Posted: Dec 25, 2012 12:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.