F500: Linear Homogeneous Inequalities

Author(s): K.S. Kölbig, F. Schwarz Library: MATHLIB
Submitter: Submitted: 01.07.1979
Language: Fortran Revised: 01.12.1994

Subroutine subprograms RLHOIN and DLHOIN find the basis tex2html_wrap_inline143 , of the convex polyhedral cone defining the solution of a system of homogeneous linear inequalities tex2html_wrap_inline145 . tex2html_wrap_inline147 is a given tex2html_wrap_inline149 matrix, tex2html_wrap_inline151 , and rank tex2html_wrap_inline153 . tex2html_wrap_inline155 is a column vector. Any solution x of tex2html_wrap_inline157 can be expressed as

displaymath159

where all tex2html_wrap_inline161 . The number J of vectors tex2html_wrap_inline165 depends on the matrix A in an unknown way, except when M=N, where J=N.

On CDC and Cray computers, the double-precision version DLHOIN is not available.

Structure:

SUBROUTINE subprogram
User Entry Names: RLHOIN, DLHOIN
Obsolete User Entry Names: LIHOIN tex2html_wrap_inline171 RLHOIN
Files Referenced: Unit 6
External References:
RVCPY,RVMPY,RVSCL,
DVCPY,DVMPY,DVSCL,
RMCPY,RMSET,DMCPY, DMSET,
RINV, DINV, MTLMTR,ABEND

Usage:

For tex2html_wrap_inline173 (type REAL), tex2html_wrap_inline175 (type DOUBLE PRECISION),

    CALL tLHOIN(A,MA,M,N,MAXV,V,NV,JVEC,EPS,IOUT,W,IW)
A
(type according to t) Two-dimensional array, dimensioned tex2html_wrap_inline177 , whose rows contain the coefficients of the inequalities, arranged in such a way that the upper left tex2html_wrap_inline179 corner has a non-vanishing determinant. Usually it is advisable to normalise the rows of A to unity before calling this subprogram.
MA
(INTEGER) First dimension parameter of A.
M
(INTEGER) Number M of inequalities.
N
(INTEGER) Number N of variables.
MAXV
(INTEGER) Maximum number of basis vectors which may occur at any intermediate step, to be chosen sufficiently large and in any case tex2html_wrap_inline185 .
V
(type according to t) Two-dimensional array, dimensioned tex2html_wrap_inline187 , whose columns contain, on return, the basis vectors tex2html_wrap_inline189 of the solution cone.
NV
(INTEGER) First dimension parameter of tex2html_wrap_inline191 .
JVEC
(INTEGER) Number J of basis vectors of the final cone.
EPS
(type according to t) A small parameter which discriminates small quantities against zero, chosen to take into account the accuracy of the machine used.
IOUT
(INTEGER)
tex2html_wrap_inline195 Gives no intermediate printout,
tex2html_wrap_inline197 Gives, for each iteration, the basis vectors of the respective cone, the matrix of scalar products and the index of the inequality taken into account in the next step.
W
(type according to t) Two-dimensional array, dimensioned tex2html_wrap_inline199 , used as working space.
IW
(INTEGER) Two-dimensional array, dimensioned tex2html_wrap_inline201 whose columns serve as book-keepers for certain properties of the system during the iteration procedure.

Method:

The Motzkin-Burger procedure is used to obtain the solution iteratively. Ref. 1 should be consulted before using this subprogram.

Restrictions:

The routine may fail if the matrix A is "ill-conditioned" in a certain sense.

Notes:

A given system of linear homogenous inequalities may have no solution.

Error handling:

Error F500.1: tex2html_wrap_inline203 too small.
Error F500.2: Upper left tex2html_wrap_inline205 corner of A is singular.
Error F500.3: Inequality k is inconsistent.
In all cases, a message is written on Unit 6, unless subroutine MTLSET (N002) has been called.

References:

  1. K.S. Kölbig and F. Schwarz, A program for solving systems of homogeneous linear inequalities. Computer Phys. Comm. 17 (1979) 375-382.
tex2html_wrap_inline207

Michel Goossens Wed Jun 5 05:54:22 METDST 1996