summaryrefslogtreecommitdiff
path: root/docal.sce
diff options
context:
space:
mode:
authorHarpreet2016-08-31 10:22:01 +0530
committerHarpreet2016-08-31 10:22:01 +0530
commit356c6215f4872911205dcb2d155e7687ae4dd2a8 (patch)
tree63222841367ae36ed0bdf52dd30aabf8e5b21049 /docal.sce
parentd8fca69f239a275f5ffdbd870508c86b6e69c678 (diff)
downloadFOSSEE-Optim-toolbox-development-356c6215f4872911205dcb2d155e7687ae4dd2a8.tar.gz
FOSSEE-Optim-toolbox-development-356c6215f4872911205dcb2d155e7687ae4dd2a8.tar.bz2
FOSSEE-Optim-toolbox-development-356c6215f4872911205dcb2d155e7687ae4dd2a8.zip
intfminimax added and fmincon updated
Diffstat (limited to 'docal.sce')
-rw-r--r--docal.sce20
1 files changed, 0 insertions, 20 deletions
diff --git a/docal.sce b/docal.sce
deleted file mode 100644
index dc21e14..0000000
--- a/docal.sce
+++ /dev/null
@@ -1,20 +0,0 @@
-ulink();
-exec builder.sce
-exec loader.sce
-
-function y=f(x)
- y=-(x(1)+x(2)+x(3));
-endfunction
-
-function [c,ceq]=nlc(x)
- c=((x(2)-0.5)^2 + (x(3)-0.5)^2 - 0.25 );
- ceq = [];
-endfunction
-
-A = [1 -1 0 0;1 0 1 1;]
-b = [0 2]';
-lb =[0 0 0 0]
-ub = [1 %inf %inf 5]
-intcon = [1 4]
-x0 = [0 0 0 0]
-[x,fval,exitflag] =intfmincon(f, x0,intcon,A,b,[],[],lb,ub,nlc); \ No newline at end of file