-
model:
sets:gc/1..3/:gz; !i. The total output of all materials in the factory;
wz/1..10/:tj,m; !j. Material volume, storage fee;
cc/1..5/:w; !k warehouse volume,;
fd/1..8/:hz; !h branch;
yj1(gc,cc):b; !Freight rates from factory I to warehouse K;
yj2(cc,fd):f; !Freight rates from K warehouse to H branch;
cl(gc,wz):g; !the output of the materials of the factory J;
dj(gc,wz):p; !Pricing of materials in factory j;
dgc(gc,wz,cc):a; !The order quantity of J materials produced by factory I to warehouse K;
dcf(cc,wz,fd):e; !The order quantity of J materials transported from K warehouse to H branch;
endsets
objective function; min=@sum( gc(i):@sum(wz(j):@sum( cc(k): a(i,j,k)*p(i,j))))) i total number of goods shipped out of the factory**;
sum( gc(i):@sum(wz(j):@sum( cc(k): a(i,j,k)*b(i,k))) i factory to k warehouse freight rate: freight rate 1;
sum(wz(j):@sum(gc(i):@sum(cc(k):a(i,j,k))))m(j))) + total inventory fee;
sum(cc(k):@sum(fd(h):@sum(wz(j):e(k,j,h))*f(k,h)))K warehouse to H branch freight rate: freight rate 2;
yield constraints; for(cl(i,j):
sum(dgc(i,j,k): a(i,j,k))<=g(i,j));i. The amount shipped out of the warehouse is not greater than the production volume!;
The amount of J materials in warehouse K = the amount of goods shipped;
for(wz(j):@for(cc(k):
sum(gc(i):a(i,j,k))=@sum(fd(h):e(k,j,h))) The problem is here, everything else can be run;
data:gz=15200 10500 11200;
tj= 1 2 2 1 ;
m=40 70 90 100 120 120 150 160 180 200;
w=800 600 1000 700 800;b=
f=g=p=enddata
-
There is one colon missing after the model.
model:
min=s;
lp=;u=;t=1/u;
load=lp/u;
pwait=@peb(load,s);
w_q=pwait*t/(s-load);
w_q<=
l_q=lp*w_q;
gin(s);end
-
model is ill defined.
This means that the model is pathological and cannot be solved.
Double-check the model for errors.
Not a grammatical error.
-
Dear, Lingo is a multilingual translation software, and the Type 29 error can be related to problems that arise when Linggo is installed or used. Here are some possible workarounds: Reinstall the lingo software:
Type 29 errors can be caused by corrupted or missing lingo software files, try reinstalling the lingo software, you can fix this issue. Check the Lingo plugin: If you encounter a Type 29 error while using the Lingo plugin, you can try to check if the installation and settings of the Hunger Kaicha plugin are correct.
You can reinstall or update the Lingo plugin, or check if your browser settings allow the Lingo plugin to work. Check your network connection: The Lingo software requires access to the internet to provide multilingual translation services, and if your network connection is unstable or slow, it may cause Lingo to suffer Class 29 errors.
You can try checking your network connection, or use a faster, more stable network connection. Update the operating system: The Lingo software needs to run on the operating system that supports it, if your operating system is too old or does not support the Lingo software, scattering may cause the Lingo to have a Type 29 error rotten.
You can try updating your operating system and make sure that your operating system supports running the Lingo software. Contact Lingo customer service: If you still can't resolve the Type 29 error after trying the above methods, you can contact the official Lingo customer service to ask them more information about the problem and get further solutions.
-
Dear, lingo category 29 errors are usually caused by the use of unrecognized variables or functions in lingo scripts. To solve this problem, you can try the following methods:1
Check that the variables and functions used in the lingo script are correct. Make sure they are spelled and capitalized correctly and have been properly declared or defined in the script. 2.
Check for syntax errors in the lingo script. The lingo syntax is very strict, i.e. the old locust makes a small mistake that can also lead to ** not being executed properly. You can use the grammar checker tool in the Lingo IDE to check your script for syntax errors.
3.Check whether there are missing or mismatched parentheses, quotation marks, and other symbols in the Lingo script. Missing or mismatched symbols can also lead to compilation errors.
4.Make sure that the variable and function names in the lingo are not duplicated with the keywords and reserved words in the lingo. If they are duplicated, the lingo compiler will not recognize them.
5.If none of the above methods can solve the problem, you can try to release the ** line by line note in the lingo script, and gradually eliminate the cause of the error until you find the specific ** line that causes the error in category 29. Hopefully, the above methods can help you fix the Lingo Class 29 error issue.
-
Lingo is a computer-assisted translation software, and Type 29 errors usually refer to inconsistent terminology or missing translations. Here are some possible workarounds:1
Check whether the glossary is complete: Check whether the relevant terms are missing from the Qifu termbase or whether the glossary has been updated. If the relevant terms are missing, you need to manually add or import the glossary.
2.Check that the terms are translated correctly: If the terms in the glossary are not translated correctly, you need to manually modify or re-import the correct glossary.
3.Check whether the terminology drop-out in the source and target languages is consistent: If the terminology in the source and target languages are inconsistent, you need to manually adjust or use different glossaries.
4.Check the context of the text: If a Type 29 error occurs in a specific context, you need to check whether the text is in the correct context to determine the correct translation of the term.
It is important to note that Lingo is an assisted translation software and cannot completely replace human translation. When translating with Lingo, it is necessary to check it with a human translator to ensure the accuracy of the translation.
The second loop is wrong, and the correct one should be: @for(set2(i):@sum(link(j,i):a(j,i)*x(j))<=y(i)); >>>More
1. Establish a mathematical model according to the actual problem, that is, use the method of mathematical modeling to establish an optimization model; >>>More
I tried my best. Don't ask me what the arguments mean. Because I don't know either.
Picturebox also works well
Generally, the graphics of each chess piece are collected in a single diagram. >>>More
Pro, the difference between robot programming and graphic programming 1, the definition is different: programming design has a "controllable system" with the role of logic flow, programming is not necessarily for computer programs, for the system with logical computing power, can be considered programming. Robot programming is a sequential description of actions set up to enable a robot to accomplish a certain task. >>>More