[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## [Help-glpk] Printing non-zero parts of a solution matrix

**From**: |
Reginald Beardsley |

**Subject**: |
[Help-glpk] Printing non-zero parts of a solution matrix |

**Date**: |
Fri, 19 Oct 2012 14:44:15 -0700 (PDT) |

The problem I'm solving has a small number of non-zero results in the solution
matrix.
Is there a way to print just the non-zero elements w/ GMPL?
The obvious approach of iterating over the matrix w/ for doesn't allow a
conditional inside the actions.
thanks,
Reg

**[Help-glpk] Printing non-zero parts of a solution matrix**,
*Reginald Beardsley* **<=**