This file is indexed.

/usr/share/pyshared/openopt/kernel/pointProjection.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
from numpy import eye
def pointProjection(x,  lb, ub, A, b, Aeq, beq):
    from openopt import QP
    # projection of x to set of linear constraints
    n = x.size
    # TODO: INVOLVE SPARSE CVXOPT MATRICES
    p = QP(H = eye(n), f = -x, A = A, b=b, Aeq=Aeq, beq=beq, lb=lb, ub=ub)
    #r = p.solve('cvxopt_qp', iprint = -1)
    r = p.solve('nlp:scipy_slsqp', contol = 1e-8, iprint = -1)
    return r.xf