
From:  name name 
Subject:  [Helpglpk] abs 
Date:  Sat, 20 Nov 2010 13:29:09 +0100 
Hello,
I want to calculate
var y,>=0;
maximize obj:
abs(1y);
fa:
...
fb:
...
solve;
...
data;
...
I get the argument for abs has invalide type, could you tell me how I could do this?
Is it possible to solve the maximization probleme several times?
something like this
var y,>=0;
{k in 1 .. 20} :
/* To get the solution for k=1, solution for k=2 ...*/
maximize obj:
abs(1y);
fa:
...
fb:
...
solve;
...
data;
...
And the last question
How can I compile an model model.mod where the data is in a file model.dat
Thank you a lot
Onor
[Prev in Thread]  Current Thread  [Next in Thread] 