[pgrouting-dev] Having problems under standing the distance matrix of TSP in respect to route network pgroute version 2
Daniel Kastl
daniel at georepublic.de
Fri Jun 14 06:19:06 PDT 2013
On Fri, Jun 14, 2013 at 10:07 PM, Stephen Woodbridge <
woodbri at swoodbridge.com> wrote:
> Hi Dave,
>
> I'm not totally opposed to this, but I would like to discuss how you plan
> to structure the data and what your query would look like.
>
> There is another possibility that I like better and that would be to write
> stored procedure that takes you sql query and returns a matrix.
>
> matrix[][] pgr_matrix(sql text)
>
> Then you can do something like:
>
> select * from pgr_tsp(pgr_matrix('select * from matrix_table'), 27);
>
>
This idea I really like, because we might also be able to use it then for
Razequl's VRP solver.
Daniel
--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20130614/c95281d2/attachment.html>
More information about the pgrouting-dev
mailing list