This file is indexed.

/usr/include/coin/CbcChooseVariable.hpp is in coinor-libcbc-dev 2.5.0-2.3.

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
22
23
24
25
26
27
28
29
30
/* $Id: CbcChooseVariable.hpp 1286 2009-11-09 23:33:07Z EdwinStraver $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others.  All Rights Reserved.
#ifndef CbcChooseVariable_H
#define CbcChooseVariable_H

/*  These can be alternative strategies for choosing variables
    Any descendant can be passed in by setVariableChoice
*/

// FIXME: Do we want to define UP and DOWN constants (1 and -1) for clarity?
class CbcChooseVariable {
public:
    // Default Constructor
    CbcChooseVariable () {}

    virtual ~CbcChooseVariable() {}
    /** If strong branching, then only those passed in (and movement is that length)
        .  If not strong
        branching then all passed in and ignore movement.
        Returns which one chosen (or -1 if none).  way should be +1
        if branching up, -1 if down */
    virtual int chosen (const CbcModel * model, int numberToLookAt,
                        const int * which, const double * downMovement,
                        const double * upMovement, const double * solution,
                        int & way, double & value) = 0;

};

#endif