summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHarpreet2016-01-29 16:38:03 +0530
committerHarpreet2016-01-29 16:38:03 +0530
commitf7c5cbc61d5b52c749824298cfa39a95db2d879c (patch)
tree27aafcca0159b7b3bb2926ff3a9c6c25834980d2 /etc
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 'etc')
-rw-r--r--etc/FOSSEE_Optimization_Toolbox.quit (renamed from etc/Symphony.quit)10
-rw-r--r--etc/FOSSEE_Optimization_Toolbox.start (renamed from etc/Symphony.start)21
2 files changed, 13 insertions, 18 deletions
diff --git a/etc/Symphony.quit b/etc/FOSSEE_Optimization_Toolbox.quit
index 1eabef8..8e6aa18 100644
--- a/etc/Symphony.quit
+++ b/etc/FOSSEE_Optimization_Toolbox.quit
@@ -1,23 +1,23 @@
// Copyright (C) 2015 - IIT Bombay - FOSSEE
//
-// Author: Harpreet Singh
-// Organization: FOSSEE, IIT Bombay
-// Email: harpreet.mertia@gmail.com
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Harpreet Singh
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
function quitModule()
- etc_tlbx = get_absolute_file_path("Symphony.quit");
+ etc_tlbx = get_absolute_file_path("FOSSEE_Optimization_Toolbox.quit");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
//unlink libraries
- [bOK, ilib] = c_link('FAMOS');
+ [bOK, ilib] = c_link('FOSSEE_Optimization_Toolbox');
if bOK then
ulink(ilib);
end
diff --git a/etc/Symphony.start b/etc/FOSSEE_Optimization_Toolbox.start
index 328357a..894d577 100644
--- a/etc/Symphony.start
+++ b/etc/FOSSEE_Optimization_Toolbox.start
@@ -1,22 +1,22 @@
// Copyright (C) 2015 - IIT Bombay - FOSSEE
//
-// Author: Harpreet Singh
-// Organization: FOSSEE, IIT Bombay
-// Email: harpreet.mertia@gmail.com
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Harpreet Singh
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
-mprintf("Start FAMOS\n");
+mprintf("Start FOSSEE Optimization Toolbox\n");
if ( isdef("sym_open") ) then
warning("Library is already loaded");
return;
end
-etc_tlbx = get_absolute_file_path("Symphony.start");
+etc_tlbx = get_absolute_file_path("FOSSEE_Optimization_Toolbox.start");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
@@ -51,14 +51,9 @@ else
link(lib_path + "/libcoinlapack.so");
link(lib_path + "/libcoinmumps.so");
link(lib_path + "/libipopt.so");
-
-
end
exec(pathconvert(root_tlbx + filesep() + "sci_gateway" + filesep() + "loader_gateway.sce",%f));
-
-
-
// Load and add help chapter
// =============================================================================
if ( %t ) then
@@ -66,7 +61,7 @@ if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad help\n");
path_addchapter = pathconvert(root_tlbx+"/jar");
if ( isdir(path_addchapter) <> [] ) then
- add_help_chapter("Symphony", path_addchapter, %F);
+ add_help_chapter("FOSSEE_Optimization_Toolbox", path_addchapter, %F);
clear add_help_chapter;
end
clear path_addchapter;
@@ -79,8 +74,8 @@ end
if ( %t ) then
if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad demos\n");
- pathdemos = pathconvert(root_tlbx+"/demos/sci_symphony.dem.gateway.sce",%f,%t);
- add_demo("Symphony",pathdemos);
+ pathdemos = pathconvert(root_tlbx+"/demos/sci_FOSSEE_Optimization_Toolbox.dem.gateway.sce",%f,%t);
+ add_demo("FOSSEE_Optimization_Toolbox",pathdemos);
clear pathdemos ;
end
end