Initializing help system before first use

writesol

Purpose
Writes the current solution to a CSV format ASCII file, problem_name .asc (and .hdr).
Synopsis
writesol(prob, filename = "", flags = "")
Arguments
prob 
The current problem.
filename 
A string of up to MAXPROBNAMELENGTH characters containing the file name to which the solution is to be written.
flags 
Flags to control which optional fields are output:
s
sequence number;
If no flags are specified, all fields are output.Additional flags:
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).
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.
Return value
The input argument prob.

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