Fixed demos of neldermead
[scilab.git] / scilab / modules / optimization / demos / optimization.dem.gateway.sce
1 //
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2008 - INRIA
4 //
5 // This file is distributed under the same license as the Scilab package.
6 //
7
8 demopath = get_absolute_file_path("optimization.dem.gateway.sce");
9 subdemolist = [
10 "Non linear data fitting",               "datafit/datafit.dem.sce"; ...
11 "optim/Rosenbrock",                      "optim/optim_rosenbrock.sce"; ...
12 "optim/Output",                          "optim/optim_output.sce"; ...
13 "optim/Plot",                            "optim/optim_plot.sce"; ...
14 "optim/Derivative",                      "optim/optim_withderivative.sce"; ...
15 "fminsearch/Rosenbrock",                 "neldermead/fminsearch_rosenbrock.sce"; ...
16 "fminsearch/tolx",                       "neldermead/fminsearch_tolx.sce"; ...
17 "fminsearch/Output Function",            "neldermead/fminsearch_outputfunction.sce"; ...
18 "fminsearch/Option Display",             "neldermead/fminsearch_display.sce"; ...
19 "fminsearch/Plot Func Count",            "neldermead/fminsearch_optimplotfunccount.sce"; ...
20 "fminsearch/Plot F",                     "neldermead/fminsearch_optimplotfval.sce"; ...
21 "fminsearch/Plot X",                     "neldermead/fminsearch_optimplotx.sce"; ...
22 "neldermead/Rosenbrock Variable",        "neldermead/neldermead_rosenbrock.sce"; ...
23 "neldermead/Output Command",             "neldermead/neldermead_outputcmd.sce"; ...
24 "nmplot/Han #1",                         "neldermead/nmplot_han1.sce"; ...
25 "nmplot/Han #2",                         "neldermead/nmplot_han2.sce"; ...
26 "nmplot/McKinnon #1",                    "neldermead/nmplot_mckinnon.sce"; ...
27 "nmplot/McKinnon #2",                    "neldermead/nmplot_mckinnon2.sce"; ...
28 "nmplot/Quadratic Fixed #1",             "neldermead/nmplot_quadratic.fixed.sce"; ...
29 "nmplot/Quadratic Fixed #2",             "neldermead/nmplot_quadratic.fixed2.sce"; ...
30 "nmplot/Rosenbrock Fixed",               "neldermead/nmplot_rosenbrock.fixed.sce"; ...
31 "nmplot/Rosenbrock Variable",            "neldermead/nmplot_rosenbrock.sce"; ...
32 "neldermead/Box A",                      "neldermead/neldermead_boxproblemA.sce"; ...
33 "neldermead/Box B",                      "neldermead/neldermead_boxproblemB.sce"; ...
34 "neldermead/Box Bounds",                 "neldermead/neldermead_boxbounds.sce"; ...
35 "neldermead/Box Post",                   "neldermead/neldermead_boxpost.sce" ...
36 ];
37
38 if with_module('genetic_algorithms') then
39   subdemolist = [subdemolist; ...
40                  "Genetic algorithms",                    "../../genetic_algorithms/demos/GAdemo.sce"; ...
41                  "Genetic algorithms and Ising problem",  "../../genetic_algorithms/demos/GAIsing2ddemo.sce"; ...
42                  "MultiObjective Genetic Algorithm",      "../../genetic_algorithms/demos/MOGAdemo.sce"; ...
43                  "Niched Sharing Genetic Algorithm",      "../../genetic_algorithms/demos/NSGAdemo.sce"; ...
44                  "Niched Sharing Genetic Algorithm II",   "../../genetic_algorithms/demos/NSGA2demo.sce"];
45 end 
46
47 if with_module('simulated_annealing') then
48   subdemolist = [subdemolist; ...
49                  "Simulated Annealing",                   "../../simulated_annealing/demos/SAdemo.sce"; ...
50                  "Simulated Annealing and Ising problem", "../../simulated_annealing/demos/SAIsing2ddemo.sce"];
51 end
52
53 subdemolist(:,2) = demopath + subdemolist(:,2)
54
55