/usr/include/qsopt_ex/lib_mpq.h is in libqsopt-ex-dev 2.5.10.3-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 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 | /* 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: lib_mpq.h,v 1.4 2003/11/05 17:00:26 meven Exp $ */
#ifndef mpq_ILL_LIB_H
#define mpq_ILL_LIB_H
#include "lpdefs_mpq.h"
#include "lpdata_mpq.h"
#include "price_mpq.h"
#include "basicdefs.h"
/****************************************************************************/
/* */
/* Return Status for mpq_ILLlib_optimize */
/* */
/****************************************************************************/
/****************************************************************************/
/* */
/* lib.c */
/* */
/****************************************************************************/
struct itcnt_t;
int mpq_ILLlib_optimize ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, mpq_price_info * pinf, int algo,
int *status, int simplex_display, struct itcnt_t*itcnt),
mpq_ILLlib_cache_solution ( mpq_lpinfo * lp, mpq_ILLlp_cache * C),
mpq_ILLlib_solution ( mpq_lpinfo * lp, mpq_ILLlp_cache * C, mpq_t * val,
mpq_t * x, mpq_t * pi, mpq_t * slack, mpq_t * rc),
mpq_ILLlib_get_x ( mpq_lpinfo * lp, mpq_ILLlp_cache * C, mpq_t * x),
mpq_ILLlib_get_slack ( mpq_lpinfo * lp, mpq_ILLlp_cache * C, mpq_t * slack),
mpq_ILLlib_objval ( mpq_lpinfo * lp, mpq_ILLlp_cache * C, mpq_t * val),
mpq_ILLlib_tableau ( mpq_lpinfo * lp, int row, mpq_t * binv, mpq_t * tabrow),
mpq_ILLlib_basis_order ( mpq_lpinfo * lp, int *header),
mpq_ILLlib_newrow ( mpq_lpinfo * lp, mpq_ILLlp_basis * B,const mpq_t rhs, int sense,
const mpq_t range, const char *name),
mpq_ILLlib_newrows ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int num,const mpq_t * rhs,
char *sense, const mpq_t * range, const char **names),
mpq_ILLlib_addrow ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int cnt, int *ind,
const mpq_t * val, const mpq_t rhs, int sense,const mpq_t range,
const char *rowname),
mpq_ILLlib_addrows ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int num, int *rmatcnt,
int *rmatbeg, int *rmatind,const mpq_t * rmatval,const mpq_t * rhs,
char *sense, const mpq_t * range, const char **names, int *nofactor),
mpq_ILLlib_delrows ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, mpq_ILLlp_cache * C, int num,
int *dellist, int *basis_ok, int *cache_ok),
mpq_ILLlib_newcol ( mpq_lpinfo * lp, mpq_ILLlp_basis * B,const mpq_t obj,
const mpq_t lower,const mpq_t upper, const char *name, int factorok),
mpq_ILLlib_newcols ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int num, mpq_t * obj,
mpq_t * lower, mpq_t * upper, const char **names, int factorok),
mpq_ILLlib_addcol ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int cnt, int *ind,
mpq_t * val,const mpq_t obj,const mpq_t lower,const mpq_t upper,
const char *name, int factorok),
mpq_ILLlib_addcols ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int num, int *cmatcnt,
int *cmatbeg, int *cmatind, mpq_t * cmatval, mpq_t * obj,
mpq_t * lower, mpq_t * upper, const char **names, int factorok),
mpq_ILLlib_delcols ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, int num, int *dellist,
int *basis_ok),
mpq_ILLlib_chgcoef ( mpq_lpinfo * lp, int rowindex, int colindex, mpq_t coef),
mpq_ILLlib_getcoef (mpq_lpinfo *lp, int rowindex, int colindex, mpq_t* coef),
mpq_ILLlib_chgrange (mpq_lpinfo *lp, int indx, mpq_t coef),
mpq_ILLlib_chgsense ( mpq_lpinfo * lp, int num, int *rowlist, char *sense),
mpq_ILLlib_getsenses (mpq_lpinfo *lp, char *senses),
mpq_ILLlib_getrows ( mpq_lpinfo * lp, int num, int *rowlist, int **rowcnt,
int **rowbeg, int **rowind, mpq_t ** rowval, mpq_t ** rhs,
char **sense, mpq_t ** range, char ***names),
mpq_ILLlib_getcols ( mpq_lpinfo * lp, int num, int *collist, int **colcnt,
int **colbeg, int **colind, mpq_t ** colval, mpq_t ** obj,
mpq_t ** lower, mpq_t ** upper, char ***names),
mpq_ILLlib_getobj ( mpq_lpinfo * lp, mpq_t * obj),
mpq_ILLlib_getobj_list (mpq_lpinfo *lp, int num, int* collist, mpq_t* obj),
mpq_ILLlib_chgobj ( mpq_lpinfo * lp, int indx, mpq_t coef),
mpq_ILLlib_getrhs ( mpq_lpinfo * lp, mpq_t * rhs),
mpq_ILLlib_chgrhs ( mpq_lpinfo * lp, int indx, mpq_t coef),
mpq_ILLlib_getintflags ( mpq_lpinfo * lp, int *intflags),
mpq_ILLlib_rownames ( mpq_lpinfo * lp, char **rownames),
mpq_ILLlib_colnames ( mpq_lpinfo * lp, char **colnames),
mpq_ILLlib_colindex ( mpq_lpinfo * lp, const char *name, int *colindex),
mpq_ILLlib_rowindex ( mpq_lpinfo * lp, const char *name, int *rowindex),
mpq_ILLlib_chgbnd ( mpq_lpinfo * lp, int indx, int lu,const mpq_t bnd),
mpq_ILLlib_chgbnds ( mpq_lpinfo * lp, int cnt, int *indx, char *lu, const mpq_t * bnd),
mpq_ILLlib_getbnd ( mpq_lpinfo * lp, int indx, int lu, mpq_t * bnd),
mpq_ILLlib_getbnds ( mpq_lpinfo * lp, mpq_t * lower, mpq_t * upper),
mpq_ILLlib_getbnds_list ( mpq_lpinfo *lp, int num, int*collist, mpq_t *lower,
mpq_t *upper),
mpq_ILLlib_strongbranch ( mpq_lpinfo * lp, mpq_price_info * pinf, int *candidatelist,
int ncand, mpq_t * xlist, mpq_t * downpen, mpq_t * uppen,
int iterations, mpq_t objbound, struct itcnt_t*itcnt),
mpq_ILLlib_getbasis ( mpq_lpinfo * lp, char *cstat, char *rstat),
mpq_ILLlib_loadbasis ( mpq_ILLlp_basis * B, int nstruct, int nrows, char *cstat,
char *rstat),
mpq_ILLlib_readbasis ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, const char *fname),
mpq_ILLlib_writebasis ( mpq_lpinfo * lp, mpq_ILLlp_basis * B, const char *fname),
mpq_ILLlib_getrownorms ( mpq_lpinfo * lp, mpq_price_info * pinf, mpq_t * rownorms),
mpq_ILLlib_loadrownorms ( mpq_lpinfo * lp, mpq_price_info * pinf, mpq_t * rownorms),
mpq_ILLlib_recompute_rownorms ( mpq_lpinfo * lp, mpq_price_info * pinf),
mpq_ILLlib_iter ( mpq_lpinfo * lp),
mpq_ILLlib_print_x ( EGioFile_t * fd, mpq_lpinfo * lp, mpq_ILLlp_cache * C, mpq_t * x,
int nonZerosOnly),
mpq_ILLwrite_lp_file ( mpq_ILLlpdata * lp, EGioFile_t * eout, mpq_qserror_collector * c);
extern int mpq_ILLlib_findName (
mpq_ILLlpdata * qslp,
int forRow,
const char *name,
int id,
char buf[ILL_namebufsize]);
/****************************************************************************/
/* */
/* presolve.c */
/* */
/****************************************************************************/
int mpq_ILLpresolve_add_logicals (
mpq_ILLlpdata * lp);
/****************************************************************************/
/* */
/* binary.c */
/* */
/****************************************************************************/
int mpq_ILLmip_binary_dfs (
mpq_lpinfo * lp);
#endif /* mpq_ILL_LIB_H */
|