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

 

Zimbabwe latest: Ruling Zanu-PF urges Mugabe to step down (17 Nov 2017)

 

Brexit: EU gives May two weeks to act on divorce bill and Ireland (17 Nov 2017)

 

Four die as aircraft and helicopter crash in mid-air near Waddesdon (17 Nov 2017)

 

Iranian boy leads friend to food video (17 Nov 2017)

 

Argentine navy loses contact with submarine (17 Nov 2017)

 

Dog owners have lower mortality, study finds (17 Nov 2017)

 

Fireball in Finland sky 'probably a meteorite' (17 Nov 2017)

 

Fantastic Beasts 2: First look at Jude Law's young Dumbledore (17 Nov 2017)

 

Jesse Jackson diagnosed with Parkinson's (17 Nov 2017)

 

Ohio Supreme Court Judge Bill O'Neill brags of sex conquests (17 Nov 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)

 

Broadcom buys Brocade; Game Awards set; HomePod delayed (17 Nov 2017)

 

Stitch Fix’s IPO in the shadow of Amazon (17 Nov 2017)

 

Ship traffic, Nov. 20 (17 Nov 2017)

 

Ship traffic, Nov. 19 (17 Nov 2017)

 

Ship traffic, Nov. 18 (17 Nov 2017)

 

Tesla, adding to its ambitions, wants to electrify big trucks (17 Nov 2017)

more »

 


Site feed Updated: 2017-Nov-17 15:00