Community Profile

photo

Tuhin


Active since 2014

Research Scholar

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

oltre 5 anni ago | 0 answers | 0

0

answers

Question


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...

oltre 5 anni ago | 1 answer | 0

1

answer

Question


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 ...

circa 8 anni ago | 1 answer | 0

1

answer

Question


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 ...

circa 8 anni ago | 1 answer | 0

1

answer