Fork me on GitHub
摘要: 第一步:输入目标条件和约束条件。每行以分号隔开。然后点击工具栏上的Solve按钮,或Lingo菜单下的Solve子菜单。第二步:检查report中的结果。默认情况下,Lingo不进行灵敏度分析。需要在Lingo中一下配置才可以生成灵敏度分析报告:Lingo菜单》Options. General So... 阅读全文
posted @ 2015-10-28 21:53 ZHK的博客 阅读(6560) 评论(0) 推荐(0) 编辑
摘要: 首先自定义三种类型(如下代码1-3行),第一行使用scalar type,第2,3行使用Structured type。提出问题:第5,7行同为创建数组,为什么第5行能work,而第7行会raise一个exception:expected an object with a buffer interf... 阅读全文
posted @ 2015-10-28 13:07 ZHK的博客 阅读(5595) 评论(0) 推荐(0) 编辑