This is my model:
set linhas;
set colunas;
param c{j in colunas};
param A{i in linhas,j in colunas};
param b{i in linhas};
var x{j in colunas}>=0;
minimize FO:
sum{j in colunas} c[j]*x[j];
s.t. R{i in linhas}:
sum{j in colunas} A[i,j] = b[i];
end;
I got the following error when solving the model with glpsol
:
Arquivo1.txt:3: syntax error in parameter data block
Context: set linhas ; set colunas ; param c {
MathProg model processing error.
Can you help me? I could not find what's wrong with this code.