REST Endpoint: GET:rason.net/api/model/{nameorid}/status
A REST API endpoint that retrieves the status of the model previously submitted to GET/POST rason.net/api/model/{nameorid}/optimize,
GET/POST rason.net/api/model/{nameorid}/datamine, GET/POST rason.net/api/model/{nameorid}/decision, GET/POST rason.net/api/model/{nameorid}/diagnose,
GET/POST rason.net/api/model/{nameorid}/simulate or GET/POST rason.net/api/model/{nameorid}/solve.
Beginning with V2020, the following is tracked and reported:
- For standalone RASON/Excel models/stages – The current “message" is reported, similar to the ones reported in Analytic Solver's taskpane:
"Loading", "Parsing", "Diagnosing", "Solving", etc. with % progress, when available.
- For standalone RASON/Excel Optimization models/stages – Solving progress reported containing information on the elapsed time, incumbent
solutions, objective, etc. when available.
- For multi-stage flows – Completion status of each stage is reported. For the stage that is currently being solved, 1. and 2. (above) are
reported when available.
Note: Initially “status”: “Incomplete” could be reported due to initial model parsing, loading model into memory, etc. or when no message/progress
info is yet available or due to a lag in updating the Azure storage with the progress info. In order to avoid frequent table operations, this table
is updated every few seconds.
|