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: Numerical optimization
Replies: 3   Last Post: Aug 20, 2014 3:35 PM

Advanced Search

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

Posts: 2
Registered: 8/18/14
Numerical optimization
Posted: Aug 18, 2014 11:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi - I want to optimize a function with 2x sets of variable in which each set includes 5 variables - it should read...
for j =1 : size(variable #1)
for k = 1: size(variable #2)
CostFunction = A variable #1 + B variable #2

variable #1 is defined as a vector eg. [.3 .35 .45 .56 .7]
variable #2 can be any (float) number between = [0 100]
AIM: find an optimum combination of 5 float number to minimize the cost function. for example the result could be [10.2 20.4 62.1 46.7 98.1] which yields CostFunction ~ 0
Is there any optimization algorithm to solve this kind of numerical problem?

'optimtool' provides optimization solution for analytical function.

I would appreciate your help - Morteza

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.