/usr/include/qsopt_ex/write_lp_mpf.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 | /* 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. */
/* */
/****************************************************************************/
/* RCS_INFO = "$RCSfile: wr_lp.h,v $ $Revision: 1.2 $ $Date: 2003/11/05 16:57:39 $"; */
#ifndef mpf_WRITE_LP_STATE_H
#define mpf_WRITE_LP_STATE_H
#include "eg_lpnum.h"
#include "symtab.h"
/****************************************************************************/
/* */
/* Routines to support writing of LP files */
/* */
/****************************************************************************/
/*
* -) anything after '\' is comment
* -) variables consist of a-z A-Z 0-9!"#$%(),;.?@_`'{}|~
* don't start with a digit or '.'
*/
typedef struct mpf_ILLwrite_lp_state
{
char buf[ILL_namebufsize];
char *p;
int startlen;
int total;
}
mpf_ILLwrite_lp_state;
extern void mpf_ILLwrite_lp_state_init (
mpf_ILLwrite_lp_state * line,
const char *str);
extern void mpf_ILLwrite_lp_state_append (
mpf_ILLwrite_lp_state * line,
const char *str);
extern void mpf_ILLwrite_lp_state_append_coef (
mpf_ILLwrite_lp_state * line,
mpf_t v,
int cnt);
/* append number sign ('+', '-') iff cnt > 0 or v < 0.0
* append number iff v != 1.0, v != -1.0
*/
extern void mpf_ILLwrite_lp_state_append_number (
mpf_ILLwrite_lp_state * line,
mpf_t v);
extern void mpf_ILLwrite_lp_state_save_start (
mpf_ILLwrite_lp_state * line);
extern void mpf_ILLwrite_lp_state_start (
mpf_ILLwrite_lp_state * line);
#endif
|