Initializing help system before first use

WriteProb Method (String, String)

Writes the current problem to an MPS or LP file.

Namespace:   Optimizer
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.01
Syntax
C#
public void WriteProb(
	string filename,
	string flags
)

Parameters

filename
Type:  System.String
A string of up to MAXPROBNAMELENGTH characters to contain the file name to which the problem is to be written. If omitted, the default problem_name is used with a .mps extension, unless the l flag is used in which case the extension is .lp.
flags
Type:  System.String
Flags, which can be one or more of the following:
  • 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 format;
  • v: use the provided filename verbatim, without appending the .mps or .lp extension;
  • z: compress the output file.
Remarks
This function is used in the following examples:
  • LoadLP
  • TSP
See Also

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