Initializing help system before first use

# writeprob

Purpose
Writes the current problem to an MPS or LP file.
Synopsis
`writeprob(prob, filename = "", flags = "")`
Arguments

prob | The current problem.
filename | A string of up to MAXPROBNAMELENGTH characters to contain the file name to which the problem is to be written.
flags | Flags, which can be one or more of the following: output in a format compatible with CPLEX; o one element per line; n output the scaled problem; s scrambled vector names; l output in LP format; p output values in full precision (obsolete as this is now default behavior); t omit the Xpress header in LP or MPS format; v use the provided filename verbatim, without appending the .mps or .lp extension; z compress the output file.

Return value
The input argument prob.
Parent Topic R interface reference manual

© 2001-2026 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.