summaryrefslogtreecommitdiff
path: root/tests/general_tests/intfminbnd/intfminbnd_logical7.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/intfminbnd/intfminbnd_logical7.sce')
-rw-r--r--tests/general_tests/intfminbnd/intfminbnd_logical7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/general_tests/intfminbnd/intfminbnd_logical7.sce b/tests/general_tests/intfminbnd/intfminbnd_logical7.sce
new file mode 100644
index 0000000..b698b1c
--- /dev/null
+++ b/tests/general_tests/intfminbnd/intfminbnd_logical7.sce
@@ -0,0 +1,12 @@
+// Checking exponential function
+function y = fun(x)
+ y = exp(x);
+endfunction
+x1 = [-1000];
+x2 = [1000];
+intcon=[1]
+
+[xopt,fopt,exitflag,output,lambda] = intfminbnd (fun, intcon, x1, x2);
+
+// Optimal Solution Found.
+