设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4151|回复: 2

[求助] 数据库中的元素能否设为优化变量?

[复制链接]
发表于 2009-7-23 14:43:30 | 显示全部楼层 |阅读模式
我试了一整天,好象只有模块中的变量可以设置为优化模块中的变量,数据库中的Cell一直设置不成功,请教高手
发表于 2009-7-23 20:15:13 | 显示全部楼层
Jeff以前发过一个关于干这个的详细方法:; R1 P* ?2 C. B6 g% M3 w# R! E
Use a Write block (Value Library) as an interface between the Database and the Optimizer. Follow these steps:! a/ ?1 H% s" g3 F+ p" G$ d( b. S+ z
1.In a Write block, select the Database and table with the variables for the Optimizer.0 c: ~, W9 l, c8 d, s1 i# @
2.Drag the clone of the preview table from the Write block to the Optimizer once per variable in the Optimizer.9 U+ ]/ P# K* n  j3 }' n1 `) k3 C
3.Set the row and column in the Optimizer for the table. Remember that these are 0 based references (the first row and column are numbered 0).
) r. K/ J+ c6 Q% U6 J; jWhen the Optimizer changes the variables, they will automatically be changed in the Database.
 楼主| 发表于 2009-7-28 15:11:16 | 显示全部楼层
谢谢各位的关照,这个问题已经搞定了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2026-2-11 08:23 , Processed in 0.020193 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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