| 1 |
Praats/external/glpk/READ_ME.TXT |
| 2 |
Paul Boersma, 26 June 2010 |
| 3 |
24 May 2025: Paul Boersma added a paragraph about the change in |
| 4 |
the license from "LGPL 2.1 or later" to "GPL 3 or later." |
| 5 |
|
| 6 |
This file describes the adaptations to the glpk 4.44 sources |
| 7 |
that are needed to make them compatible with Praat. |
| 8 |
|
| 9 |
The .c and .h files are put into the single glpk directory. |
| 10 |
|
| 11 |
The #include statements are flattened, e.g. |
| 12 |
#include amd/amd.h becomes #include amd.h. |
| 13 |
|
| 14 |
The redefinition of SIZE_T_MAX in amd_internal.h is ifndef'ed out. |
| 15 |
|
| 16 |
In glpios09.c, char is changed to unsigned char in line 197. |
| 17 |
|
| 18 |
GLPK is a heavy namespace polluter. |
| 19 |
Because of a name clash with the C library in CodeWarrior |
| 20 |
("error" is a member of the FILE structure), |
| 21 |
I replaced the "error" macro with "mpl_error" in all glpmpl* files. |
| 22 |
|
| 23 |
Below are the announcements of the AMD and COLAMD libraries. |
| 24 |
Their licenses are LGPL 2.1 or later. Following Section 3 of |
| 25 |
the LGPL 2.1, Praat turns "LGPL 2.1 or later" into "GPL 3 or later". |
| 26 |
|
| 27 |
######################################################################## |
| 28 |
|
| 29 |
NOTE 1: The files named amd* are NOT part of the GLPK package, but |
| 30 |
are used with GLPK. |
| 31 |
|
| 32 |
The original code was modified according to GLPK requirements by |
| 33 |
Andrew Makhorin <[email protected]>. |
| 34 |
************************************************************************ |
| 35 |
AMD Version 2.2, Copyright (C) 2007 by Timothy A. Davis, |
| 36 |
Patrick R. Amestoy, and Iain S. Duff. All Rights Reserved. |
| 37 |
|
| 38 |
Description: |
| 39 |
|
| 40 |
AMD is a set of routines for pre-ordering sparse matrices prior to |
| 41 |
Cholesky or LU factorization, using the approximate minimum degree |
| 42 |
ordering algorithm. Written in ANSI/ISO C with a MATLAB interface, |
| 43 |
and in Fortran 77. |
| 44 |
|
| 45 |
Authors: |
| 46 |
|
| 47 |
Timothy A. Davis (davis at cise.ufl.edu), University of Florida. |
| 48 |
Patrick R. Amestoy, ENSEEIHT, Toulouse, France. |
| 49 |
Iain S. Duff, Rutherford Appleton Laboratory, UK. |
| 50 |
|
| 51 |
AMD License: |
| 52 |
|
| 53 |
Your use or distribution of AMD or any modified version of AMD |
| 54 |
implies that you agree to this License. |
| 55 |
|
| 56 |
This library is free software; you can redistribute it and/or |
| 57 |
modify it under the terms of the GNU Lesser General Public License |
| 58 |
as published by the Free Software Foundation; either version 2.1 of |
| 59 |
the License, or (at your option) any later version. |
| 60 |
|
| 61 |
This library is distributed in the hope that it will be useful, |
| 62 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 63 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 64 |
Lesser General Public License for more details. |
| 65 |
|
| 66 |
You should have received a copy of the GNU Lesser General Public |
| 67 |
License along with this library; if not, write to the Free Software |
| 68 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 |
| 69 |
USA. |
| 70 |
|
| 71 |
Permission is hereby granted to use or copy this program under the |
| 72 |
terms of the GNU LGPL, provided that the Copyright, this License, |
| 73 |
and the Availability of the original version is retained on all |
| 74 |
copies. User documentation of any code that uses this code or any |
| 75 |
modified version of this code must cite the Copyright, this License, |
| 76 |
the Availability note, and "Used by permission." Permission to |
| 77 |
modify the code and to distribute modified code is granted, provided |
| 78 |
the Copyright, this License, and the Availability note are retained, |
| 79 |
and a notice that the code was modified is included. |
| 80 |
|
| 81 |
AMD is available under alternate licences; contact T. Davis for |
| 82 |
details. |
| 83 |
|
| 84 |
Availability: |
| 85 |
|
| 86 |
http://www.cise.ufl.edu/research/sparse/amd |
| 87 |
|
| 88 |
|
| 89 |
######################################################################## |
| 90 |
|
| 91 |
NOTE 2: The files named colamd* are NOT part of the GLPK package, but |
| 92 |
are used with GLPK. |
| 93 |
|
| 94 |
The original code was modified according to GLPK requirements by |
| 95 |
Andrew Makhorin <[email protected]>. |
| 96 |
************************************************************************ |
| 97 |
COLAMD/SYMAMD Version 2.7, Copyright (C) 1998-2007, Timothy A. Davis, |
| 98 |
All Rights Reserved. |
| 99 |
|
| 100 |
Description: |
| 101 |
|
| 102 |
colamd: an approximate minimum degree column ordering algorithm, |
| 103 |
for LU factorization of symmetric or unsymmetric matrices, |
| 104 |
QR factorization, least squares, interior point methods for |
| 105 |
linear programming problems, and other related problems. |
| 106 |
|
| 107 |
symamd: an approximate minimum degree ordering algorithm for |
| 108 |
Cholesky factorization of symmetric matrices. |
| 109 |
|
| 110 |
Purpose: |
| 111 |
|
| 112 |
Colamd computes a permutation Q such that the Cholesky factorization |
| 113 |
of (AQ)'(AQ) has less fill-in and requires fewer floating point |
| 114 |
operations than A'A. This also provides a good ordering for sparse |
| 115 |
partial pivoting methods, P(AQ) = LU, where Q is computed prior to |
| 116 |
numerical factorization, and P is computed during numerical |
| 117 |
factorization via conventional partial pivoting with row |
| 118 |
interchanges. Colamd is the column ordering method used in SuperLU, |
| 119 |
part of the ScaLAPACK library. It is also available as built-in |
| 120 |
function in MATLAB Version 6, available from MathWorks, Inc. |
| 121 |
(http://www.mathworks.com). This routine can be used in place of |
| 122 |
colmmd in MATLAB. |
| 123 |
|
| 124 |
Symamd computes a permutation P of a symmetric matrix A such that |
| 125 |
the Cholesky factorization of PAP' has less fill-in and requires |
| 126 |
fewer floating point operations than A. Symamd constructs a matrix |
| 127 |
M such that M'M has the same nonzero pattern of A, and then orders |
| 128 |
the columns of M using colmmd. The column ordering of M is then |
| 129 |
returned as the row and column ordering P of A. |
| 130 |
|
| 131 |
Authors: |
| 132 |
|
| 133 |
The authors of the code itself are Stefan I. Larimore and Timothy A. |
| 134 |
Davis (davis at cise.ufl.edu), University of Florida. The algorithm |
| 135 |
was developed in collaboration with John Gilbert, Xerox PARC, and |
| 136 |
Esmond Ng, Oak Ridge National Laboratory. |
| 137 |
|
| 138 |
Acknowledgements: |
| 139 |
|
| 140 |
This work was supported by the National Science Foundation, under |
| 141 |
grants DMS-9504974 and DMS-9803599. |
| 142 |
|
| 143 |
License: |
| 144 |
|
| 145 |
This library is free software; you can redistribute it and/or |
| 146 |
modify it under the terms of the GNU Lesser General Public License |
| 147 |
as published by the Free Software Foundation; either version 2.1 of |
| 148 |
the License, or (at your option) any later version. |
| 149 |
|
| 150 |
This library is distributed in the hope that it will be useful, |
| 151 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 152 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 153 |
Lesser General Public License for more details. |
| 154 |
|
| 155 |
You should have received a copy of the GNU Lesser General Public |
| 156 |
License along with this library; if not, write to the Free Software |
| 157 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 |
| 158 |
USA. |
| 159 |
|
| 160 |
Permission is hereby granted to use or copy this program under the |
| 161 |
terms of the GNU LGPL, provided that the Copyright, this License, |
| 162 |
and the Availability of the original version is retained on all |
| 163 |
copies. User documentation of any code that uses this code or any |
| 164 |
modified version of this code must cite the Copyright, this License, |
| 165 |
the Availability note, and "Used by permission." Permission to |
| 166 |
modify the code and to distribute modified code is granted, provided |
| 167 |
the Copyright, this License, and the Availability note are retained, |
| 168 |
and a notice that the code was modified is included. |
| 169 |
|
| 170 |
COLAMD is also available under alternate licenses, contact T. Davis |
| 171 |
for details. |
| 172 |
|
| 173 |
Availability: |
| 174 |
|
| 175 |
The colamd/symamd library is available at: |
| 176 |
|
| 177 |
http://www.cise.ufl.edu/research/sparse/colamd/ |
| 178 |
|
| 179 |
References: |
| 180 |
|
| 181 |
T. A. Davis, J. R. Gilbert, S. Larimore, E. Ng, An approximate |
| 182 |
column minimum degree ordering algorithm, ACM Transactions on |
| 183 |
Mathematical Software, vol. 30, no. 3., pp. 353-376, 2004. |
| 184 |
|
| 185 |
T. A. Davis, J. R. Gilbert, S. Larimore, E. Ng, Algorithm 836: |
| 186 |
COLAMD, an approximate column minimum degree ordering algorithm, ACM |
| 187 |
Transactions on Mathematical Software, vol. 30, no. 3., pp. 377-380, |
| 188 |
2004. |