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

 

Germany election: Merkel wins fourth term, exit polls say (24 Sep 2017)

 

Trump NFL row: Defiance after US president urges boycott (24 Sep 2017)

 

Hurricane Maria: Puerto Rico facing crisis (24 Sep 2017)

 

Man clings to train's windscreen wiper in Australia (24 Sep 2017)

 

Falling jet wing panel damages car in Japan (24 Sep 2017)

 

Rubens lost since 1600s found in Glasgow (24 Sep 2017)

 

Bodybuilder dies after celebrity kickboxing bout in Singapore (24 Sep 2017)

 

Trump and North Korea war of words escalates (24 Sep 2017)

 

Kenya election: Chief prosecutor orders inquiry into electoral commission (24 Sep 2017)

 

Teaching the children of Boko Haram fighters (24 Sep 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)

 

Former Facebook employee sues, says he faced age discrimination (24 Sep 2017)

 

Best inexpensive phones (24 Sep 2017)

 

PriceWaterhouseCoopers will open Washington law firm (23 Sep 2017)

 

Report: Number of 'Bodega' units in Bay Area greatly exaggerated (23 Sep 2017)

 

Ship traffic, September 25 (23 Sep 2017)

 

ICYMI: KB CEO’s rant, Harvard’s endowment, Hillary’s book sales and more (23 Sep 2017)

more »

 


Site feed Updated: 2017-Sep-24 12:00