9 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. 8 (MOSEK API tutorial) is easier and more natural.

  • Sec. 9.1 (Single-call synchronous)

    • problem submission and optimization with one REST API call,

    • retrieving the solver log.

  • Sec. 9.2 (Synchronous)

    • problem submission,

    • solving and retrieving the result,

    • retrieving the solver log.

  • Sec. 9.3 (Asynchronous)

    • problem submission,

    • solving,

    • 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. 10.1 (OptServer REST API).