I want to convert my GAPSO code(gapso_logic) similar to my PSO code(pso_logic). I have done quite a few changes but still, it is not working. If there are mistakes in variables, function inputs, outputs, etc, Please do let me know. Thank you.
Convert on what sense? I recommend you to check some implementations of these two algorithms, if your trying to merge them.
In https://github.com/aeroreyna/AISearchMatlab, you can find the PSO and GA, using a generic object structure for population-based metaheuristics.
It is simple to implement, such as:
D = 2; %Dimensionality = No. Variables to Optimize pso = PSO(@fitnessFunction, D); solution = pso .start(); %Executes the algorithm optimization function [ r, x ] = fitnessFunction( vector ) x = vector * 1000 - 500; % Scale the dimensions. m = size(vector, 2); %dimensions r= 418.9829 * m + sum(-x .* sin(sqrt(abs(x))), 2); end
Adolfo Reyna Orta I'll definitely try to study these implementations.
Thank you for your advice sir.
We have synthesized various metal complexes with different environment around the metals. Now to see the application of synthesized complexes we need this study also. we are also interested in...
01 March 2021 1,899 2 View
Which is suitable for use with Python? MySQL or SQL Server? What is your suggestion?
01 March 2021 3,422 3 View
Incompletely cross-linked pdms are difficult to remove.
01 March 2021 798 3 View
Is there any reason for decrease in fluorescence emission intensity of HSA,BSA when increase the concentration ?
28 February 2021 3,653 4 View
Dear All, I am doing my MS in Electronic Businesses. And I am interested in the AI field and its applications for businesses, its benefits, impacts, etc. What kind of scientific research dominate...
26 February 2021 8,816 6 View
Hello, As part of simulation of gases mixture and water, I need to calculate viscosity of the fluid components and I am using relationships proposed by Chung et al. (1988). The irony is while I...
25 February 2021 8,053 5 View
Most of the papers have compared different hyperparameters such as layers, initializers, activation function, and optimizer algorithm in the CNN algorithm for detecting network intrusion. This is...
24 February 2021 4,578 4 View
I used EdgeR to get the list of DEGs (differentially expressed genes) from my liver RNA-seq experiment. I have done the gene overrepresentation and GSEA based pathway analysis. I am currently...
23 February 2021 8,969 1 View
I am studing the mircogel at oil-water interface. I want to know the adsorb amount of microgel at the oil water interface. How we can determine this amount?. I will highly appreciate your...
19 February 2021 2,787 1 View
Physiologically in cow, oestrous heat again goes on the peak after 2 months but locally this is not observed and AI is after two months but done after at least 6 months.
17 February 2021 685 4 View
Hello, I am currently working on simulating water droplet partciles in a closed room. When I use uniform particles, without "particle break-up", I can carry out the simulation without any problem....
02 March 2021 3,053 2 View
How would define the "good" and "poor" distribution of particles within the matrix. Is there a quantitative solution to assess the distribution of the particles, which then having denotation of...
28 February 2021 7,397 8 View
I think we were all surprised at the first time we got to know quantum mechanics that the squared modulus of the wave function is the probability density of the existence of the particle? The role...
28 February 2021 6,282 9 View
I am interested in evaluating mesh optimization solvers that converge to high aspect ratio unstructured hexahedral grids. In other words, I am interested in a solver that optimizes warpage,...
26 February 2021 7,279 2 View
In the formation of Zno nano particles process, after drying at 120 degree C, my zno nano particles are completely white but when i calcine it for 450 degree C it converts into grey colour. i...
26 February 2021 2,435 4 View
Hi, I am trying to learn the theoretical modelling of silver nanoparticle using the Mie scattering theory. After that, I discovered a software named Mieplot developed by Philip Laven, where it...
25 February 2021 7,493 6 View
Hi, I am having trouble with a problem, in the field of Optimal Control and the generation of optimal time-series. Let's consider a system, whose dynamics are represented by dx/dt =...
24 February 2021 9,105 2 View
I will start to fabricate micro/nanoparticles for growth factor release and I check out a procedure quite nice, however, it is lacking some details and since I don't have much knowledge doing this...
20 February 2021 199 2 View
I don't know much about molecular dynamics, but I am suspicious of my pressure being equal to kinetic energy. I am using // sum the velocities squared: double v2sum = 0.0; for (int i = 0; i
15 February 2021 1,316 3 View
Hi RG community, Like the title shows ,i was wondering if choosing the GA for this kind of Optimizaiton is a good choice? For example we have a population of 100 (for 7-8 Optimization Variables),...
14 February 2021 1,160 7 View