![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
Module Name: oslnslv
8 IBM Corp. 1995, 1997. All rights
reserved.
Purpose: To solve Linear Network Programming problems
Usage: oslnslv ["?"] [-keyword=value] [...] [@keyword_file]
keyword_file: Name of file containing "-keyword=value" strings.
Each "-keyword=value" string in this file must be on a separate line.
Valid Keywords and Default Values:
Maxmin = min|max - default: min
Input = input_mps_file - default: standard input
Output = listing_file - default: standard output
Dspace = value - default: 400000
Isolmask =v alue - default: 0
Iprtinfomask = value - default: 31
inbasis = in_basis_file - default: null
outbasis = out_basis_file - default: null
imaxiter = value - default: 9999999
osli_n_ = value - default: a function of n
oslr_n_ = value - default: a function of n
oslc_n_ = value - default: a function of n
Explanation of Keywords:
maxmin : Solve as a maximization or minimization problem.
input : Name of file containing input data - MPS format.
output : Name of file to receive OSL messages.
dspace : Size in double words of OSL work area.
isolmask : Matrix bit mask for EKKPRTS print function.
= 1 : selects the rows
= 2 : selects the columns
= 4 : selects the nonzero elements of the model
= 8 : selects the infeasible elements of the model
= 15 or 0 or 16 : selects the entire matrix
iprtinfomask : Solution information bit mask for EKKPRTS print function.
= 1 : selects the statistics
= 2 : selects iteration count, value of the objective
function and the problem status
= 4 : selects the names of the columns and rows
= 8 : selects the status of each variable
= 16 : selects the row and column solution values
= 32 : selects the dual values and reduced costs
= 64 : selects the lower bounds
= 128 : selects the upper bounds
= 256 : selects the input costs
= 512 : selects the matrix elements
= 0 : selects all of first six options (same as 63).
inbasis : Name of file containing an input basis to be used by EKKBASI.
outbasis : Name of file containing an output basis created by EKKBASO.
imaxiter : The maximum number of iterations that OSL will perform.
osli_n_ : OSL Integer Control variable n; 0 < n < 62
oslr_n_ : OSL Real Control variable n; 0 < n < 46
oslc_n_ : OSL Character Control variable n; 0 < n < 11
See the library User's Guide for more information on Control variables.
Example 1
oslnslv "?"
This command results in the usage information and display of valid
keywords, their meanings along with the default values.
Example 2
oslnslv -imaxiter=20000 < test1.mps > test1.out
The oslnslv program is started using test1.mps as input data. Output
is directed to the file test1.out. The program will stop after 20000 iterations.
Example 3
If the file key_file.001 contains the following 4 lines:
maxmin=max
imaxiter=20000
isolmask=7
osli_36_=132
then the command:
oslnslv -dspace=1000000 @key_file.001 < test1.mps > test1.out
will start oslnslv with a work area of 1 million double words. The problem is solved as a maximization problem. The program will stop after 20000 iterations. The ekkprts() print function will select only non-zero columns and rows. The maximum number of characters on each line of output is 132.
Example 4
The command:
oslnslv -dspace=1000000 @key_file.001 -input=test1.mps -output=test1.out
is equivalent to:
oslnslv -dspace=1000000 @key_file.001 < test1.mps > test1.out
oslnslv USAGE NOTES
1. If oslnslv is having difficulty with a problem, then you should
increase the size of OSL work area using the "dspace" keyword and try solving
the problem again.
System Requirements
The installation instructions in the download package include System Requirements.
![]() ![]() ![]() ![]() ![]() |