# 18 List of examples¶

List of examples shipped in the distribution of Optimizer API for .NET:

File | Description |
---|---|

`blas_lapack.cs` |
Demonstrates the MOSEK interface to BLAS/LAPACK linear algebra routines |

`callback.cs` |
An example of data/progress callback |

`case_portfolio_1.cs` |
Implements a basic portfolio optimization model |

`case_portfolio_2.cs` |
Implements a basic portfolio optimization model with efficient frontier |

`case_portfolio_3.cs` |
Implements a basic portfolio optimization model with market impact costs |

`cqo1.cs` |
A simple conic quadratic problem |

`feasrepairex1.cs` |
A simple example of how to repair an infeasible problem |

`lo1.cs` |
A simple linear problem |

`lo1.vb` |
A simple linear problem |

`lo2.cs` |
A simple linear problem |

`milo1.cs` |
A simple mixed-integer linear problem |

`mioinitsol.cs` |
A simple mixed-integer linear problem with an initial guess |

`opt_server_async.cs` |
Uses MOSEK OptServer to solve an optimization problem asynchronously |

`opt_server_sync.cs` |
Uses MOSEK OptServer to solve an optimization problem synchronously |

`parameters.cs` |
Shows how to set optimizer parameters and read information items |

`production.cs` |
Demonstrate how to modify and re-optimize a linear problem |

`qcqo1.cs` |
A simple quadratically constrained quadratic problem |

`qo1.cs` |
A simple quadratic problem |

`response.cs` |
Demonstrates proper response handling |

`scopt1.cs` |
Shows how to solve a simple non-linear separable problem using the SCopt interface |

`sdo1.cs` |
A simple semidefinite optimization problem |

`sensitivity.cs` |
Sensitivity analysis performed on a small linear problem |

`simple.cs` |
A simple I/O example: read problem from a file, solve and write solutions |

`solutionquality.cs` |
Demonstrates how to examine the quality of a solution |

`solvebasis.cs` |
Demonstrates solving a linear system with the basis matrix |

`solvelinear.cs` |
Demonstrates solving a general linear system |

`sparsecholesky.cs` |
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.