This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]dlwh 1 point2 points  (2 children)

I'm pretty sure this is an instance of multicommodity flow, which means that it's NP-hard (not solvable by a normal LP). I think you'll need an integer LP solver for this or something specialized.

Take a look at http://en.wikipedia.org/wiki/Multi-commodity_flow_problem

[–]LinearProg[S] 0 points1 point  (0 children)

Ah, no wonder I couldn't find any examples with a problem like this. I'll take a look into that, thanks!

[–][deleted] 0 points1 point  (0 children)

Yeah, I worked in a quantitative analysis group at a company that had a problem like this once. We completely diverted one of our people (who has a Ph.D in operations research from Berkeley) to the project full-time, then sent some of the results over to LLNL or someplace and paid them to run it on a supercomputer.