From b9490a903ae42debe53a96b224d508974c86db6e Mon Sep 17 00:00:00 2001 From: Harpreet Date: Mon, 31 Aug 2015 18:36:09 +0530 Subject: Set Options Checked --- demos/symphony_knapsack.sce | 4 +- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 2669 -> 3518 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 350 -> 489 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 178 -> 192 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 14002 -> 17999 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 10240 -> 12288 bytes help/en_US/scilab_en_US_help/index.html | 4 +- jar/scilab_en_US_help.jar | Bin 110123 -> 122102 bytes macros/lib | Bin 408 -> 432 bytes macros/names | 1 + macros/setOptions.bin | Bin 3988 -> 4100 bytes macros/setOptions.sci | 20 +-- macros/symphony.bin | Bin 9840 -> 18644 bytes macros/symphony.sci | 16 +-- macros/symphony.sci~ | 81 ------------ macros/symphony_call.sci | 2 + macros/symphony_mat.bin | Bin 0 -> 16464 bytes macros/symphony_mat.sci | 137 +++++++++++++++++++++ 19 files changed, 164 insertions(+), 103 deletions(-) delete mode 100644 macros/symphony.sci~ create mode 100644 macros/symphony_mat.bin create mode 100644 macros/symphony_mat.sci diff --git a/demos/symphony_knapsack.sce b/demos/symphony_knapsack.sce index e28b7b1..854bf06 100644 --- a/demos/symphony_knapsack.sce +++ b/demos/symphony_knapsack.sce @@ -95,6 +95,8 @@ conLB=repmat(0,nbCon,1); // Upper Bound of constraints conUB=[11927 13727 11551 13056 13460 ]'; +options = ["time_limit" "10"] + // The expected solution : // Output variables @@ -104,7 +106,7 @@ xopt = [0 1 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 0 0 0 0 0 fopt = [ 24381 ] // Calling Symphony -[x,f,iter]= symphony(nbVar,nbCon,p,isInt,lb,ub,conMatrix,conLB,conUB,-1) +[x,f,iter]= symphony(nbVar,nbCon,p,isInt,lb,ub,conMatrix,conLB,conUB,-1,options) //========= E N D === O F === D E M O =========// diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 06f9d2a..e03ff0a 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 23b22c7..9aad308 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 656577e..162c59d 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 148cf77..525881e 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 096bb41..5f90db9 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=536 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=769 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 98648fa..0257c36 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html index 1b0fe8c..3aaf941 100644 --- a/help/en_US/scilab_en_US_help/index.html +++ b/help/en_US/scilab_en_US_help/index.html @@ -30,8 +30,8 @@

Symphony Toolbox