Constrained Optimization Problems with MATLAB
Вставка
- Опубліковано 5 вер 2024
- This video explains how to write the objective functions and solve the contained optimization problems in MATLAB.
@DrHarishGarg
MATLAB Codes
MATLAB Code of Gaussian Quantum PSO: • MATLAB Code of the Gau...
MATLAB Code of Firefly Algorithm: • MATLAB Code of Firefly...
MATLAB Code of Cuckoo Search: • MATLAB Code of Cuckoo ...
MATLAB Code of PSO: • MATLAB CODE OF THE PSO...
MATLAB Code of ABC: • MATLAB Code of Artific...
MATLAB Code of TLBO: • MATLAB Code of the TLB...
MATLAB Code of SGO: • MATLAB CODE of Social ...
Nice video
Dear Sir, please post one video to solve multi objective optimization problem using pso
You save me!! Thanks a lot!! For sure i will read all your papers
Thanks
Hello Sir
Thanks for your efforts and time you spent to prepare that amazing videos..
Sir, how to to modify that script to use multi objective constrained optimization?
I am willing to use Epsilon constraint method.. please share one video about that topic..
Thanks
You are the best, thank you ☺️
You're welcome 😊
hi sir thank you so much for the video im a phd scholar in electrical engineering im doing research in optimization can you help me to how to write an objective function along with equality and inequality constraints in matlab with respect to electrical research papers (any one resarch problem with constraints)
Sir, Please explain about multi objective optimization
How to handle if we have integer variable and linear and linear constraints?
Second if we have objective function let say minimize makespan , it means objective function should be run for all operations that how we can type this kind objective function?
thank you very much for your lecture about objective function and constrained optimization ,but with great excuse can you help me my pso code ,how to put objective function and constraint optimization for power load shedding system
Great explanation.
Can you please make a video on a script I'll share with you?
Sir, Thank you very much for shared video. I have a question. How to minimized multiple inequality constraints in a fitness function. please help me if possible.
Hello Sir, Thanks for your effort . I find that the penalty term in the function is incorrect.
Hi Sir, thank you very much for your shared video. I have a question which need you supporting me: i want to predict the setpoint for a mpc controller in simulink, my target is: predict to find position of a setpoint and check pv/mv in a range before sending SP to mpc controller. Could you advise me how to do that. Thank you in advance.
thanku sir for sharing this .. i already asked abt equality constraint.. this will be very helpful.. i have 1 question.. suppose i created
fitness fun = objective fun+ lamda( equality constraint)
let equality constraint= some constant value - sum of min value (row) of 3*3 matrix
means it will be the best position of 3*3 matrix and will be equal to constant then RHS value will be 0.
how can i write matlab code for this beacuse 3*3 matrix is generated by random no.
You can convert equality constraints say g(x)=0 into two constraints as g(x)
@@DrHarishGarg sir if there are two equality constraints in a objective function then can i write this in following way
objective function=fitness fun+ lamda(first equality constraint+ second equality constraint)
Hi, if we have not Lb and Ub in the problem,how we initialize the parameters? Thank you before.
Hi sir,
suppose I have two variables: x1 and x2; and x1 must be different from x2 (as a contraint). Also I have discrete (1,2...30) and continuous variables( 0....29.9,30 ).
How to form these values in function and main file ?
Thank you in advance.
Hello sir, I am getting an error
"Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 0-by-1."
when I am running it with the PSO algorithm from your video. What should I do? I have initialized the penalty variable with "penalty = [];"
09:07 Please explain sir, in the very last line what does 2 mean?
Sir can you send important questions of cosm all chapters according to JNTuh sir
Hello D. Harish, thanks for the time you put in to explain these videos. Please i sent you an email in respect to this video. I will be glad if you can assist.
Sir, How can we optimize the value of x1, x2, x3 if fitness is : x^2 + x1+x2*x3
Watch the other videos on Matlab code ... It is also solved and discussed.
you are not define x in program then how can you define y1,y2 and y3
even after converting greater than inequality constraints into less than inequality constraints by negative sign is there any necessity to write penalty function
Penalty functions are used to handle the constraints.... If there is no constraints in the problem then there is no need to write penalty function.
hello sir,i am getting this error
Unrecognized function or variable 'penalty'.
what should i do
Check spelling deeply .. The explained code work perfectly.
Thank you sir. @@DrHarishGarg
Hello Sir
I tried to use this program in the Firefly Algorithm which available in your channel but always I get error.
This video will tell only how to write the objective function in Matlab... To run it, watch other matlab code videos... Then it run perfectly
Thanks for your response.
Sir, could you recommend any video to fix that issue??!!
if you have any video related to that issue please share the link
There is no error in my explained MATLAB code ... You just checked all the written setup ... Might be, you types wrong.... Make sure that the objective function should be save as a separate file and place in a same folder
I am trying to run this program, I'm alway getting error 😭
This file is used to construct the objective function .... Call this function in your main matlab code and then run
@@DrHarishGarg
Yes sir, I got it.
Thank you sir