This file is indexed.

/usr/share/pyshared/openopt/solvers/nlopt/ptn_oo.py is in python-openopt 0.34+svn1146-1build1.

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
from NLOPT_AUX import NLOPT_AUX
from NLOPT_BASE import NLOPT_BASE
import nlopt

class ptn(NLOPT_BASE):
    __name__ = 'ptn'
    __alg__ = 'Preconditioned truncated Newton'
    __authors__ = 'Prof. Ladislav Luksan'
    __isIterPointAlwaysFeasible__ = True
    
    __optionalDataThatCanBeHandled__ = ['lb', 'ub']
    
    def __init__(self): pass
    def __solver__(self, p):
        NLOPT_AUX(p, nlopt.LD_TNEWTON_PRECOND_RESTART)
        #NLOPT_AUX(p, nlopt.LD_TNEWTON)
        #NLOPT_AUX(p, nlopt.LD_TNEWTON_PRECOND)