The routine may be called by the names h02bvf or nagf_mip_ilp_print.
h02bvf prints the solution to a linear or integer programming problem with user-supplied names for the rows and columns. All output is written to the current advisory message unit (as defined by x04abf). The routine must be preceded in the same program by calls to h02buf and either
e04mff/e04mfa (if an LP problem has been solved) or
h02bbfandh02bzf (if an IP problem has been solved). The documents for e04mff/e04mfa,h02buf and/or h02bbfandh02bzf should be consulted for further details.
IBM (1971) MPSX – Mathematical programming system Program Number 5734 XM4 IBM Trade Corporation, New York
1: – IntegerInput
On entry: the number of variables, as returned by h02buf.
2: – IntegerInput
On entry: the number of general linear constraints, as returned by h02buf.
3: – Real (Kind=nag_wp) arrayInput
Note: the second dimension of the array a
must be at least
if and at least if .
On entry: the matrix of general linear constraints, as returned by h02buf.
4: – IntegerInput
On entry: this must be the same argument maxm as supplied to h02buf.
On entry: the Lagrange-multipliers (reduced costs) for each constraint with respect to the working set, as returned by e04mff/e04mfaorh02bzf.
9: – Integer arrayInput
On entry: the status of every constraint in the working set at the solution, as returned by e04mff/e04mfaorh02bzf.
10: – Character(8) arrayInput
On entry: the user-defined names for all the variables and constraints, as returned by h02buf.
11: – IntegerInput/Output
On entry: ifail must be set to , or to set behaviour on detection of an error; these values have no effect when no error is detected.
A value of causes the printing of an error message and program execution will be halted; otherwise program execution continues. A value of means that an error message is printed while a value of means that it is not.
If halting is not appropriate, the value or is recommended. If message printing is undesirable, then the value is recommended. Otherwise, the value is recommended. When the value or is used it is essential to test the value of ifail on exit.
On exit: unless the routine detects an error or a warning has been flagged (see Section 6).
6Error Indicators and Warnings
If on entry or , explanatory error messages are output on the current error message unit (as defined by x04aaf).
Errors or warnings detected by the routine:
On entry, and .
On entry, .
On entry, .
An unexpected error has been triggered by this routine. Please
See Section 7 in the Introduction to the NAG Library FL Interface for further information.
Your licence key may have expired or may not have been installed correctly.
See Section 8 in the Introduction to the NAG Library FL Interface for further information.
Dynamic memory allocation failed.
See Section 9 in the Introduction to the NAG Library FL Interface for further information.
8Parallelism and Performance
h02bvf is not thread safe and should not be called from a multithreaded user program. Please see Section 1 in FL Interface Multithreading for more information on thread safety.
h02bvf makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the Users' Note for your implementation for any additional implementation-specific information.