> I would suggest to implement > more general routines (in Java) that allow the user to store/load an int > or double to/from a node/arc at the specified offset (measured in > bytes). >
Id est, something equivalent to this: void put_double_to_node(glp_graph *G, int i, int offset, double d); and double get_double_from_node(glp_graph *G, int i, int offset); where offset is a non-negative offset, in bytes, from the beginning of the associated node/arc memory block (it is allocated/deallocated automatically by glpk routines on creating/deleting nodes and arcs). _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
