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