每句后面加分号 min里面不要加z
0-1变量用@bin 比如@bin(x1);@bin(x2);
min=5*x1+7*x2+5*x3+4*x4+6*x5+5*x6+5*x7+3*x8; 25*x1+36*x2+32*x3+15*x4+31*x5+28*x6+22*x7+12*x8>=105.69;
@bin(x1);@bin(x2);@bin(x3);@bin(x4);@bin(x5);@bin(x6);@bin(x7);@bin(x8);
每句后面加分号 min里面不要加z
0-1变量用@bin 比如@bin(x1);@bin(x2);
min=5*x1+7*x2+5*x3+4*x4+6*x5+5*x6+5*x7+3*x8; 25*x1+36*x2+32*x3+15*x4+31*x5+28*x6+22*x7+12*x8>=105.69;
@bin(x1);@bin(x2);@bin(x3);@bin(x4);@bin(x5);@bin(x6);@bin(x7);@bin(x8);