getprobstat
getprobstat |
Purpose
Synopsis
function getprobstat:integer
Return value
Status of the last problem solved:
NL_OPT
|
|
NL_UNF
|
|
NL_INF
|
|
NL_UNB
|
|
NL_OTH
|
Example
The following procedure displays the current problem status:
procedure print_status declarations status: string end-declarations case getprobstat of NL_OPT: status:="Solved" NL_UNF: status:="Unfinished" NL_INF: status:="Infeasible" NL_UNB: status:="Unbounded" NL_OTH: status:="Failed" else status:="???" end-case writeln("Problem status: ", status) end-procedure
Further information
More detailed information than what is provided by this function can be obtained with function
getparam, retrieving the solver status value in
NL_status.
Related topics
Module