找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 文档 工具 设计
查看: 522|回复: 0

LINGO教程

[复制链接]

2万

主题

1249

回帖

2万

积分

超级版主

教育辅助界扛把子

附加身份标识
精华
1
热心
7
听众
1
威望
48
贡献
14312
违规
0
书币
49991
注册时间
2020-4-8

论坛元老灌水之王

发表于 2022-4-21 02:44 | 显示全部楼层 |阅读模式
LINGO 教程
§1 LINGO 快速入门 .....................................................................................................................3
§2 LINGO 中的集.........................................................................................................................5
2.1 为什么使用集....................................................................................................................5
2.2 什么是集............................................................................................................................5
2.3 模型的集部分....................................................................................................................5
§3 模型的数据部分和初始部分...................................................................................................8
3.1 模型的数据部分................................................................................................................9
3.2 模型的初始部分..............................................................................................................11
§4 LINGO 函数...........................................................................................................................11
4.1 基本运算符......................................................................................................................12
4.2 数学函数..........................................................................................................................13
4.3 金融函数..........................................................................................................................14
1.@fpa(I,n)...................................................................................................................14
2.@fpl(I,n)....................................................................................................................14
4.4 概率函数..........................................................................................................................14
1.@pbn(p,n,x) ..............................................................................................................14
2.@pcx(n,x)..................................................................................................................15
3.@peb(a,x)..................................................................................................................15
4.@pel(a,x)...................................................................................................................15
5.@pfd(n,d,x)...............................................................................................................15
6.@pfs(a,x,c)................................................................................................................15
7.@phg(pop,g,n,x) .......................................................................................................15
8.@ppl(a,x) ..................................................................................................................15
9.@pps(a,x)..................................................................................................................15
10.@psl(x)....................................................................................................................15
11.@psn(x)...................................................................................................................16
12.@ptd(n,x) ................................................................................................................16
13.@qrand(seed) ..........................................................................................................16
4.5 变量界定函数..................................................................................................................17
4.6 集操作函数......................................................................................................................17
1.@in(set_name,primitive_index_1 [,primitive_index_2,…]).....................................17
2.@index([set_name,] primitive_set_element) ............................................................17
3.@wrap(index,limit)...................................................................................................18
4.@size(set_name) .......................................................................................................18
4.7 集循环函数......................................................................................................................18
1.@for ..........................................................................................................................18
2.@sum ........................................................................................................................19
3.@min 和@max .........................................................................................................19
4.8 输入和输出函数..............................................................................................................20
1.@file 函数.................................................................................................................20




「LINGO教程.pdf」https://www.aliyundrive.com/s/nYqeCQ2N1J6

Great works are not done by strength, but by persistence! 历尽艰辛的飞升者,成了围剿孙悟空的十万天兵之一。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则 需要先绑定手机号


免责声明:
本站所发布的第三方软件及资源(包括但不仅限于文字/图片/音频/视频等仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢某程序或某个资源,请支持正版软件及版权方利益,注册或购买,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To: admin@cdsy.xyz

QQ|Archiver|手机版|小黑屋|城东书院 ( 湘ICP备19021508号-1|湘公网安备 43102202000103号 )

GMT+8, 2024-11-22 00:11 , Processed in 0.043216 second(s), 26 queries .

Powered by Discuz! CDSY.XYZ

Copyright © 2019-2023, Tencent Cloud.

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