楼主: bryant_liu
2355 7

[其他] 请问stata有无外部命令可以做带限制条件的二次规划啊?有例子最好 [推广有奖]

  • 0关注
  • 0粉丝

大专生

25%

还不是VIP/贵宾

-

威望
0
论坛币
632 个
通用积分
0.0030
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1078 点
帖子
36
精华
0
在线时间
34 小时
注册时间
2009-9-14
最后登录
2018-4-19

楼主
bryant_liu 发表于 2011-8-14 19:56:22 |AI写论文
20论坛币
请问stata有无外部命令可以做带限制条件的二次规划啊?如果有?命令是什么?有无例子或者帮助文件啊?

关键词:Stata 限制条件 外部命令 tata 二次规划 最好

沙发
蓝色 发表于 2011-8-14 20:11:32
stata的特长应该不是在你说的那个方面啊

你还是用Gams软件或者lingo等规划软件吧

藤椅
bryant_liu 发表于 2011-8-14 21:33:29
感谢版主,不过听说有一个命令叫 matqp.ado 可以做这个,就是找不到命令下载和相应的说明文件了,外国的那个网址关了。请问哪位可以帮我找找。谢谢。

板凳
石瑞 在职认证  发表于 2011-8-15 00:29:54
我也想知道啊
假如爱有天意!

报纸
蓝色 发表于 2011-8-15 07:34:57
bryant_liu 发表于 2011-8-14 21:33
感谢版主,不过听说有一个命令叫 matqp.ado 可以做这个,就是找不到命令下载和相应的说明文件了,外国的那个 ...
https://bbs.pinggu.org/thread-272681-1-1.html
根据这里的方法找命令

地板
h3327156 发表于 2011-8-15 09:09:10
findit matqp

作者自己说
We provide a collection of linear algebra commands that operate on
      explicit matrices (the commands with names that start with mat)
      and on "implied matrices" formed by variables and selected
      observations (the commands that start with the prefix var).
      
      Various commands are in (early stages of) development:
        matlp      linear programming
        matnnls    non-negative least squares
        matqp      quadratic programming
        matqr      QR-decomposition
        matsolve   linear equation solver
        matspec    special matrices (Pascal,Wilkinson,Rosset,...)
      Please contact the author about details, and if you want to help in
      creating these commands and in making a full

结论:可能指令被更新了!但新的指令应当可以达成您想要的

7
蓝色 发表于 2011-8-15 09:12:35
可以下载啊

8
bryant_liu 发表于 2011-8-15 14:35:55
遗憾的是,新增的matfunc.pkg里面取消了执行 quadratic programming的命令,故才有此一问的。谢谢。
Contents
--------

        matcond         condition number
        maxexp          matrix exponential
        matginv         Moore-Penrose generalized-inverse
        matnull         orthogonal basis of the null space
        matorth         orthogonal basis of column space
        matpower        power of a matrix
        matrank         rank (number of independent rows/columns)

        matmax          row/column/overall maximum
        matmin          row/column/overall minimum
        matnorm         (L2-)norm
        matrand         random matrix
        matsum          row/column/overall sum
        mati            displays the result of a matrix expression

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-24 10:06