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

 

Donald Trump liable for business fraud, says judge in New York civil case (27 Sep 2023)

 

Nagorno-Karabakh: More than 40,000 refugees flee to Armenia (26 Sep 2023)

 

Climate change: Six young people take 32 countries to court (27 Sep 2023)

 

Mexico: Bear gatecrashes picnic leaving onlookers frozen (26 Sep 2023)

 

Drive-thru worker draws gun on 'missing curly fries' customer (27 Sep 2023)

 

S Jaishankar: India asks Canada for information on Sikh leader's murder (27 Sep 2023)

 

'They bombed everywhere': Survivors recount Karabakh attack (27 Sep 2023)

 

Russia shows video to prove top commander is alive (27 Sep 2023)

 

Owner's husband arrested in Bronx nursery fentanyl child death (26 Sep 2023)

 

Biden dog Commander bites another Secret Service agent (26 Sep 2023)

more »

 

SF Gate

more »


Site feed Updated: 2023-Sep-27 03:00