powered by
This function calculates the Fermat-Weber point for a tropical polytope
trop.FW(A)
numeric vector providing the tropical Fermat-Weber point for the tropical polytope
matrix with normalized tropical points as rows
David Barnhill david.barnhill@nps.edu
Lin, Bo and Ruriko Yoshida (2016). Tropical Fermat-Weber Points. SIAM J. Discret. Math. 32: 1229-1245.
P <-matrix(c(0,0,0,0,2,5,0,3,1),3,3,TRUE) trop.FW(P)
Run the code above in your browser using DataLab