Hello,

I want to calculate



var y,>=0;



maximize obj:

abs(1-y);



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(1-y);



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
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to