Feeds
提问
How to include a constrained equation in PSO code?
I have developed a PSO code for unconstrained problems. In case of constrained optimization, how should I link the constraint fu...
7 years 前 | 0 个回答 | 0
0
个回答提问
My PSO codes gives different results after each run
I have developed a PSO code for 4 variables (maximization problem). Now when I run the code, each time the results shows differe...
7 years 前 | 1 个回答 | 0
1
个回答提问
In the program below, the loop stops at theta(4). It will be a great help if you can please help me to rectify the error.
clear theta(1)= input('Enter your guess:') theta(3)= theta(1) S1=0.5 S2=.32 S3=0.56 dx=(1/30) for i= 2:30 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
I am new in MATLAB and trying to write this code on NEWTON-RAPHSON. Please help me to rectify the error in this code. I have shared the program with the error signal below. Its urgent. Any help will be highly appreciated.
syms x f= cos(3*x) - x x(1)=input('Enter your guess:'); tol=input('Enter the tolerance:'); fdash=diff((f)); for ...
10 years 前 | 1 个回答 | 0