origin dijkstra with jp models