help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Re: Mathprog printout query az


From: Andrew Makhorin
Subject: [Help-glpk] Re: Mathprog printout query az
Date: Tue, 01 Feb 2011 15:43:53 +0300

> Is one able to omit zero valued variables (solutions) in my case     
> x[i,j]     using the commands
> 
>      display    and    printf

You can specify appropriate condition in display or printf statement,
e.g.

printf{i in I, j in J: abs(x[i,j]) >= .001} "...", x[i,j], ... ;

> 
> and also is one able to set a global option in glpsol or in the model 
> file not to print zero values?

No, such option is not supported.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]