Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/build/pkgs/cddlib/SPKG.txt
8817 views
1
= cddlib =
2
3
== Description ==
4
The C-library cddlib is a C implementation of the Double Description
5
Method of Motzkin et al. for generating all vertices (i.e. extreme points)
6
and extreme rays of a general convex polyhedron in R^d given by a system
7
of linear inequalities:
8
9
P = { x=(x1, ..., xd)^T : b - A x >= 0 }
10
11
where A is a given m x d real matrix, b is a given m-vector
12
and 0 is the m-vector of all zeros.
13
14
The program can be used for the reverse operation (i.e. convex hull
15
computation). This means that one can move back and forth between
16
an inequality representation and a generator (i.e. vertex and ray)
17
representation of a polyhedron with cdd. Also, cdd can solve a linear
18
programming problem, i.e. a problem of maximizing and minimizing
19
a linear function over P.
20
21
== License ==
22
GPL v2
23
24
== SPKG Maintainers ==
25
* Marshall Hampton
26
* Volker Braun
27
28
== Upstream Contact ==
29
Komei Fukuda <[email protected]>
30
Institute for Operations Research
31
and Institute of Theoretical Computer Science
32
ETH Zentrum, CH-8092 Zurich, Switzerland
33
Tel +41-1-632-4023, Fax +41-1-632-1025
34
http://www.ifor.math.ethz.ch/staff/fukuda/
35
36
== Dependencies ==
37
* gmp (or its fork mpir)
38
39
== Special Update/Build Instructions ==
40
From clean upstream sources:
41
* remove directories doc, examples/*, src-mathlink/*, autom4te.cache
42
* Important - when recreating spkg, must make sure to first use hard links
43
See Trac 11245, where this caused it to fail on Cygwin:
44
Instructions from Dima Pasechnik, where of course foo = cddlib-vers
45
/* on a Unix, with good tar: */
46
$ tar xjf foo.spkg
47
$ tar chjf foo.spkg foo/
48
$ tar xjf foo.spkg
49
$ sage -spkg foo
50
51
== Changelog ==
52
53
=== cddlib-094f.p11 (Jeroen Demeyer, 13 February 2012) ===
54
* Trac #12501: refresh autogenerated files using the
55
patches/refresh_autogenerated.sh script.
56
57
=== cddlib-094f.p10 (Karl-Dieter Crisman, 1st July 2011) ===
58
* Changed to hard links so that the package would build on Cygwin
59
See Trac 11245
60
61
=== cddlib-094f.p9 (Simon King, 10th Dec 2011) ===
62
* #12131: Use --libdir, to make the package work on openSUSE.
63
64
=== cddlib-094f.p8 (Volker Braun, 21th Sept 2010) ===
65
* Add command line option to cdd_both_reps to optionally skip
66
adjacency computations.
67
* Include a simple random number generator (taken from the GNU C
68
library) to ensure the same output ordering on different platforms,
69
see http://trac.sagemath.org/sage_trac/ticket/9926
70
71
=== cddlib-094f.p7 (Volker Braun, 7th June 2010) ===
72
* Rewrite of configure.ac and Makefile.am's
73
Now ./configure --with-gmp=<path> works.
74
* I added a script patches/refresh_autogenerated.sh that explains how
75
to update the autotools output.
76
* allfaces.c now gone for good, nobody used it.
77
78
=== cddlib-094f.p6 (Volker Braun, 20th April 2010) ===
79
* use Sage's gmp/mpir libraries, not /usr/local in Automake.am
80
81
=== cddlib-094f.p5 (David Kirkby, 25th February 2010) ===
82
* #8363 Remove pointless check for mpir, which is breaking on Solaris.
83
mpir is built long before cddlib (50 packages earlier), so its
84
hard to see why it should be checked. In any case, the dependancy
85
is already in spkg/standard/deps.
86
* Allow a 64-bit build on any platform, not just OS X by resolving the
87
usual use of SAGE64 which currently only works on OS X.
88
89
=== cddlib-094f.p4 (Volker Braun, Minh Van Nguyen, January 29th, 2010) ===
90
* renamed patches/cdd_both_reps-makefiles.patch -> patches/automake.patch
91
* added check for required mpir (aka GMP) to spkg-install
92
* added spkg-check
93
* corrected src/patching, see
94
http://trac.sagemath.org/sage_trac/ticket/8115 and
95
http://groups.google.com/group/sage-devel/browse_thread/thread/e599fd37de909264
96
* removed CFLAGS settings in spkg-install, not required.
97
98
=== cddlib-094f.p3 (Volker Braun, January 26th, 2010) ===
99
* libtool-ized
100
After implementing the changes, I found that tabbott proposed a
101
similar patch to the automake files earlier:
102
http://sagetrac.org/sage_trac/ticket/3304
103
* renamed configure.in -> configure.ac (preferred usage)
104
105
=== cddlib-094f.p2 (Volker Braun, Marshall Hampton, Alex Ghitza, January 25th, 2010) ===
106
* patch cdd_both_reps.c
107
* remove dist/
108
* clean up SPKG.txt
109
* updated makefiles and regenerated configure scripts
110
Note: For future reference, patches/cdd_both_reps-makefiles.patch
111
shows the changed automake-sources. This is already applied to src/
112
113
=== cddlib-094f (Sebastien Barthelemy, January 26th, 2009) ===
114
* using upstream version 094f
115
116
=== cddlib-094b.p3 (Michael Abshoff, September 22nd, 2008) ===
117
* add Solaris x86[-64] build support
118
119
=== cddlib-094b.p2 (Michael Abshoff, May 18th, 2008) ===
120
* add 64 bit support on OSX
121
122
=== ??? (Michael Abshoff, November 11th, 2007) ===
123
* add -L$SAGE_LOCAL/lib to CFLAGS to force linking against Sage's gmp
124
(issue reported by Justin Walker)
125
126
127