Initializing help system before first use

WriteSol Method (String, String)

Writes the current solution to a CSV format ASCII file, problem_name .asc (and .hdr).

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

Parameters

filename
Type:  System.String
A string of up to MAXPROBNAMELENGTH characters containing the file name to which the solution is to be written. If omitted, the default problem_name will be used. The extensions .hdr and .asc will be appended.
flags
Type:  System.String
Flags to control which optional fields are output:
  • s: sequence number;
  • n: name;
  • t: type;
  • b: basis status;
  • a: activity;
  • c: cost (columns), slack (rows);
  • l: lower bound;
  • u: upper bound;
  • d: dj (column; reduced costs), dual value (rows; shadow prices);
  • r: right hand side (rows).
If no flags are specified, all fields are output.
Additional flags:
  • p: outputs in full precision;
  • q: only outputs vectors with nonzero optimum value;
  • x: output the current LP solution instead of the MIP solution;
  • z: compress the output file.
Remarks
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.