找回密码
 注册
Simdroid-非首页
查看: 436|回复: 3

[入门&进阶] isight优化计算时,有没有自动保存功能,断电后能否接着进行优化,如何?

[复制链接]
发表于 2005-12-1 14:59:54 | 显示全部楼层 |阅读模式 来自 江苏南京
我的优化问题计算量很大,最担心断电了。断电后能否接着优化,怎样设置呢? 请指点迷津!
发表于 2005-12-2 16:53:42 | 显示全部楼层 来自 北京

Re:isight优化计算时,有没有自动保存功能,断电后能否接着进行优化,如何?

Simdroid开发平台
You should be able to continue/re-start from a power interruption as long as iSIGHT can read the database file and you still have the log file.  In the log file, look at the second line of the file and get the random number seed value.  It will be three five-digit numbers separated by slashes.
In your "re-run" description file, insert the following line at the end of your TaskHeader Block:RandGenInit: xxxxx/yyyyy/zzzzz
This will seed your previous run to have an identical sequence as the interrupted run.
Make a copy of your "old" database file with a new name, as an intermediate safeguard.Now open the description file with iSIGHT and go to the iSIGHT: Database window.  Identify a new name for your resulting database file, then select the "Database Lookup Files ..." button, set the OLD database file in the window for "Sequence of Database Lookups" and use the "Yes" button under "Restore Previous Run(s)".  Use the "Exact" button under "Match Mode".
iSIGHT will now check for the existence of each run before proceeding with an simcode execution.  It should run through your previous executions relatively quickly until it hits the point where the process was stopped, and then resume as expected.  All restored and newly executed runs will be reflected in your new database file.
 楼主| 发表于 2005-12-4 19:17:27 | 显示全部楼层 来自 江苏南京

Re:isight优化计算时,有没有自动保存功能,断电后能否接着进行优化,如何?

You are so kind, thank you! ^_^
发表于 2008-10-30 12:59:33 | 显示全部楼层 来自 上海嘉定区
为何要用EE。看来是看得懂中文,但不会写。 :D 。
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-10-6 02:24 , Processed in 0.044400 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表