


{"id":198320,"date":"2021-11-23T08:18:11","date_gmt":"2021-11-23T08:18:11","guid":{"rendered":"\/forum\/forums\/reply\/198320\/"},"modified":"2021-11-23T08:24:35","modified_gmt":"2021-11-23T08:24:35","slug":"198320","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/198320\/","title":{"rendered":"Reply To: Using different matlab optimization algorithms inside Maxwell"},"content":{"rendered":"<p>thanks for your help.<br \/>\nIndeed, I&#8217;m aware of this part. But i cannot find how to specify correctly the number of variables [6] and options.<br \/>\n[x,fval,exitflag,output] = particleswarm (wrapperfunc, [6], $ANS_MINVAL, $ANS_MAXVAL, options)<br \/>\nBesides, this is a ready to use  matlab optimizer. <br \/>\nBut I have a custom made optimizer in matlab and i need to call this optimizer which is not ready function in matlab.<br \/>\nThis optimizer should receive the computed objectives from Maxwell and send change to the design parameters in Maxwell.<br \/>\nBR<br \/>\nMohamed<\/p>\n","protected":false},"template":"","class_list":["post-198320","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/198320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/198320\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=198320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}