OutputHandler¶
- 
class ampl::OutputHandler¶
- Implement this interface to handle the outputs from the calls to any function that causes the underlying AMPL interpreter to display a message. - Note that errors and warnings are not passed through this interface, see ampl::ErrorHandler for more information. 
- 
enum ampl::output::Kind¶
- Represents the type of the output coming from the interpreter - Values: - 
WAITING¶
- Output - prompt2, returned when incomplete statements are interpreted.
 - 
BREAK¶
- Output - break, displayed when an operation is interrupted with SIGINT.
 - 
CD¶
- Output - cd, returned by the- cdfunction.
 - 
DISPLAY¶
- Output - display, returned by the- displayfunction.
 - 
EXIT¶
- Output - exit, returned as last message from AMPL before exiting the interpreter.
 - 
EXPAND¶
- Output - expand, returned by the- expandfunction.
 - 
LOAD¶
- Output - load, returned by the- loadfunction when loading a library.
 - 
OPTION¶
- Output - option, returned by the- optionfunction when getting the value of an option.
 - 
PRINT¶
- Output - print, returned by the- printfunction when printing values from AMPL command line.
 - 
PROMPT¶
- Output - prompt1, normal AMPL prompt.
 - 
SOLVE¶
- Output - solve, returned by the- solvefunction, contains the solver message.
 - 
SHOW¶
- Output - show, returned by the- showfunction.
 - 
XREF¶
- Output - xref, returned by the- xreffunction.
 - 
SHELL_OUTPUT¶
- Output of the AMPL command - shell
 - 
SHELL_MESSAGE¶
- Messages from the command - shell
 - 
MISC¶
- Output - misc
 - 
WRITE_TABLE¶
- Messages from the command - write table
 
-