|
| From: | ciol |
| Subject: | [Help-glpk] matrix size and allocation |
| Date: | Sun, 13 Jan 2008 15:37:12 +0100 |
| User-agent: | Thunderbird 2.0.0.9 (X11/20071031) |
Hi,I allocate my matrix with the size I need (and not with something like ia[1000+1], ja[1000+1], as shown in the first example of the doc).
But, later in my algorithm, I add some more columns: glp_add_cols() and glp_set_mat_col() Should I have allocated my matrix with a larger size?
| [Prev in Thread] | Current Thread | [Next in Thread] |