I'm using postgreSQL and I'm running the
pgr_astar function to get the optimal path. I calculated my path using a formula that uses angle of elevation or the angle of depression as input. So I'm getting negative values on the cost column, I
pgr_astr function does not return any result when I'm using the cost values.
Any suggestion please? How can I manipulate this function to get the optimal path using the cost's negative values?