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

 

Russia expels Czech diplomats over explosion row (18 Apr 2021)

 

Australia opens travel bubble with New Zealand (19 Apr 2021)

 

European Super League: Premier League's 'big six' agree to join new league (19 Apr 2021)

 

Russia will face 'consequences' if Navalny dies - US (18 Apr 2021)

 

Putin critic Navalny 'will not be allowed to die in prison' (18 Apr 2021)

 

Byron Bay: Calls for Netflix boycott over reality show plans (19 Apr 2021)

 

Mars helicopter first flight: Nasa to test Ingenuity (18 Apr 2021)

 

France kidnapping: Girl found with mother accused of ordering abduction (18 Apr 2021)

 

Table Mountain fire: Historic buildings destroyed in Cape Town (18 Apr 2021)

 

Helen McCrory was 'meteor in our life' says husband Damian Lewis (18 Apr 2021)

more »

 

SF Gate

 

It pays to search for top-quality auto shop (6 Feb 2021)

 

Fired Boeing CEO is now working with Bay Area tractor startup (14 Dec 2020)

 

PG&E bills to rise over per year on average to fund wildfire risk reduction (5 Dec 2020)

 

Nasdaq seeks more diversity on boards of companies listed on exchange (2 Dec 2020)

 

Elizabeth Holmes Prosecutors Say Texts Show Theranos Beset With Problems (24 Nov 2020)

 

Ship traffic, November 1 (30 Oct 2020)

more »


Site feed Updated: 2021-Apr-17 03:00