Initializing help system before first use

exportnl

Purpose
Save the NL file.
Synopsis
procedure exportnl(filename:string, obj:linctr)
procedure exportnl(filename:string, nlobj:nlctr)
Arguments
filename 
Name of the output file; if empty, output is printed to standard output (console)
obj 
Linear objective function
nlobj 
Nonlinear objective function
Example
The following example saves a problem with the nonlinear objective function Obj to the file prob1.nl, it then switches to ASCII format for displaying the problem on screen :
uses "nlsolv"
declarations
 Obj:nlctr
end-declarations
 ...

exportnl("prob1", Obj)
setparam("nl_binary", false)
exportnl("", Obj)
Further information
This procedure exports the current problem to a file, or if no file name is given (empty string ""), prints it on screen. If the given filename has no extension, nlsolv appends .nl to it.
Module

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