Search All of the Math Forum:

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

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

Topic: Minimization Problem FMINCON
Replies: 8   Last Post: Dec 6, 2010 10:40 AM

 Messages: [ Previous | Next ]
 Joe Ajay Posts: 18 Registered: 10/30/10
Posted: Dec 6, 2010 9:23 AM

Hi I just need only one rectification in my problem there is no one here who knows optimization in matlab and I'm the only one working on it & my professor says i must complete this by tomorrow help me in this please.hope you will understand my situation here

Attempted to access a(2); index out of bounds because numel(a)=1.

my objective function is:

f=1-1/1+exp(-15.02+(6.09*(1-(100-(95*exp((-0.03353*a(1)*a(1)*a(1)*a(1))-(0.2179*a(1)*a(1)))/100))))+(4.88*(1-(0.5*(1/1+exp(3.118-0.00215*a(2))))+(0.5*(1/(1+exp(3.23-0.00117*a(2)))))))+(4.73*(1-1/(1+exp(9.54-0.134*a(3)))))+(3.7*(1-1/(1+exp(-1.017+0.00558*a(4))))));

my bounds are
lb=[-2,500,42,200]
ub=[2,1800,75,1600]

Date Subject Author
6/10/10 Alan Weiss
6/11/10 Steven Lord
6/14/10 Steven Lord
12/6/10 Joe Ajay
12/6/10 Steven Lord