int sym_get_status(sym_environment *env)
This post-solution query routine is used to learn the termination status of the solution procedure.
sym_environment *env | IN | Pointer to the SYMPHONY environment. |
ERROR__USER | Error. User error detected in one of |
user_send_lp_data(), | |
user_send_cg_data(), | |
user_send_cp_data(), | |
user_receive_feasible_solution(), | |
user_display_solution(), | |
user_process_own_messages() functions. | |
TM_OPTIMAL_SOLUTION_FOUND | Tree Manager (TM) found the optimal solution and stopped. |
TM_TIME_LIMIT_EXCEEDED | TM stopped after reaching the predefined time limit. |
TM_NODE_LIMIT_EXCEEDED | TM stopped after reaching the predefined node limit. |
TM_TARGET_GAP_ACHIEVED | TM stopped after achieving the predefined target gap. |
TM_FOUND_FIRST_FEASIBLE | TM stopped after finding the first feasible solution. |
TM_ERROR__NO_BRANCHING_CANDIDATE | Error. TM stopped. User didn't select branching candidate in user_select_candidates() callback |
TM_ERROR__ILLEGAL_RETURN_CODE | Error. TM stopped after getting an invalid return code. |
TM_ERROR__NUMERICAL_INSTABILITY | Error. TM stopped due to some numerical difficulties. |
TM_ERROR__COMM_ERROR | Error. TM stopped due to communication error. |
TM_ERROR__USER | Error. TM stopped. User error detected in one of user callbacks called during TM processes. |