On entry: the maximum number of iterations allowed.
8: – Integer arrayWorkspace
9: – Integer arrayWorkspace
10: – IntegerOutput
On exit: the number of iterations performed.
11: – Integer arrayOutput
On exit: , for , contains the source indices of the optimal solution (see k11).
12: – Integer arrayOutput
On exit: , for , contains the destination indices of the optimal solution (see k11).
13: – Integer arrayOutput
On exit: , for , contains the optimal quantities which, sent from source to destination , minimize .
14: – Integer arrayOutput
On exit: , for , contains the unit cost associated with the route from source to destination .
15: – Real (Kind=nag_wp)Output
On exit: the value of the minimized total cost.
16: – 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, the sum of the availabilities does not equal the sum of the requirements.