tungwaiyip.info

home

about me

links

Blog

< February 2015 >
SuMoTuWeThFrSa
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728

past articles »

Click for San Francisco, California Forecast

San Francisco, USA

 

Algorithm for the Turnpike Reconstruction Problem

I have spend quite some time to come up with an algorithm to the solve Turnpike problem. turnpike algorithm in Julia. A causal look at says the complexity is beyond 2^n. But in practice it compute instanteously for a data set of about 16,000 delta numbers.

Here is the description of them problem. Suppose there is n increasing integers p_1 < p_2 , ... < p_n, we are given the difference of between every pair of points. The Turnpike reconstruction problem is to reconstruct the point set p_i from the distances of the form |x_i − x_j|.

2015.02.03 comments

 

 

blog comments powered by Disqus

past articles »

 

BBC News

 

Covid: US death toll passes 200,000 (23 Sep 2020)

 

Covid: US funeral directors reflect on 200,000 death toll (22 Sep 2020)

 

UK sends US evidence on Islamic State 'Beatles' (23 Sep 2020)

 

Australia whale stranding: 470 animals now beached in Tasmania record (23 Sep 2020)

 

Johnson warns of tougher curbs if UK rules flouted (23 Sep 2020)

 

Musk: ,000 Tesla ready 'in about three years' (23 Sep 2020)

 

Dark web drugs raid leads to 179 arrests (22 Sep 2020)

 

UN General Assembly: US-China tensions flare over coronavirus (22 Sep 2020)

 

Europe migration: EU to reveal mandatory rules on migration (23 Sep 2020)

 

Ginsburg Supreme Court: Republicans secure vote for replacement (22 Sep 2020)

more »

 

SF Gate

 

Ship traffic, September 23 (22 Sep 2020)

 

Ship traffic, September 22 (21 Sep 2020)

 

Ship traffic, September 21 (20 Sep 2020)

 

Ship traffic, September 19 (18 Sep 2020)

 

Ship traffic, September 20 (18 Sep 2020)

 

Ship traffic, September 18 (17 Sep 2020)

more »


Site feed Updated: 2020-Sep-22 21:00