/usr/include/qsopt_ex/factor_mpf.h is in libqsopt-ex-dev 2.5.10.3-1+b1.
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | /* WARNING! This file was autogenerated from template */
/****************************************************************************/
/* */
/* This file is part of QSopt_ex. */
/* */
/* (c) Copyright 2006 by David Applegate, William Cook, Sanjeeb Dash, */
/* and Daniel Espinoza */
/* */
/* Sanjeeb Dash ownership of copyright in QSopt_ex is derived from his */
/* copyright in QSopt. */
/* */
/* This code may be used under the terms of the GNU General Public License */
/* (Version 2.1 or later) as published by the Free Software Foundation. */
/* */
/* Alternatively, use is granted for research purposes only. */
/* */
/* It is your choice of which of these two licenses you are operating */
/* under. */
/* */
/* We make no guarantees about the correctness or usefulness of this code. */
/* */
/****************************************************************************/
/* RCSINFO $Id: factor_mpf.h,v 1.3 2003/11/05 16:57:39 meven Exp $ */
#ifndef mpf___QS_FACTOR_H_
#define mpf___QS_FACTOR_H_
#include "basicdefs.h"
#include "dstruct_mpf.h"
typedef char mpf_QSbool;
typedef struct mpf_uc_info
{
int cbeg;
int nzcnt;
int next;
int prev;
int delay;
}
mpf_uc_info;
typedef struct mpf_ur_info
{
mpf_t max;
int rbeg;
int nzcnt;
int pivcnt;
int next;
int prev;
int delay;
}
mpf_ur_info;
typedef struct mpf_lc_info
{
int cbeg;
int nzcnt;
int c;
int crank;
int delay;
}
mpf_lc_info;
typedef struct mpf_lr_info
{
int rbeg;
int nzcnt;
int r;
int rrank;
int delay;
}
mpf_lr_info;
typedef struct mpf_er_info
{
int rbeg;
int nzcnt;
int r;
}
mpf_er_info;
typedef struct mpf_factor_work
{
int max_k;
mpf_t fzero_tol;
mpf_t szero_tol;
mpf_t partial_tol;
double ur_space_mul;
double uc_space_mul;
double lc_space_mul;
double lr_space_mul;
double er_space_mul;
double grow_mul;
int p;
int etamax;
double minmult;
double maxmult;
double updmaxmult;
double dense_fract;
int dense_min;
mpf_t maxelem_orig;
int nzcnt_orig;
mpf_t maxelem_factor;
int nzcnt_factor;
mpf_t maxelem_cur;
int nzcnt_cur;
mpf_t partial_cur;
int dim;
int stage;
int nstages;
int etacnt;
mpf_t *work_coef;
int *work_indx;
mpf_uc_info *uc_inf;
mpf_ur_info *ur_inf;
mpf_lc_info *lc_inf;
mpf_lr_info *lr_inf;
mpf_er_info *er_inf;
int *ucindx; /* row index for column data */
int *ucrind; /* index of column in row data */
mpf_t *uccoef; /* coefficient for column data */
int *urindx; /* col index for row data */
int *urcind; /* index of row in column data */
mpf_t *urcoef; /* coefficient for row data */
int *lcindx; /* row index for L data */
mpf_t *lccoef; /* coefficient for L row data */
int *lrindx; /* col index for L data */
mpf_t *lrcoef; /* coefficient for L col data */
int *erindx; /* col index for eta data */
mpf_t *ercoef; /* coefficient for eta data */
int *rperm;
int *rrank;
int *cperm;
int *crank;
mpf_svector xtmp;
int ur_freebeg;
int ur_space;
int uc_freebeg;
int uc_space;
int lc_freebeg;
int lc_space;
int lr_freebeg;
int lr_space;
int er_freebeg;
int er_space;
int *p_nsing;
int **p_singr;
int **p_singc;
mpf_t *dmat;
int drows;
int dcols;
int dense_base;
}
mpf_factor_work;
void mpf_ILLfactor_init_factor_work (
mpf_factor_work * f),
mpf_ILLfactor_free_factor_work (
mpf_factor_work * f),
mpf_ILLfactor_ftran (
mpf_factor_work * f,
mpf_svector * a,
mpf_svector * x),
mpf_ILLfactor_ftran_update (
mpf_factor_work * f,
mpf_svector * a,
mpf_svector * upd,
mpf_svector * x),
mpf_ILLfactor_btran (
mpf_factor_work * f,
mpf_svector * a,
mpf_svector * x);
int mpf_ILLfactor_create_factor_work (
mpf_factor_work * f,
int dim),
mpf_ILLfactor_set_factor_iparam (
mpf_factor_work * f,
int param,
int val),
mpf_ILLfactor_set_factor_dparam (
mpf_factor_work * f,
int param,
mpf_t val),
mpf_ILLfactor (
mpf_factor_work * f,
int *basis,
int *cbeg,
int *clen,
int *cindx,
mpf_t * ccoef,
int *p_nsing,
int **p_singr,
int **p_singc),
mpf_ILLfactor_update (
mpf_factor_work * f,
mpf_svector * a,
int col,
int *p_refact);
#endif /* mpf___QS_FACTOR_H_ */
|