summaryrefslogtreecommitdiff
path: root/macros/fminbnd.sci
diff options
context:
space:
mode:
authorHarpreet2016-01-29 16:38:03 +0530
committerHarpreet2016-01-29 16:38:03 +0530
commitf7c5cbc61d5b52c749824298cfa39a95db2d879c (patch)
tree27aafcca0159b7b3bb2926ff3a9c6c25834980d2 /macros/fminbnd.sci
parent2db803c34c6df02379ec88df3a7aa186700d9fbf (diff)
downloadFOSSEE-Optimization-toolbox-f7c5cbc61d5b52c749824298cfa39a95db2d879c.tar.gz
FOSSEE-Optimization-toolbox-f7c5cbc61d5b52c749824298cfa39a95db2d879c.tar.bz2
FOSSEE-Optimization-toolbox-f7c5cbc61d5b52c749824298cfa39a95db2d879c.zip
linprog general tests added
Diffstat (limited to 'macros/fminbnd.sci')
-rw-r--r--macros/fminbnd.sci8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/fminbnd.sci b/macros/fminbnd.sci
index c9bf4cc..2c29b03 100644
--- a/macros/fminbnd.sci
+++ b/macros/fminbnd.sci
@@ -253,12 +253,12 @@ function [xopt,fopt,exitflag,output,lambda] = fminbnd (varargin)
//To check the user entry for options and storing it
for i = 1:(size(param))/2
- select param(2*i-1)
- case "MaxIter" then
+ select convstr(param(2*i-1),'l')
+ case "maxiter" then
options(2*i) = param(2*i);
- case "CpuTime" then
+ case "cputime" then
options(2*i) = param(2*i);
- case "TolX" then
+ case "tolx" then
options(2*i) = param(2*i);
else
errmsg = msprintf(gettext("%s: Unrecognized parameter name %s."), "fminbnd", param(2*i-1));