/usr/include/lpsolve/lp_scale.h is in liblpsolve55-dev 5.5.0.15-4build1.
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 | #ifndef HEADER_lp_scale
#define HEADER_lp_scale
#include "lp_types.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Put function headers here */
STATIC MYBOOL scale_updatecolumns(lprec *lp, REAL *scalechange, MYBOOL updateonly);
STATIC MYBOOL scale_updaterows(lprec *lp, REAL *scalechange, MYBOOL updateonly);
STATIC MYBOOL scale_rows(lprec *lp, REAL *scaledelta);
STATIC MYBOOL scale_columns(lprec *lp, REAL *scaledelta);
STATIC void unscale_columns(lprec *lp);
STATIC REAL scale(lprec *lp, REAL *scaledelta);
STATIC REAL scaled_mat(lprec *lp, REAL value, int rownr, int colnr);
STATIC REAL unscaled_mat(lprec *lp, REAL value, int rownr, int colnr);
STATIC REAL scaled_value(lprec *lp, REAL value, int index);
STATIC REAL unscaled_value(lprec *lp, REAL value, int index);
STATIC MYBOOL scaleCR(lprec *lp, REAL *scaledelta);
STATIC MYBOOL finalize_scaling(lprec *lp, REAL *scaledelta);
STATIC REAL auto_scale(lprec *lp);
void undoscale(lprec *lp);
#ifdef __cplusplus
}
#endif
#endif /* HEADER_lp_scale */
|