# 18 List of examples¶

List of examples shipped in the distribution of Optimizer API for Python:

Table 18.1 List of distributed examples
File Description
blas_lapack.py Demonstrates the MOSEK interface to BLAS/LAPACK linear algebra routines
callback.py An example of data/progress callback
case_portfolio_1.py Implements a basic portfolio optimization model
case_portfolio_2.py Implements a basic portfolio optimization model
case_portfolio_3.py Implements a basic portfolio optimization model
cqo1.py A simple conic quadratic problem
feasrepairex1.py A simple example of how to repair an infeasible problem
lo1.py A simple linear problem
lo2.py A simple linear problem
milo1.py A simple mixed-integer linear problem
mioinitsol.py A simple mixed-integer linear problem with an initial guess
opt_server_async.py Uses MOSEK OptServer to solve an optimization problem asynchronously
opt_server_sync.py Uses MOSEK OptServer to solve an optimization problem synchronously
parameters.py Shows how to set optimizer parameters and read information items
production.py Demonstrate how to modify and re-optimize a linear problem
qcqo1.py A simple quadratically constrained quadratic problem
qo1.py A simple quadratic problem
response.py Demonstrates proper response handling
scopt1.py Shows how to solve a simple non-linear separable problem using the SCopt interface
sdo1.py A simple semidefinite optimization problem
sensitivity.py Sensitivity analysis performed on a small linear problem
simple.py A simple I/O example: read problem from a file, solve and write solutions
solutionquality.py Demonstrates how to examine the quality of a solution
solvebasis.py Demonstrates solving a linear system with the basis matrix
solvelinear.py Demonstrates solving a general linear system
sparsecholesky.py Shows how to find a Cholesky factorization of a sparse matrix

Additional examples can be found on the MOSEK website and in other MOSEK publications.