Encapsulates the solution to a lp_problem. More...
Public Member Functions | |
| bool | status () const |
| Check return status: true == success, false == failure. | |
| void | display (const char *msg=NULL) const |
| Display a status report using printf. | |
| StatusReport (const StatusReport &right) | |
Public Attributes | |
| ml_matrix | x |
| Solution vector. | |
| double | fVal |
| Final cost value achieved. | |
| ml_matrix | xConSlack |
| Slack variables for ... | |
| ml_matrix | xVarSlack |
| Slack variables for ... | |
| ml_matrix | xRelSlack |
| Slack variables for ... | |
| const char * | err |
| Error message. | |
If an optimal solution is found, err is NULL. Otherwise it provides a textural failure cause. Only if err is null are the solution vector, final value, and slack variables valid. The "display()" method provides a quick means to view the complete output.
Stores outputs from lp_problem.
1.7.2