Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Travelling problem (lower bound >= 79593) (+ example)

by LanX (Saint)
on Dec 29, 2013 at 11:24 UTC ( [id://1068669]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub lower_bound1 {
      my @sorted;
    ...
      }
      return $min/2;
    }
    
  2. or download this
         0    1    2    3    4      min1          min2
    0    0    1   (2)   3    1      1                
    ...
    
    lower_bound2: 19 = sum(min2)/2 - 15 + 1 + 1
       (excluding col 0 and 4 for double rows, striking the maximum)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1068669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-18 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found