diff options
Diffstat (limited to 'tests/general_tests/intfminbnd/intfminbnd_logical4.sce')
-rw-r--r-- | tests/general_tests/intfminbnd/intfminbnd_logical4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/general_tests/intfminbnd/intfminbnd_logical4.sce b/tests/general_tests/intfminbnd/intfminbnd_logical4.sce new file mode 100644 index 0000000..0a22bc4 --- /dev/null +++ b/tests/general_tests/intfminbnd/intfminbnd_logical4.sce @@ -0,0 +1,12 @@ +// function is not defined at the starting point + +function y = fun(x) + y = 1/x; +endfunction +x1 = [-10]; +x2 = [0] +intcon=[1] + +[xopt,fopt,exitflag,output,lambda] = intfminbnd (fun, intcon, x1, x2); + +// InFeasible Solution.
\ No newline at end of file |