请问一个LINGO求解混合整数规划问题?我这建了一个数学模型,从8个供应商选择几个进行订货,X为订货量,Y为0-1变量,选择时为1不选时为0.用LINGO编程,运行时显示错误为:unexpected jacobian overflow.我

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/07 18:33:44
请问一个LINGO求解混合整数规划问题?我这建了一个数学模型,从8个供应商选择几个进行订货,X为订货量,Y为0-1变量,选择时为1不选时为0.用LINGO编程,运行时显示错误为:unexpectedj

请问一个LINGO求解混合整数规划问题?我这建了一个数学模型,从8个供应商选择几个进行订货,X为订货量,Y为0-1变量,选择时为1不选时为0.用LINGO编程,运行时显示错误为:unexpected jacobian overflow.我
请问一个LINGO求解混合整数规划问题?
我这建了一个数学模型,从8个供应商选择几个进行订货,X为订货量,Y为0-1变量,选择时为1不选时为0.用LINGO编程,运行时显示错误为:unexpected jacobian overflow.我的程序如下,我是初学者,
model1:
SETS:
m/p1,p2,p3,p4,p5,p6,p7,p8/:y,x,w,v,q,t;
ENDSETS
DATA:
w=0.233,0.544,0.329,0.780,0.533,0.454,0.762,0.303;
v=4000,2500,3500,1800,2500,2600,1800,2500;
q=0.022,0.015,0.024,0.032,0.02,0.018,0.03,0.02;
t=0.04,0.015,0.025,0,0.015,0.02,0.01,0.02;
D=5000;
Q=0.025;
t=0.025;
n=4;
ENDDATA
The objective;
max=@sum(m(j):v(j)*x(j));
The capacity constraints;
@for(m(j):x(j)≤v(j)*y(j));
The demand constraints;
@sum(m(j):x(j))≥D;
The quality constraints;
@sum(m(j):x(j)*q(j))≤Q*D;
The time constraints;
@sum(m(j):x(j)*t(j))≤T*D;
The number of suppliers constraints;
@sum(m(j):y(j))≤4;
@for(m(j):@bin(y(j)));
@for(m(j):@gin(x(j)));
end

请问一个LINGO求解混合整数规划问题?我这建了一个数学模型,从8个供应商选择几个进行订货,X为订货量,Y为0-1变量,选择时为1不选时为0.用LINGO编程,运行时显示错误为:unexpected jacobian overflow.我
model: SETS: m/p1,p2,p3,p4,p5,p6,p7,p8/:y,x,w,v,q,t; ENDSETS DATA: w=0.233,0.544,0.329,0.780,0.533,0.454,0.762,0.303; v=4000,2500,3500,1800,2500,2600,1800,2500; q=0.022,0.015,0.024,0.032,0.02,0.018,0.03,0.02; t=0.04,0.015,0.025,0,0.015,0.02,0.01,0.02; D=5000; Q1=0.025; t1=0.025; n=4; ENDDATA !The objective; max=@sum(m(j):v(j)*x(j)); !The capacity constraints; @for(m(j):x(j)=D; !The quality constraints; @sum(m(j):x(j)*q(j))

lingo软件可以求解混合整数非线性规划(MINLP)问题吗 lingo求解非线性整数规划问题用lingo求解下面的问题 求Lingo高手帮忙混合整数规划求解!求Lingo编程! 请问一个LINGO求解混合整数规划问题?我这建了一个数学模型,从8个供应商选择几个进行订货,X为订货量,Y为0-1变量,选择时为1不选时为0.用LINGO编程,运行时显示错误为:unexpected jacobian overflow.我 如何用lingo解整数规划问题? 如何用lingo解整数规划问题? lingo在求解混合整数规划模型时的算法是怎么样的?忘了,问题的变量还有可以为负数的整数,是PINLP问题,用什么算法求解的? 我想请问一下这个整数规划问题 用lingo如何编程 请看图形 Lingo输入问题我要求一个整数规划问题,有一个约束条件是:若a+b>0,则T=100;若a+b=0,则T=50请问上面那个约束条件怎样在Lingo中表达出来? 求Lingo高手帮忙混合整数规划,设施规划问题求解!对于建立函数和用lingo建模都不太会,求教!4个生产厂a,b,c,d,每个厂可选择生产0,10或20单位 .不同规模的固定成本矩阵 a b c 整数规划问题,用lingo应该如何编? Lingo版本的选择求解一个整数规划模型,变量有140*50=7000,约束条件有400多个,用lingo的哪个版本可以解决?紧急! 什么是混合整数非线性规划问题 整数规划LINGO求解,max R=20X + 5Y2X + 3Y lingo 最优化-混合整数和0/1规划请问用lingo计算一个:15 4max ∑ ∑[pgen(t)(i)-u(i)(t)*(1-u(i)(t-1)*pstart(i)]t=1 i=1s.t tstart(i)>=[n/a,5,n/a,n/a]tstart(i)=0i=1pgen(i)(t)=0 (0 求一道规划问题的LINGO输入数学模型如图,用LINGO求解如何输入?是否需要用到集?重酬啊 那位lingo高手可以不吝赐教混合整数规划求解问题?满足物流派送时间约束条件下,仓库选址优化!model:sets:llc/c1..c14/:llc_rent,llc_human,x;lsp/p1..p14/:lsp_rent,lsp_human,y;customer/c1..c14/:demand;llc_links(llc,custome lingo解01整数规划问题想把这个方程式转化成LINGO可运算的式子