Skip to content

Commit d160a90

Browse files
committed
Update to lrslib v7.1a
1 parent 78601f8 commit d160a90

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

deps/build.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Libdl
33

44
@BinDeps.setup
55

6-
lrslib_commit = "d8b723a2c315614979a8354f9e768d273d14a215"
6+
lrslib_commit = "ab1a5313a54a6d9aadcaa2f2e8523856f747f7e1"
77
#lrsname = "lrslib-061"
88
lrsname = "lrslib-$lrslib_commit"
99
lrsnashname = "lrsnashlib-$lrslib_commit"

deps/makefile.osx.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- makefile.orig 2018-07-03 13:37:36.000000000 +0900
22
+++ makefile 2019-01-20 12:17:48.000000000 +0900
3-
@@ -204,7 +204,7 @@ SHLIBBIN=lrs-shared redund-shared lrsnas
3+
@@ -193,7 +193,7 @@ SHLIBBIN=lrs-shared lrsnash-shared
44
# Building (linking) the shared library, and relevant symlinks.
55

66
${SHLIB}: ${SHLIBOBJ}

src/lrstypes.jl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ mutable struct Clrs_dic # dynamic dictionary data
4848
end
4949

5050
mutable struct Clrs_dat # global problem data
51+
redineq::Clong # holds indices of rows for redundancy check
52+
Ain::Clrs_mp_matrix # used only in redund to hold input matrix
5153
Gcd::Clrs_mp_vector # Gcd of each row of numerators
5254
Lcm::Clrs_mp_vector # Lcm for each row of input denominators
5355
output::Clrs_mp_vector # One line of output dimensioned to n
@@ -60,12 +62,14 @@ mutable struct Clrs_dat # global problem data
6062
unbounded::Clong # lp unbounded
6163
fname::Clrs_fname # input file name from line 1 of input
6264

63-
inequality::Ptr{Clong} # indices of inequalities corr. to cobasic ind
6465
# initially holds order used to find starting
6566
# basis, default: m,m-1,...,2,1
6667
facet::Ptr{Clong} # cobasic indices for restart in needed
6768
redundcol::Ptr{Clong} # holds columns which are redundant
69+
inequality::Ptr{Clong} # indices of inequalities corr. to cobasic ind
6870
linearity::Ptr{Clong} # holds cobasic indices of input linearities
71+
remain::Ptr{Clong}
72+
startcob::Ptr{Clong}
6973
minratio::Ptr{Clong} # used for lexicographic ratio test
7074
temparray::Ptr{Clong} # for sorting indices, dimensioned to d
7175
isave::Ptr{Clong}
@@ -110,17 +114,22 @@ mutable struct Clrs_dat # global problem data
110114
cest7::Clong
111115
cest8::Clong
112116
cest9::Clong # ests: 0=rays,1=vert,2=bases,3=vol,4=int vert
117+
nextineq::Clong
113118
#*** flags **********
114119
allbases::Clong # TRUE if all bases should be printed
115120
bound::Clong # TRUE if upper/lower bound on objective given
116121
countonly::Clong # TRUE if only count totals should be output
117122
debug::Clong
118123
dualdeg::Clong # TRUE if start dictionary is dual degenerate
119124
etrace::Clong # turn off debug at basis # strace
125+
extract::Clong
120126
frequency::Clong # frequency to print cobasis indices
121127
geometric::Clong # TRUE if incident vertex prints after each ray
122128
getvolume::Clong # do volume calculation
123129
givenstart::Clong # TRUE if a starting cobasis is given
130+
giveoutput::Clong
131+
verifyredund::Clong
132+
noredundcheck::Clong
124133
homogeneous::Clong # TRUE if all entries in column one are zero
125134
hull::Clong # do convex hull computation if TRUE
126135
incidence::Clong # print all tight inequalities (vertices/rays)
@@ -129,8 +138,10 @@ mutable struct Clrs_dat # global problem data
129138
maximize::Clong # flag for LP maximization
130139
maxoutput::Clong # if positive, maximum number of output lines
131140
maxcobases::Clong # if positive, after maxcobasis unexplored subtrees reported
141+
messages::Clong
132142
minimize::Clong # flag for LP minimization
133143
mindepth::Clonglong # do not backtrack above mindepth
144+
mplrs::Clong
134145
nash::Clong # TRUE for computing nash equilibria
135146
nonnegative::Clong # TRUE if last d constraints are nonnegativity
136147
polytope::Clong # TRUE for facet computation of a polytope

0 commit comments

Comments
 (0)