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

 

Strasbourg Christmas market attacker Chekatt shot dead (13 Dec 2018)

 

Senators vote to end US backing for Saudi war on Yemen (13 Dec 2018)

 

Our Brexit deal is at risk, May warns EU leaders (14 Dec 2018)

 

West Virginia mine rescue: 'It's a Christmas blessing' (13 Dec 2018)

 

New York Times London crime Twitter appeal backfires (13 Dec 2018)

 

Geminid meteor shower: Where, when and how to see it (13 Dec 2018)

 

Southwest Airlines flight U-turns after human heart discovery (14 Dec 2018)

 

Branson's Virgin Galactic reaches edge of space (13 Dec 2018)

 

Trump: 'I never directed Michael Cohen to break the law' (13 Dec 2018)

 

Dive over Jupiter's cloud-tops with Nasa's Juno craft (13 Dec 2018)

more »

 

SF Gate

 

Apple deepens Austin ties, expands in other tech hotbeds (13 Dec 2018)

 

Ship traffic, December 14 (13 Dec 2018)

 

Text message surcharge considered by California regulators (12 Dec 2018)

 

Recession in 2019 looks likely, says Duke survey of chief financial officers (12 Dec 2018)

 

Ship traffic, December 13 (12 Dec 2018)

 

Marriott breach traced to Chinese hackers, US plans response (12 Dec 2018)

more »


Site feed Updated: 2018-Dec-13 18:00