ampl_diagnose
Retrieve the last solve's status, message, and violated constraints to explain infeasible or unbounded results and avoid guesswork.
Instructions
Explain the last solve: status, message, and violated constraints.
Call this after an infeasible or unbounded result rather than guessing at the model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||