summaryrefslogtreecommitdiff
path: root/loader.sce
diff options
context:
space:
mode:
authorHarpreet2016-09-03 00:36:51 +0530
committerHarpreet2016-09-03 00:36:51 +0530
commita0d9443af147e949c1e6a01ac24749d12593ec5b (patch)
tree1a1955c5482ae608fd7f618b06f4ecc6a0d39a23 /loader.sce
parent4b64cf486f5c999fd8167758cae27839f3b50848 (diff)
downloadFOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.gz
FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.bz2
FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.zip
cbcintlinprog added
Diffstat (limited to 'loader.sce')
-rw-r--r--loader.sce31
1 files changed, 9 insertions, 22 deletions
diff --git a/loader.sce b/loader.sce
index f4801ed..573167b 100644
--- a/loader.sce
+++ b/loader.sce
@@ -1,23 +1,10 @@
// This file is released under the 3-clause BSD license. See COPYING-BSD.
-// Generated by builder.sce : Please, do not edit this file
-// ----------------------------------------------------------------------------
-//
-libFOSSEE_Scilab_in_path = get_absolute_file_path('loader.sce');
-//
-// ulink previous function with same name
-[bOK, ilib] = c_link('libFOSSEE_Scilab_intqpipopt');
-if bOK then
- ulink(ilib);
-end
-//
-list_functions = [ 'inter_fminunc';
- 'inter_fminbnd';
- 'inter_fmincon';
-];
-addinter(libFOSSEE_Scilab_in_path + filesep() + 'libFOSSEE_Scilab_intqpipopt' + getdynlibext(), 'libFOSSEE_Scilab_intqpipopt', list_functions);
-// remove temp. variables on stack
-clear libFOSSEE_Scilab_in_path;
-clear bOK;
-clear ilib;
-clear list_functions;
-// ----------------------------------------------------------------------------
+// Generated by builder.sce: Please, do not edit this file
+
+try
+ getversion("scilab");
+catch
+ error("Scilab 5.0 or more is required.");
+end;
+
+exec(get_absolute_file_path("loader.sce")+"etc/"+"FOSSEE_Optimization_Toolbox.start");