/usr/include/qsopt_ex/lib_mpf.h is in libqsopt-ex-dev 2.5.10.3-1build1.
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_mpf.h,v 1.4 2003/11/05 17:00:26 meven Exp $ */
#ifndef mpf_ILL_LIB_H
#define mpf_ILL_LIB_H
#include "lpdefs_mpf.h"
#include "lpdata_mpf.h"
#include "price_mpf.h"
#include "basicdefs.h"
/****************************************************************************/
/* */
/* Return Status for mpf_ILLlib_optimize */
/* */
/****************************************************************************/
/****************************************************************************/
/* */
/* lib.c */
/* */
/****************************************************************************/
struct itcnt_t;
int mpf_ILLlib_optimize ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, mpf_price_info * pinf, int algo,
int *status, int simplex_display, struct itcnt_t*itcnt),
mpf_ILLlib_cache_solution ( mpf_lpinfo * lp, mpf_ILLlp_cache * C),
mpf_ILLlib_solution ( mpf_lpinfo * lp, mpf_ILLlp_cache * C, mpf_t * val,
mpf_t * x, mpf_t * pi, mpf_t * slack, mpf_t * rc),
mpf_ILLlib_get_x ( mpf_lpinfo * lp, mpf_ILLlp_cache * C, mpf_t * x),
mpf_ILLlib_get_slack ( mpf_lpinfo * lp, mpf_ILLlp_cache * C, mpf_t * slack),
mpf_ILLlib_objval ( mpf_lpinfo * lp, mpf_ILLlp_cache * C, mpf_t * val),
mpf_ILLlib_tableau ( mpf_lpinfo * lp, int row, mpf_t * binv, mpf_t * tabrow),
mpf_ILLlib_basis_order ( mpf_lpinfo * lp, int *header),
mpf_ILLlib_newrow ( mpf_lpinfo * lp, mpf_ILLlp_basis * B,const mpf_t rhs, int sense,
const mpf_t range, const char *name),
mpf_ILLlib_newrows ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int num,const mpf_t * rhs,
char *sense, const mpf_t * range, const char **names),
mpf_ILLlib_addrow ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int cnt, int *ind,
const mpf_t * val, const mpf_t rhs, int sense,const mpf_t range,
const char *rowname),
mpf_ILLlib_addrows ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int num, int *rmatcnt,
int *rmatbeg, int *rmatind,const mpf_t * rmatval,const mpf_t * rhs,
char *sense, const mpf_t * range, const char **names, int *nofactor),
mpf_ILLlib_delrows ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, mpf_ILLlp_cache * C, int num,
int *dellist, int *basis_ok, int *cache_ok),
mpf_ILLlib_newcol ( mpf_lpinfo * lp, mpf_ILLlp_basis * B,const mpf_t obj,
const mpf_t lower,const mpf_t upper, const char *name, int factorok),
mpf_ILLlib_newcols ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int num, mpf_t * obj,
mpf_t * lower, mpf_t * upper, const char **names, int factorok),
mpf_ILLlib_addcol ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int cnt, int *ind,
mpf_t * val,const mpf_t obj,const mpf_t lower,const mpf_t upper,
const char *name, int factorok),
mpf_ILLlib_addcols ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int num, int *cmatcnt,
int *cmatbeg, int *cmatind, mpf_t * cmatval, mpf_t * obj,
mpf_t * lower, mpf_t * upper, const char **names, int factorok),
mpf_ILLlib_delcols ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, int num, int *dellist,
int *basis_ok),
mpf_ILLlib_chgcoef ( mpf_lpinfo * lp, int rowindex, int colindex, mpf_t coef),
mpf_ILLlib_getcoef (mpf_lpinfo *lp, int rowindex, int colindex, mpf_t* coef),
mpf_ILLlib_chgrange (mpf_lpinfo *lp, int indx, mpf_t coef),
mpf_ILLlib_chgsense ( mpf_lpinfo * lp, int num, int *rowlist, char *sense),
mpf_ILLlib_getsenses (mpf_lpinfo *lp, char *senses),
mpf_ILLlib_getrows ( mpf_lpinfo * lp, int num, int *rowlist, int **rowcnt,
int **rowbeg, int **rowind, mpf_t ** rowval, mpf_t ** rhs,
char **sense, mpf_t ** range, char ***names),
mpf_ILLlib_getcols ( mpf_lpinfo * lp, int num, int *collist, int **colcnt,
int **colbeg, int **colind, mpf_t ** colval, mpf_t ** obj,
mpf_t ** lower, mpf_t ** upper, char ***names),
mpf_ILLlib_getobj ( mpf_lpinfo * lp, mpf_t * obj),
mpf_ILLlib_getobj_list (mpf_lpinfo *lp, int num, int* collist, mpf_t* obj),
mpf_ILLlib_chgobj ( mpf_lpinfo * lp, int indx, mpf_t coef),
mpf_ILLlib_getrhs ( mpf_lpinfo * lp, mpf_t * rhs),
mpf_ILLlib_chgrhs ( mpf_lpinfo * lp, int indx, mpf_t coef),
mpf_ILLlib_getintflags ( mpf_lpinfo * lp, int *intflags),
mpf_ILLlib_rownames ( mpf_lpinfo * lp, char **rownames),
mpf_ILLlib_colnames ( mpf_lpinfo * lp, char **colnames),
mpf_ILLlib_colindex ( mpf_lpinfo * lp, const char *name, int *colindex),
mpf_ILLlib_rowindex ( mpf_lpinfo * lp, const char *name, int *rowindex),
mpf_ILLlib_chgbnd ( mpf_lpinfo * lp, int indx, int lu,const mpf_t bnd),
mpf_ILLlib_chgbnds ( mpf_lpinfo * lp, int cnt, int *indx, char *lu, const mpf_t * bnd),
mpf_ILLlib_getbnd ( mpf_lpinfo * lp, int indx, int lu, mpf_t * bnd),
mpf_ILLlib_getbnds ( mpf_lpinfo * lp, mpf_t * lower, mpf_t * upper),
mpf_ILLlib_getbnds_list ( mpf_lpinfo *lp, int num, int*collist, mpf_t *lower,
mpf_t *upper),
mpf_ILLlib_strongbranch ( mpf_lpinfo * lp, mpf_price_info * pinf, int *candidatelist,
int ncand, mpf_t * xlist, mpf_t * downpen, mpf_t * uppen,
int iterations, mpf_t objbound, struct itcnt_t*itcnt),
mpf_ILLlib_getbasis ( mpf_lpinfo * lp, char *cstat, char *rstat),
mpf_ILLlib_loadbasis ( mpf_ILLlp_basis * B, int nstruct, int nrows, char *cstat,
char *rstat),
mpf_ILLlib_readbasis ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, const char *fname),
mpf_ILLlib_writebasis ( mpf_lpinfo * lp, mpf_ILLlp_basis * B, const char *fname),
mpf_ILLlib_getrownorms ( mpf_lpinfo * lp, mpf_price_info * pinf, mpf_t * rownorms),
mpf_ILLlib_loadrownorms ( mpf_lpinfo * lp, mpf_price_info * pinf, mpf_t * rownorms),
mpf_ILLlib_recompute_rownorms ( mpf_lpinfo * lp, mpf_price_info * pinf),
mpf_ILLlib_iter ( mpf_lpinfo * lp),
mpf_ILLlib_print_x ( EGioFile_t * fd, mpf_lpinfo * lp, mpf_ILLlp_cache * C, mpf_t * x,
int nonZerosOnly),
mpf_ILLwrite_lp_file ( mpf_ILLlpdata * lp, EGioFile_t * eout, mpf_qserror_collector * c);
extern int mpf_ILLlib_findName (
mpf_ILLlpdata * qslp,
int forRow,
const char *name,
int id,
char buf[ILL_namebufsize]);
/****************************************************************************/
/* */
/* presolve.c */
/* */
/****************************************************************************/
int mpf_ILLpresolve_add_logicals (
mpf_ILLlpdata * lp);
/****************************************************************************/
/* */
/* binary.c */
/* */
/****************************************************************************/
int mpf_ILLmip_binary_dfs (
mpf_lpinfo * lp);
#endif /* mpf_ILL_LIB_H */
|