


{"id":159735,"date":"2021-06-23T00:44:59","date_gmt":"2021-06-23T00:44:59","guid":{"rendered":"\/forum\/forums\/topic\/scripting-is-there-a-way-to-delete-intermediary-iteration-results-after-optimization\/"},"modified":"2021-08-26T05:33:30","modified_gmt":"2021-08-26T05:33:30","slug":"scripting-is-there-a-way-to-delete-intermediary-iteration-results-after-optimization","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scripting-is-there-a-way-to-delete-intermediary-iteration-results-after-optimization\/","title":{"rendered":"Scripting: Is there a way to delete intermediary iteration results after optimization?"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>I am making multiport sequential optimizations in a script where per-port matching are interleaved with inter-port matchings, untill the perfect solution is found.<\/p>\n<p>The problem is that every optimization setup I execute in my script has solutions stored for 20-30 iterations of search. So the amount of S-parameters data stored grows like a snowball. And it impacts performance actually, making plotting the data difficult the same time.<\/p>\n<p><\/p>\n<\/p>\n<p>Is there an approach of deleting the intermediary data after an optimization setup was completed, but only for that last setup execution(keeping previous good results), excluding the final(good) result?<\/p>\n<p>Like, getting the id&#039;s of every optimetrics iteration in the last run, and finding which one was the last solution to exclude from the list? Are there id&#039;s or sequential numbers at all?<\/p>\n<p><\/p>\n<\/p>\n<p>(I use VBS in 2021R1)<\/p>\n","protected":false},"template":"","class_list":["post-159735","topic","type-topic","status-closed","hentry","topic-tag-hfss","topic-tag-optimetrics","topic-tag-scripting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":[""],"_bbp_old_reply_author_name_id":["Anonymous"],"_bbp_old_is_reply_anonymous_id":["false"],"_btv_view_count":["2575"],"_bbp_likes_count":["0"],"_bbp_subscription":["252259"],"_bbpmt_movedon":["2022-07-01 17:09:57"],"_bbpmt_movedfrom":["151970"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["159735"],"_bbp_forum_id":["27793"],"_bbp_engagement":["28551","178124"],"_bbp_voice_count":["2"],"_bbp_reply_count":["12"],"_bbp_last_reply_id":["183040"],"_bbp_last_active_id":["183040"],"_bbp_last_active_time":["2021-08-26 05:33:30"]},"test":"andyjp"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/159735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/159735\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=159735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}