Hi Reniere,
> #######
> var x{n in NUMBER_OF_INTEGER}, integer;
> var y{n in NUMBER_OF_REAL};
> #####
OK. You are talking about 2 variables now. It is different topic, 2
matrices involved.
We need to return to the original question, how to translate this
simple CPLEX MIP model into MathProg using equation.
1 matrix involving var x var x{n in NUMBER}.
We narrow down to this problem
How do you translate this
############
var x1, >=0, <=40;
var x2;
var x3;
var x4, >=2, <=3;
#############
into (MathProg equation format)
var x{n in NUMBER}
The var x{n in NUMBER} that would accept integer as well as real number.
Noli
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk