/usr/include/coin/CoinPresolveSubst.hpp is in coinor-libcoinutils-dev 2.6.4-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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | /* $Id: CoinPresolveSubst.hpp 1215 2009-11-05 11:03:04Z forrest $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
#ifndef CoinPresolveSubst_H
#define CoinPresolveSubst_H
#define SUBST_ROW 21
#include "CoinPresolveMatrix.hpp"
class subst_constraint_action : public CoinPresolveAction {
private:
subst_constraint_action();
subst_constraint_action(const subst_constraint_action& rhs);
subst_constraint_action& operator=(const subst_constraint_action& rhs);
struct action {
double *rlos;
double *rups;
double *coeffxs;
int *rows;
int *ninrowxs;
/*const*/ int *rowcolsxs;
/*const*/ double *rowelsxs;
const double *costsx;
int col;
int rowy;
int nincol;
};
const int nactions_;
// actions_ is owned by the class and must be deleted at destruction
const action *const actions_;
subst_constraint_action(int nactions,
action *actions,
const CoinPresolveAction *next) :
CoinPresolveAction(next),
nactions_(nactions), actions_(actions) {}
public:
const char *name() const;
static const CoinPresolveAction *presolve(CoinPresolveMatrix * prob,
const int *implied_free,
const int * which,
int numberFree,
const CoinPresolveAction *next,
int & fill_level);
static const CoinPresolveAction *presolveX(CoinPresolveMatrix * prob,
const CoinPresolveAction *next,
int fillLevel);
void postsolve(CoinPostsolveMatrix *prob) const;
~subst_constraint_action();
};
/*static*/ void implied_bounds(const double *els,
const double *clo, const double *cup,
const int *hcol,
CoinBigIndex krs, CoinBigIndex kre,
double *maxupp, double *maxdownp,
int jcol,
double rlo, double rup,
double *iclb, double *icub);
#endif
|