getprobstat
PurposeSynopsisfunction getprobstat:integer
Return valueStatus of the problem currently held in the Optimizer:
XPRS_OPT XPRS_UNF XPRS_INF XPRS_UNB XPRS_OTH ExampleThe following procedure displays the current problem status:procedure print_status declarations status: string end-declarations case getprobstat of XPRS_OPT: status:="Optimum found" XPRS_UNF: status:="Unfinished" XPRS_INF: status:="Infeasible" XPRS_UNB: status:="Unbounded" XPRS_OTH: status:="Failed" else status:="???" end-case writeln("Problem status: ", status) end-procedureFurther informationMore detailed information than what is provided by this function can be obtained with function getparam, retrieving the problem attributes XPRS_presolvestate, XPRS_lpstatus, and XPRS_mipstatus (see the Xpress-Optimizer Reference Manual).Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.