-
Notifications
You must be signed in to change notification settings - Fork 0
/
FunRange.m
113 lines (63 loc) · 1.49 KB
/
FunRange.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
function [Low,Up,Dim]=FunRange(FunIndex)
Dim=500;
switch FunIndex
case 101 % Battery1
% Battery(A,B,U0,K,R,Q)
%Example 1
Xi=[0.39528, 2.92162, 3.7724, 0.00831, 0.009, 2.25];
Low=[0 0 0 0 0 0 ];Up=10*Xi;Dim=6;
case 102 %Battery2
%Example 2
Xi=[0.13318, 3.9456, 3.32597, 0.00011, 0.003, 20]; %initial solution
Low=[0 0 0 0 0 0 ];Up=10*Xi;Dim=6;
case 103 %Battery3
%Example 3
Xi=[1.37832, 0.89532, 14.7523, 0.00212, 0.009, 7.5];
Low=[0 0 0 0 0 0 ];Up=10*Xi;Dim=6;
case 1
Low=-100;Up=100;
case 2
Low=-10;Up=10;
case 3
Low=-100;Up=100;
case 4
Low=-100;Up=100;
case 5
Low=-30;Up=30;
case 6
Low=-100;Up=100;
case 7
Low=-1.28;Up=1.28;
case 8
Low=-500;Up=500;
case 9
Low=-5.12;Up=5.12;
case 10
Low=-32;Up=32;
case 11
Low=-600;Up=600;
case 12
Low=-50;Up=50;
case 13
Low=-50;Up=50;
case 14
Low=-65.536;Up=65.536;Dim=500;
case 15
Low=-5;Up=5;Dim=500;
case 16
Low=-5;Up=5;Dim=500;
case 17
Low=[-5 0];Up=[10 15];Dim=500;
case 18
Low=-2;Up=2;Dim=500;
case 19
Low=0;Up=1;Dim=500;
case 20
Low=0;Up=1;Dim=500;
case 21
Low=0;Up=10;Dim=500;
case 22
Low=0;Up=10;Dim=500;
otherwise
Low=0;Up=10;Dim=500;
end