writeprob


Purpose
Write the current problem to a file.
Synopsis
procedure writeprob(fname:string, options:string)
procedure writeprob(fname:string, options:string, fnamed:string)
Arguments
fname 
Extended file name for the matrix
options 
String of options
fnamed 
Extended file name for the directives
Example
Load the current problem into the Optimizer and save it to file "mypb.mps" in MPS format with full precicion:
loadprob(myobj)
writeprob("mypb.mps","p")
Further information
This procedure writes the current problem held in the Optimizer to a file by calling the Optimizer function XPRSwriteprob and XPRSwritedirs if a file name for the directives is also specified. Note that the matrix written by this procedure may be different from the one produced by exportprob since it may include the effects of presolve or cuts generated by the Optimizer. For more detail on the options and behavior of this procedure, refer to the Xpress-Optimizer Reference Manual.
Related topics
exportprob, writedirs.
Module
mmxprs


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.