1stOpt 做多变量多模型公式非线性回归 软件没有反应
我用的网上传的1.5版的。不知是软件本身的问题还是我的代码有问题。请大家指教。代码如下:
Parameters p(1:14);
Variable k, n, y1, y2;
SharedModel;
Function y1 = (p1*n^2+p2*n+p3)*((p4*k^2+p5*k+p6)*(p7*n^2+p8*n+p9)+p10);
y2 = ((p11*n^2+p12*n+p13)+p14*n^3)*((p1*n^2+p2*n+p3)*((p4*k^2+p5*k+p6)*(p7*n^2+p8*n+p9)+p10))+p14*n^3;
data;
0 1 0.003787425 15.31838993
0 2 0.057029567 59.20552972
0 3 0.263195445 126.3910242
0.2 1 1.265412032 15.53412396
0.2 2 1.333455925 58.54601834
0.2 3 1.560939973 124.4014572
0.4 1 2.520697452 17.20797882
0.4 2 2.593553235 60.20958096
0.4 3 2.835538311 125.7042497
0.6 1 3.766515135 20.4976009
0.6 2 3.829247945 64.55080753
0.6 3 4.069497587 131.0650101
0.8 1 4.999485571 25.56898277
0.8 2 5.031820794 71.93561634
0.8 3 5.242418645 141.3272313
1 1 6.216064469 32.59232678
1 2 6.192606285 82.70866346
1 3 6.33301766 157.3141087 网上的1.5版好像不支持SharedModel功能。
下面是3.0计算结果:
No 目标y1 计算y1 目标y2 计算y2
1 0.003787425 2.40944894741929 15.31838993 16.2641285875855
2 0.057029567 2.72155281476851 59.20552972 59.4951603353565
3 0.263195445 1.83587493196753 126.3910242 125.504672123734
4 1.265412032 2.22112251192972 15.53412396 15.3245434411282
5 1.333455925 2.58267999964263 58.54601834 58.1913899986511
6 1.560939973 1.54488138973272 124.4014572 123.77037104023
7 2.520697452 2.46307822131682 17.20797882 16.5316920288964
8 2.593553235 2.76109929808587 60.20958096 59.8664319324899
9 2.835538311 1.9187404751843 125.7042497 125.998544944011
10 3.766515135 3.13531607558058 20.4976009 19.88557435089
11 3.829247945 3.25681071009822 64.55080753 64.520286136873
12 4.069497587 2.95745218832229 131.0650101 132.189193835077
13 4.999485571 4.23783607472101 25.56898277 25.3861904071092
14 5.031820794 4.06981423567968 71.93561634 72.1529526118005
15 5.242418645 4.66101652914667 141.3272313 142.342317713429
16 6.216064469 5.77063821873811 32.59232678 33.0335401975538
17 6.192606285 5.20010987483026 82.70866346 82.7644313572723
18 6.33301766 7.02943349765745 157.3141087 156.457916579065 应该是没PJ好的过。 应该是没PJ好的过。
我现在在做毕业论文,不知道dingd兄能否传我一份3.0版的,多谢!
我的邮箱是kuai119@126.com。 应该是没PJ好的过。
我现在在做毕业论文,不知道dingd兄能否传我一份3.0版的,多谢!
我的邮箱是。
mrlivib 发表于 2010-4-19 21:22 static/image/common/back.gif
呵呵 3.0有那么容易就搞到的么 好歹也得几千块钱
页:
[1]