help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Building a graph on the fly


From: Andrew Makhorin
Subject: Re: [Help-glpk] Building a graph on the fly
Date: Wed, 18 Apr 2012 14:57:30 +0400

>  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).




reply via email to

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