Initializing help system before first use

XPRSwriteprtrange (WRITEPRTRANGE)

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
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", "");
XPRSlpoptimize(prob, "");
XPRSrange(prob);
XPRSwriteprttange(prob);
Example 2 (Console)
An equivalent set of commands for the Console user would be:
READPROB
LPOPTIMIZE
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.
2. The fixed width ASCII format created by this command is not as readily useful as that produced by XPRSwriterange ( WRITERANGE). The main purpose of XPRSwriteprtrange ( WRITEPRTRANGE) is to create a file that can be printed. The format of this fixed format range file is described in Appendix Log and File Formats.
Related topics

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.