|
From: | Nigel Galloway |
Subject: | Re: [Help-glpk] [Fwd: New input method.] |
Date: | Sat, 23 Apr 2011 06:26:29 -0700 |
Thank you for answering.
I do agree that we could think of a lot of ways to represent data and that all of them would not be useful. Though I think the first thing you expect for initilizing a table (such as simplex table), is actually a usual matrix, ie a 2 dimentional table, ie a double pointer ('double **matrix' in my exemple), containing only values, no indices. I think it is not actually a representation of the data among others, it is the most intuitive one.
On the other hand, having three 1-dimentional table (2 for indices one for values), as curently done, may be very useful if the matrix has only few values differant from zero; but quite tedious to use in general case. Anyway, in my case adding the other method saved me time.
_______________________________________________ Help-glpk mailing list address@hidden https://lists.gnu.org/mailman/listinfo/help-glpk
-- http://www.fastmail.fm - Accessible with your email software or over the web
[Prev in Thread] | Current Thread | [Next in Thread] |