You are on page 1of 2

EXPS:

%%%%%%%%%%%%%
expA:
dy(5) =w_1*y(2)+ w_2*u(ks);
tf = 28; h =0.4; 0<=u<=1

fbest = 23.067895438289117 exitflag = 2


output =

iterations: 39
funcCount: 2773
constrviolation: 0
stepsize: 5.467991248811704e-07
algorithm: 'interior-point'
firstorderopt: 1.041087928407847e-06
cgiterations: 0
message: 'Local minimum possible. Constraints satisfied.

fmincon stopped because the size of the current step is less than
the selec...'

TimeSpent =

8.392520883942367e+02

expB:
dy(5) =w_1*y(2)+ w_2*u(ks);
tf = 28; h =0.4; 0<=u<=0.5

###
expC: trial1; inicializamos: 0<=u<=0;
tf = 28; h =0.4; 0<=u<=1.5 (1� semana/5dias); 0<=u<=3 (3�,6�,9� semana/5dias)
fbest =

24.268072471165123

exitflag =

output =

iterations: 31
funcCount: 2272
constrviolation: 0
stepsize: 2.168601952231343e-04
algorithm: 'interior-point'
firstorderopt: 7.960699094852752e-07
cgiterations: 0
message: 'Local minimum found that satisfies the constraints.

Optimization completed because the objective function is non-decreasin...'


TimeSpent =

7.849669258402269e+02

%%%%%%%%%%%%%%%
expD:trial1; inicializamos: 0<=u<=0.5;
tf = 28; h =0.4; 0<=u<=1.5 (1� semana/5dias); 0<=u<=3 (3�,6�,9� semana/5dias)

You might also like