/usr/share/pyshared/openopt/kernel/ooRun.py is in python-openopt 0.38+svn1589-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | from runProbSolver import runProbSolver
def ooRun(prob, solvers, *args, **kwargs):
r = []
for solver in solvers:
r.append(runProbSolver(prob.copy(), solver, *args, **kwargs))
return r
|