ampl_version
Report AMPL server build, versions, licence tier, and installed solvers to diagnose unexplained modelling problems, particularly demo licence limits.
Instructions
Report server build, AMPL versions, licence tier and installed solvers.
Requires no session. Call this first when anything is unexplained: a demo licence solves small models happily and fails only on larger ones, with an error that reads like a modelling problem.
amplpy_version is always reported. ampl_version is the AMPL engine's
own version banner, which only a live engine can be asked for: it is
None when no session is running (the key is still present, so the
result shape does not change depending on whether a session happens to
exist). Call ampl_init_session first if you need it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||