Problem with sim command

5 次查看(过去 30 天)
Santhosh Vasudevan
Santhosh Vasudevan 2012-5-23
Hi All,
I get a error message while using sim command ( simulate dynamic system) inside Fitness function which i use for Genetic algorithm.
I know the error is Singularity problem. All i want to know is.. Is there any way by which i can overcome this error. ( that is i want ga to leave those input values and go further with its next search something like try catch go error handling block?)
Thank you in Advance.

回答(2 个)

dimitris
dimitris 2012-5-23
If i understood what you mean, your problem is that for some values you get an error. In this case you can set your constraints in a way that those values are not produced by the ga.

Santhosh Vasudevan
Santhosh Vasudevan 2012-5-23
Thank you so much for replying dimitris
However I dont have mathematical equation to tell at which place those errors might occur. So i want ga to ignore the current input value and try next in the search.
And yes i think you have understood my problem.
Regards Santhosh

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by