Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: Highest total sum path problem

by baxy77bax (Deacon)
on Mar 04, 2020 at 19:02 UTC ( [id://11113781]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Highest total sum path problem
in thread Highest total sum path problem

1) exactly ! I only cannot skip negative's or 0's if i am on corners

2) matrix is static fully known in advance (real matrix is 50000*50000 32bit int) so any preprocessing is more than welcomed
problem is that every time i get two different random values for which i need to compute the best solution. Optimal solution would be ok if it is within some proven cutoff (bound) from the best one (I would need to provide some guarantees if deciding to go for a suboptimal solution)

I'll check into the stated potions and repost my solution so maybe someone can do something better

Thank you !!!

Replies are listed 'Best First'.
Re^7: Highest total sum path problem
by LanX (Saint) on Mar 04, 2020 at 22:38 UTC
    This looks a lot like a graph theoretical problem with the incidence matrix representing the weights of a directed graph.

    HTH!

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-25 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found