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

 

Jeffrey Epstein ex-girlfriend Ghislaine Maxwell arrested by FBI (02 Jul 2020)

 

Nathan Law: Prominent democracy activist flees Hong Kong (02 Jul 2020)

 

US firms create record 4.8 million jobs in June (02 Jul 2020)

 

Coronavirus: Testing sewage an 'easy win' (02 Jul 2020)

 

Zuckerberg: Advertisers will be back to Facebook 'soon enough' (02 Jul 2020)

 

Myanmar jade mine landslide captured on video (02 Jul 2020)

 

Hundreds arrested as crime chat network cracked (02 Jul 2020)

 

Dozens of countries to be exempt from UK quarantine (02 Jul 2020)

 

Why Texas is seeing a surge in coronavirus cases (02 Jul 2020)

 

Hachalu Hundessa: Ethiopia singer buried amid ethnic unrest (02 Jul 2020)

more »

 

SF Gate

 

Ship traffic, July 2 (1 Jul 2020)

 

Ship traffic, July 1 (30 Jun 2020)

 

Ship traffic, June 30 (29 Jun 2020)

 

Ship traffic, June 28 (26 Jun 2020)

 

Ship traffic, June 27 (26 Jun 2020)

 

Ship traffic, June 29 (26 Jun 2020)

more »


Site feed Updated: 2020-Jul-02 12:00