totally monotone matrix
a matrix
is totally monotone if for every
such that
,
and
, we also have
.
[cite:;taken from @graph_klein_2024 chapter 8.1 total monotonicity and the monge property]
/home/mahmooz/brain/pen/1735760658.297685.xopp
[cite:;taken from @graph_klein_2024 chapter 8.1 total monotonicity and the monge property]
a matrix
is convex monge (concave monge) if for every
such that
, we have
(
). it is immediate that if
is convex monge then it is totally monotone. it is also easy to see that the matrix obtained by transposing
is also totally monotone.
[cite:;taken from @graph_klein_2024 chapter 8.1 total monotonicity and the monge property]
[cite:;taken from @graph_klein_2024 chapter 8.1 total monotonicity and the monge property]
we define the upper triangle of
to be the elements of
on or above the main diagonal. more precisely, the upper triangle of
is the portion
of
. similarly, the lower triangle of
consists of all the elements on or below the main diagonal of
.
we will be interested in computing all column minima of a monge matrix
. let
denote the number of rows (or columns) of
, and assume
has the convex monge property. for a subset
of the rows of
, the lower envelope of the rows
of
is the real-valued function
on the integers in
defined by
(the minima of each column
restricted to rows
).
we focus our attention on finding the breakpoints of the lower envelope of
, since, given the breakpoints, all column minima can be recovered in
time. lem-sssp-1 suggests the following procedure for finding the breakpoints of the lower envelope of a convex monge matrix
. the procedure maintains the lower envelope of an increasingly larger prefix
of the rows of
. initially
consists of just the first row of
, and the breakpoints of
are just
and
. let
be the non-trivial breakpoints of the lower envelope of the first
rows of
, ordered such that
. note that, by lem-sssp-1, this implies
. to obtain the breakpoints of the lower envelope of the first
rows of
, the procedure compares
and
for increasing values of
, until it encounters an index
such that
. by lem-sssp-1, and by the definition of breakpoints, this implies that
rows of
consists of a suffix of the breakpoints of
starting at
plus, perhaps, a new breakpoint
for some
. the exact column
where the new breakpoint occurs can be found by binary search for the largest column
such that
.
we summarize the procedure in the following theorem.
let
be a convex monge matrix. for any subset
of the rows of
, the function
is monotonically non-increasing.
[cite:;taken from @graph_klein_2024 lemma 8.1.2]
[cite:;taken from @graph_klein_2024 lemma 8.1.2]
suppose
. then, for
,
. since
is convex monge,
. therefore, for
,
, so
.
a breakpoint of
is a pair of integers
such that
and
(the row
contains the minima of column
but not
). for
, we always consider
to be a breakpoint of
. for notational convenience we also consider the pair
as a trivial breakpoint. if
are the breakpoints of the lower envelope of
, ordered such that
, then the minimum elements in each column in the range
is at row
.
/home/mahmooz/brain/pen/1736007524.1316235.xopp
we focus our attention on finding the breakpoints of the lower envelope of
- for all
,
, and
- for all
,
.
we summarize the procedure in the following theorem.
there exists a procedure that computes the breakpoints of the lower envelope of a
-by-
convex Monge matrix in
time.
[cite:;taken from @graph_klein_2024 theorem 8.1.3]
[cite:;taken from @graph_klein_2024 chapter 8.1.2 finding all column minima of a monge matrix][cite:;taken from @graph_klein_2024 theorem 8.1.3]