whtwhtwht 发表于 2007-5-12 10:55:27

求助!!

各位高手,小弟初识建模,遇到了一个难题,大概意思是在一个上网调查问卷,前一部分是一些对性别,年龄,工作等的调查,后一部分是一道对上网动机的调查的多选题,共20个选项,包括学习娱乐等等。另外题目还给了一个统计表,上面只有调查结果的百分比,没有具体每一张问卷的答案。题目要求设计两个模型,第一个是上网动机评价模型,第二个是由自己选出前一部分中对上网动机影响最大的因素,建立模型。我整整想了一天都没有什么思路,没办法,谁让自己是菜鸟呢。请各位高手帮帮忙,给个大体思路就成。

包不同 发表于 2007-5-20 15:33:26

lingo问题求助

MODEL:
SETS:
venders1/v1,v2/:c1,x1;
goods1/g1,g2/:m1,o1;
vg1(venders1,goods1):z1,g1,b1,p1;
ENDSETS
DATA:
m1= 3800,3000;
c1= 1200 2000;
g1= 2 1
    1.8 0.8;
b1= 3000 3500
    2500 4000;
p1= 3 2.2
    3.2 2.1;
o1= 500,300;

ENDDATA
min=@sum(vg1(i,j):P1(i,j)*z1(i,j))+@sum(venders1:x1*c1)+@sum(vg1(i,j):g1(i,j)*z1(i,j));
@for(vg1(i,j):z1(i,j)<=b1(i,j));
@for(venders1(i):x1(i)=@if(@sum(goods1(j):z1(i,j)^2)#gt#0,1,0));
@for(goods1(j):m1(j)+1.28*o1(j)<=@sum(venders1(i):z1(i,j)));
end
提示无可行解 什么原因

包不同 发表于 2007-5-20 15:34:08

lingo问题求助

MODEL:
SETS:
venders1/v1,v2/:c1,x1;
goods1/g1,g2/:m1,o1;
vg1(venders1,goods1):z1,g1,b1,p1;
ENDSETS
DATA:
m1= 3800,3000;
c1= 1200 2000;
g1= 2 1
    1.8 0.8;
b1= 3000 3500
    2500 4000;
p1= 3 2.2
    3.2 2.1;
o1= 500,300;

ENDDATA
min=@sum(vg1(i,j):P1(i,j)*z1(i,j))+@sum(venders1:x1*c1)+@sum(vg1(i,j):g1(i,j)*z1(i,j));
@for(vg1(i,j):z1(i,j)<=b1(i,j));
@for(venders1(i):x1(i)=@if(@sum(goods1(j):z1(i,j)^2)#gt#0,1,0));
@for(goods1(j):m1(j)+1.28*o1(j)<=@sum(venders1(i):z1(i,j)));
end
提示无可行解 什么原因

包不同 发表于 2007-5-20 15:34:41

lingo问题求助

MODEL:
SETS:
venders1/v1,v2/:c1,x1;
goods1/g1,g2/:m1,o1;
vg1(venders1,goods1):z1,g1,b1,p1;
ENDSETS
DATA:
m1= 3800,3000;
c1= 1200 2000;
g1= 2 1
    1.8 0.8;
b1= 3000 3500
    2500 4000;
p1= 3 2.2
    3.2 2.1;
o1= 500,300;

ENDDATA
min=@sum(vg1(i,j): P1(i,j)*z1(i,j))+@sum(venders1:x1*c1)+@sum(vg1(i,j):g1(i,j)*z1(i,j));
@for(vg1(i,j):z1(i,j)<=b1(i,j));
@for(venders1(i):x1(i)=@if(@sum(goods1(j):z1(i,j)^2)#gt#0,1,0));
@for(goods1(j):m1(j)+1.28*o1(j)<=@sum(venders1(i):z1(i,j)));
end
提示无可行解 什么原因
页: [1]
查看完整版本: 求助!!