Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi Acerbi committed May 29, 2016
1 parent 4bc0ecb commit 6e25ec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo_opt.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
try bps(@optfun,x0,LB,UB); catch display('BPS not installed.'); end

%% IMGPO
rng('default'); rng(0); x0 = [-0.5,2.5]; LB = [-2,-1]; UB = [2,3];
optfun('IMGPO',@rosenbrock);
try IMGPO_default_run(@optfun,numel(LB),[LB;UB]',300,0,0,0,0); catch display('IMGPO not installed.'); end
% rng('default'); rng(0); x0 = [-0.5,2.5]; LB = [-2,-1]; UB = [2,3];
% optfun('IMGPO',@rosenbrock);
% try IMGPO_default_run(@optfun,numel(LB),[LB;UB]',300,0,0,0,0); catch display('IMGPO not installed.'); end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NOISY OBJECTIVE FUNCTION
Expand Down

0 comments on commit 6e25ec1

Please sign in to comment.