XPRSwriteprtrange
|
WRITEPRTRANGE
|
Purpose
Writes the ranging information to a
fixed format ASCII file,
problem_name.rrt. The binary range file (
.rng)
must already exist, created by
XPRSrange (
RANGE).
Synopsis
int XPRS_CC XPRSwriteprtrange(XPRSprob prob);
WRITEPRTRANGE
Argument
prob
|
The current problem.
|
Related Controls
Integer
|
Number of lines between page breaks.
|
Double
|
Zero tolerance on print values.
|
Example 1 (Library)
The following example solves the LP problem and then calls XPRSrange (RANGE) before outputting the result to file for printing:
XPRSreadprob(prob, "myprob", "");
XPRSmaxim(prob, "");
XPRSrange(prob);
XPRSwriteprttange(prob);
Example 2 (Console)
An equivalent set of commands for the Console user would be:
READPROB
MAXIM
RANGE
WRITEPRTRANGE
Further information
1. (
Console) There is an equivalent command
PRINTRANGE which outputs the same information to the screen. The format is the
same as that output to file by
XPRSwriteprtrange (
WRITEPRTRANGE), except that the
user is permitted to enter a response after each screen if further output is required.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.