The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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: 136
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.