(Internal) Check whether solution is optimal
isSolutionOptimal
is an internal function for checking whether a solution is optimal.
isSolutionOptimal(status, solver)
status
: status code returned by the solver function.solver
: solver name.isSolutionOptimal
returns TRUE
or FALSE
.