Initializing help system before first use

command

Purpose
Execute an Optimizer command or enter interactive mode of the Optimizer.
Synopsis
procedure command(cmd:string)
procedure command
Argument
cmd 
Command or sequence of commands separated by "\n" character
Example
Solve a problem and then enter interactive mode:
command("minim")
command 
Further information
1. When used without parameter, this procedure enters an interactive mode of the Optimizer similar to the console mode: model execution is suspended and Optimizer commands can be typed directly. Model execution resumes after command quit has been typed or the input stream has reached an end of file. Using the alternate form of the procedure with an argument, one can send a command (or sequence of commands) to the Optimizer: this may be useful to execute commands for which there is no mmxprs interface.
During the execution of this procedure, callbacks set up in the model are effective and the problem solution status of mmxprs is updated upon termination. Note that, commands altering the problem must be avoided (like readprob, change of name of the problem, etc.) in order to preserve consistency between Mosel and Optimizer representations of the problem.
2. When Mosel is running in restricted mode (see Section mosel command: restricted mode), the restriction NoExec disables this routine.
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.