-
Notifications
You must be signed in to change notification settings - Fork 8
/
initialize_pop.m
25 lines (24 loc) · 1.2 KB
/
initialize_pop.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
function [ POP ] = initialize_pop(n,c,bu,bd)
% Usage: [ POP ] = initialize_pop(n,c,bu,bd)
%
% Input:
% bu -Upper Bound
% bd -Lower Bound
% c -No. of Decision Variables
% n -Population Scale
%
% Output:
% POP -Initial Population
%
%%%% Authors: Handing Wang, Yaochu Jin, John Doherty
%%%% University of Surrey, UK
%%%% EMAIL: [email protected]
%%%% WEBSITE: https://sites.google.com/site/handingwanghomepage
%%%% DATE: May 2018
%------------------------------------------------------------------------
%This code is part of the program that produces the results in the following paper:
%Handing Wang, Yaochu Jin, John Doherty, Committee-based Active Learning for Surrogate-Assisted Particle Swarm Optimization of Expensive Problems, IEEE Transactions on Cybernetics, vol.47, no.9, pp.2664-2677, 2017.
%You are free to use it for non-commercial purposes. However, we do not offer any forms of guanrantee or warranty associated with the code. We would appreciate your acknowledgement.
%------------------------------------------------------------------------
POP=lhsdesign(n,c).*(ones(n,1)*(bu-bd))+ones(n,1)*bd;
end