This file is indexed.

/usr/lib/python2.7/dist-packages/openopt/solvers/nlopt/bobyqa_oo.py is in python-openopt 0.38+svn1589-1.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
from NLOPT_AUX import NLOPT_AUX
from NLOPT_BASE import NLOPT_BASE
import nlopt

class bobyqa(NLOPT_BASE):
    __name__ = 'bobyqa'
    __alg__ = 'Bound constrained Optimization BY Quadratic Approximation'
    __authors__ = 'Michael JD Powell'
    __optionalDataThatCanBeHandled__ = ['lb', 'ub']
    __isIterPointAlwaysFeasible__ = True
    
    funcForIterFcnConnection = 'f'
    
    def __solver__(self, p):
#        if p.n < 15:
#            p.f_iter = 4
#        else:
#            p.f_iter = p.n/4

        
        NLOPT_AUX(p, nlopt.LN_BOBYQA)