Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hydroPSO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Senoner Samuel
hydroPSO
Commits
e5a79fd7
Commit
e5a79fd7
authored
12 years ago
by
Mauricio Zambrano-Bigiarini
Browse files
Options
Downloads
Patches
Plain Diff
hydroPSO: default values cahnged for 'TVc1.rng, TVc2.rng, TVlambda.rng
parent
af33e76f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+6
-0
6 additions, 0 deletions
NEWS
R/PSO_v2012.R
+3
-3
3 additions, 3 deletions
R/PSO_v2012.R
with
9 additions
and
3 deletions
NEWS
+
6
−
0
View file @
e5a79fd7
...
...
@@ -7,6 +7,12 @@ NEWS/ChangeLog for hydroPSO
AND (topology!="gbest" | method!="pso")
-) new 'random.update' parameter for the 'control' variable, in order to allow random update of personal/global best
-) default value of the inertia weight 'IW' was changed from (linearly decreasing) IW.w= c(1.2, 0.4) to 'IW.w=1/(2*log(2))'
-) default value for the time-varying c1 was changed from (non-linearly decreasing) 'TVc1.rng= c(2.2, 1.8)' to
'TVc1.rng= c(1.28, 1.05)'. However, by default 'use.TVc1= FALSE' still.
-) default value for the time-varying c2 was changed from (non-linearly increasing) 'TVc1.rng= c(1.8, 2.2)' to
'TVc2.rng= c(1.05, 1.28)'. However, by default 'use.TVc2= FALSE' still.
-) default value for the time-varying lambda was changed from (non-linearly decreasing) 'TVlambda.rng= c(0.9, 0.1)' to
'TVlambda.rng= c(1, 0.25)'. However, by default 'use.TVlambda= FALSE'
-) source code was tidy up
0.1-56 14-Jun-2012
...
...
This diff is collapsed.
Click to expand it.
R/PSO_v2012.R
+
3
−
3
View file @
e5a79fd7
...
...
@@ -1392,9 +1392,9 @@ hydroPSO <- function(
topology
=
c
(
"random"
,
"gbest"
,
"lbest"
,
"vonNeumann"
),
K
=
3
,
iter.ini
=
0
,
ngbest
=
4
,
# only used when 'method=ipso'
use.IW
=
TRUE
,
IW.type
=
c
(
"linear"
,
"non-linear"
,
"runif"
,
"aiwf"
,
"GLratio"
),
IW.w
=
1
/
(
2
*
log
(
2
)),
IW.exp
=
1
,
use.TVc1
=
FALSE
,
TVc1.type
=
c
(
"non-linear"
,
"linear"
,
"GLratio"
),
TVc1.rng
=
c
(
2
.2
,
1.
8
),
TVc1.exp
=
1.5
,
use.TVc2
=
FALSE
,
TVc2.type
=
c
(
"non-linear"
,
"linear"
),
TVc2.rng
=
c
(
1.
8
,
2
.2
),
TVc2.exp
=
1.5
,
use.TVlambda
=
FALSE
,
TVlambda.type
=
c
(
"non-linear"
,
"linear"
),
TVlambda.rng
=
c
(
0.9
,
.1
),
TVlambda.exp
=
1.7
,
use.TVc1
=
FALSE
,
TVc1.type
=
c
(
"non-linear"
,
"linear"
,
"GLratio"
),
TVc1.rng
=
c
(
1
.2
8
,
1.
05
),
TVc1.exp
=
1.5
,
use.TVc2
=
FALSE
,
TVc2.type
=
c
(
"non-linear"
,
"linear"
),
TVc2.rng
=
c
(
1.
05
,
1
.2
8
),
TVc2.exp
=
1.5
,
use.TVlambda
=
FALSE
,
TVlambda.type
=
c
(
"non-linear"
,
"linear"
),
TVlambda.rng
=
c
(
1
,
0.25
),
TVlambda.exp
=
1.7
,
use.RG
=
FALSE
,
RG.thr
=
1.1e-4
,
RG.r
=
0.8
,
RG.miniter
=
5
,
# RG.r not used in reagrouping
plot
=
FALSE
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment