/usr/share/pyshared/openopt/solvers/CVXOPT/cvxopt_sdp_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 | from openopt.kernel.baseSolver import baseSolver
from CVXOPT_SDP_Solver import CVXOPT_SDP_Solver
class cvxopt_sdp(baseSolver):
__name__ = 'cvxopt_sdp'
__license__ = "LGPL"
__authors__ = "http://abel.ee.ucla.edu/cvxopt"
__alg__ = "see http://abel.ee.ucla.edu/cvxopt"
__optionalDataThatCanBeHandled__ = ['A', 'Aeq', 'b', 'beq', 'lb', 'ub', 'S', 'd']
properTextOutput = True
_canHandleScipySparse = True
def __init__(self): pass
def __solver__(self, p):
return CVXOPT_SDP_Solver(p, 'native_CVXOPT_SDP_Solver')
|