/usr/share/pyshared/openopt/solvers/CVXOPT/dsdp_oo.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 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | from openopt.kernel.baseSolver import baseSolver
from CVXOPT_SDP_Solver import CVXOPT_SDP_Solver
class dsdp(baseSolver):
__name__ = 'dsdp'
__license__ = "GPL"
__authors__ = "Steven J. Benson and Yinyu Ye, Mathematics and Computer Science Division, Argonne National Laboratory, IL"
__homepage__ = 'http://www-unix.mcs.anl.gov/DSDP/'
#__alg__ = ""
__optionalDataThatCanBeHandled__ = ['A', 'Aeq', 'b', 'beq', 'lb', 'ub', 'S', 'd']
gaptol = 1e-5
properTextOutput = True
_canHandleScipySparse = True
def __init__(self): pass
def __solver__(self, p):
from cvxopt import solvers
solvers.options['DSDP_Monitor'] = p.iprint
solvers.options['DSDP_MaxIts'] = p.maxIter
solvers.options['DSDP_GapTolerance'] = self.gaptol
return CVXOPT_SDP_Solver(p, 'dsdp')
|