7 REST API tutorials¶
This section contains tutorials for the OptServer REST API. Note that this should not be necessary in typical applications, where invoking the OptServer directly through the MOSEK API as discussed in Sec. 5.3 (With or without the MOSEK API) is easier and more natural. Examples of that usage can be found in the manual for the respective Optimizer API (C, .NET, Python, Java) or Fusion API (C++, .NET, Python, Java).
Synchronous optimization tutorial
solving and retrieving the result,
retrieving the solver log.
Asynchronous optimization tutorial
checking if the solution is available,
retrieving the solver log in chunks,
retrieving the solution,
stopping the solver.
A complete reference for the REST API can be found in Sec. 9.1 (OptServer REST API).