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

 

Manchester attacks: MI5 probes bomber 'warnings' (29 May 2017)

 

BA flight disruption at Heathrow set for third day (29 May 2017)

 

Portland attack: ,000 raised for 'heroes' killed defending Muslim teen (28 May 2017)

 

Australian man injured after shark jumps into boat (29 May 2017)

 

Jared Kushner defended by Trump amid 'secret Russia line' questions (29 May 2017)

 

Inside Finland's education shake-up (28 May 2017)

 

N Korea fires Scud missile into sea, its third test in three weeks (29 May 2017)

 

Merkel: Europe 'can no longer rely on allies' after Trump and Brexit (28 May 2017)

 

Paris mayor may ban black feminist Nyansapo festival (28 May 2017)

 

Paul Pogba, world's most expensive footballer, visits Mecca (29 May 2017)

more »

 

SF Gate

 

Bay Area News (7 Jan 2012)

 

City Insider (11 Feb 2012)

 

Crime Scene (13 Feb 2012)

 

C.W Newius Column (10 Jan 2012)

 

C.W. Nevius Blog (11 Feb 2012)

 

Education News (10 Jan 2012)

 

KALW (11 Feb 2012)

 

Matier and Ross Blog (11 Feb 2012)

 

Movie strategy today: Lights, camera, action figures! (28 May 2017)

 

Amazon sets up shop in the heart of the publishing industry (28 May 2017)

 

Changing design of hotel rooms (28 May 2017)

 

Kenya’s struggling Uber drivers fear a new competitor: Uber (28 May 2017)

 

3 steps that will declutter your garage (27 May 2017)

 

Venture capitalist spends time browsing Nextdoor (27 May 2017)

more »

 


Site feed Updated: 2017-May-29 00:00