Know your enemy
The biggest issue with such a solution, at least until early 2017, wouldn't be the politicians whose interest might be harmed. It would be the Attorney General of the United States.
Under Eric Holder, nothing ever would be allowed that might under any conceivable (and many inconceivable) circumstance reduce by a scintilla the representation of minoriities. Since many of the districts that reliably send minority Representatives to congress are the most Gerrymandered (I'll give you Texas 19, home of "Queen" Sheila Jackson-Lee as an irrefutable example), any attempt to rationalize them would result in an immediate protest. The proposal would be declared in violation of the Voting Rights Act and the proposer would be declared an evil racist.
I'll also point out that he who controls the algorithms would weild significant powe, but in a more disguised way. Computer modeling is only as good as the model and the data you feed it, and if you get to control the model, you can tweak it to give pretty much any results you want. Sorry, but I think that one can go very wrong placing too much faith in 'honest' technocrats.