Using the nonlinear optimizer console-based interface
The nonlinear console is a data-driven console-based interface for operating Xpress NonLinear, an extension of the Xpress Optimizer console. The optimizer console switches to nonlinear is a valid nonlinear license is detected.
The example will use screen-based input and output. You can also put the commands into a file and execute it in batch mode, or use the embedded TCL scripting language.
Commands are not case-sensitive except where the case is important (for example, the name of the objective function). We shall use upper case for commands and lower case for the arguments which would change for other models. Each parameter in a command must be separated by at least one space from the preceding parameter or command.
optimizer |
This starts the optimizer program. This checks for the existence of the Xpress Optimizer DLLs. If you are using an OEM version of the Xpress DLL, you may need a special password or license file from your usual supplier.
READPROB polygon |
This reads a non-linear problem from the file polygon.mat.
MAXIM |
This form of the maximize command does a non-linear optimization with the default settings of all the parameters (it will recognise the problem as an SLP one automatically).
WRITEPRTSOL |
This will use the normal Xpress function to write to solution in a text form to a file with the same name as the input, but with a ".prt" suffix.
Q |
This (the abbreviation for the QUIT command) terminates the optimizer console program.
© 2001-2020 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.